Idoc creation for ORDERS5 (purchase order to sd order)

Hi,
I'm trying to get an idoc out of the PO but without success. I'm pretty new to idoc handling in SAP.
In processing log of the PO messages I see the following:
OK: Object 4500000213
OK: Output type: Purchase order
OK: Processing log for program RSNASTED routine ALE_PROCESSING
ERROR: No partner profiles (message control) maintained
The description gives me the following hint, but I have no Idea what to do.
Diagnosis
No IDOC partner profiles have been created for the message control for for application EF, condition key Z40B and change message '' with partner type 'LS' and partner role '  '.
Procedure
Please create the partner profiles for the logical system that should contain the IDOC. You can either generate them from the ALE model or create them manually.
Kind regards and thank you for help!
Florian

Hello Indu,
I created two partner profiles but still receive that message above:
Partner No: 999999
Partner Type: LI
Outbound parameters: ORDERS
Outbound Options
Message type: ORDERS
Receiver port: A0000000006
Pack. size: 1
Basic type: ORDERS05
Message Control
Application: EF
Message type: Z40B
Process code: ME10
Partner No: XXXCLNT100
Partner Type: LS
Inbound parameters: ORDERS
Inbound Options
Message type: ORDERS
Process code: ORDE
Kind Regards,
Florian

Similar Messages

  • Debugging EDI output (IDOC creation) for purchase order...

    Hi,
    We have a EDI output type defined for Purchase order. When I go to Messages tab in ME22N transaction and repeat the EDI output and save it, it creates a IDOC which I can see using transaction WE02.
    Now the problem is there is a user exit which I know gets triggered, when the IDOC is created for this PO. When we do some changes in this user exit, I see those changes are reflected when new IDOC is created. But if I put breakpoint, and do repeat output -> save, the debugger does not stop there.
    Is there is some technique I can see the breakpoint stoppage in user exit for IDOC creation during EDI output for Purchase order ?
    Regards,
    Rajesh

    Hi
    Youc can set the output Peridoically (After Giving the output type, set the furthere data as periodic).
    Save.
    Set the break point in your user exit.
    Go to se 38 -> Run RSNAST00,
    Give the object id (Your PO #)
    Give the output type  and execute, the control will stop at break point.
    Regards,
    Baburaj

  • FM / BAPI Inbound delivery creation for a Purchase Order without material

    Dear All,
    I have a requirement to create a Inbound Delivery for a Purchase order without material number. The Purchase Order has only Material text and no material number. Please let me know a BAPI or FM to create inbound delivery in this case where there is no material defined on PO. I require BAPI / FM  since I have to make a web-service for the same.
    Thanks in advance!
    Abhishek

    Hi I did a coding in one of the userexit. If ekpo-matnr is empty then fill
    KOMDLGN-UMVKZ = 1
    KOMDLGN-UMVKN = 1
    KOMDLGN-MEINS = EKPO-MEINS
    This parameters i.e. Qty conversion are necessary and since MATNR does not exists it has to be filled.

  • How do I turn off  IDoc creation for ME22N ?

    Hello ... I have just set up the EDI interface to create IDoc ORDERS05 when a Purchase Order is created (ME21N) and it seems to be working fine.  But the system also seems to be trying to create an IDoc when PO's are changed with ME22N resulting in error "EDI: Partner profile outbound process code not available
    Message no. E0335" in Messages.  I don't want an IDoc for changed PO's.  How do I turn this off?  Thank you.

    Try to turn off the change pointers in the SALE Transaction and check.
    Here is the path,
    SALE--> Modelling and Implementing Business Processes --> Master Data Distribution --> Replication of Modified Data --> Activate Change Pointers for Message Types --> Then select the message type ORDERS and De select the Active checkbox.
    Hope it helps.
    Thanks,
    Srinivas

  • Idoc numbers for a certain output in Sales Orders

    I have more than hundred Sales Order
    One EDI output was triggered (with a unique partner type) from each of these Sales Orders.
    How to find idoc numbers for all these Sales Order for this particular output?
    I tried WE09 giving Segment and field with value....two issues with this. first is it is not working for me...not records found.
    Secondly It take one value at a time. I can't do this for every Sales Order
    Is there any database table or something else to find these idocs?
    Thanks a lot!

    Hi,
    if this special partner type is the partner type of the IDoc receiver, then you can search for relevant IDocs in transaction WE02.
    If you need a partner type out of the sales order data, then it is stored in table EDID4 "IDoc Data Records".

  • Automatic PO creation for Service Purchase Order

    Dear friends , good afternoon !
    Is it possible to create Service PO's automatically via ME59 ?
    We tried to flag on the automatic PO generation in the vendor master , and assign an vendor master to the purchase requisition but no PO was triggered.
    Does anyone knows the way to make it possible ?
    best regards,
    Ale

    HI,
    You can not create Service PO with ME59N.
    Problem is that you can not maintain info record(ME11) for Services because of their consumble in Nature.
    It is STD SAP functionality.
    Although You can maintain info record for material with out Material Master but it not in case of Services.
    Hope Clear U !
    Regards,
    Pardeep malik

  • IDoc creation on save and change of production order

    I am looking for a way to create, and send if possible (if not I'll send with a batch job), on the save (creation and change) of production orders.  This will be a modified LOIPRO iDoc.  Currently we have a customer exit on the save of the production order but because it is before the save we must predict the number of the prod order.  This has worked but now we are creating one production order per line item in a sales order (automatically) so this is causing us to predict the same production order number twice.  We need a way to automatically create and send an iDoc for all production orders for given plants.  Right now the solution we are looking at is creating an output type and running through those output types a few times a day, sending them down to the Shop Floor system (proprietary system). 
    Is there anything setup in SAP that we can utilize?
    Regards,
    Davis

    Hi Rick,
    Follow the below sample steps for changing component quantity:
    DATA:
        l_methods TYPE bapi_alm_order_method,
        it_boperations TYPE STANDARD TABLE OF  bapi_alm_order_operation_e WITH HEADER LINE,
        it_components TYPE STANDARD TABLE OF bapi_alm_order_component_e WITH HEADER LINE,
        it_components1 TYPE STANDARD TABLE OF bapi_alm_order_component WITH HEADER LINE.
    1. Call BAPI :BAPI_ALM_ORDER_GET_DETAIL , it will give existing order component details.
    CALL FUNCTION 'BAPI_ALM_ORDER_GET_DETAIL'
        EXPORTING
          number        = <production order number>
        TABLES
          et_operations = it_boperations
          et_components = it_components
          return        = it_bapiret2.
    2. Move it_components to components table compatibel to BAPI "BAPI_ALM_ORDER_MAINTAIN".
    LOOP AT it_components.
    MOVE-CORRESPONDING it_components TO it_components1.
    _*"Note here while moving change the component quantity"*_
    APPEND it_components1.
    CLEAR it_components1.
    ENDLOOP.
    3. Build the methods table for change production order :
    it_methods-refnumber = v_refnumber.
                it_methods-objecttype = 'COMPONENT'.
                it_methods-method = 'CHANGE'.
                it_methods-objectkey = v_objectkey.
                APPEND it_methods.
    "Note v_refnumber has 1 to 1 relation ship with the components table, if you want to change First component in it_components1 then you have to enter value '1' here for v_refnumber.
    it_methods-method = 'SAVE'.
            APPEND it_methods.
    4 . Call
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
              TABLES
                it_methods   = it_methods
                it_component = it_components1
                return       = it_bapiret2.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

  • Restrict Sales Order Creation for Serial Numbers already in Sles Order/Sold

    We have recently implemented variant configuration and usage of serial numbers.
    Facing some problems because of this.
    1. If a Material is in Stock e.g Material xyz and serial number 123
    System allows us to create sales order and Deliver and Invoice Serial number 124.
    I have activated Indicator: Serial Number Existence Requirement thru OIS2. However it solves only part of my problem.
    If for Material xyz serial number 123 is in stock but serial number 124 has also been created and assigned to material xyz but not in stock, then system allows me to create sales order, delivery and billing for material xyz and serial number 124.
    When I check MMBE I see zero stock when I click on serial number I see serial 123, which is inconsistent.
    How to ensure that such a situation does not happen?
    Also I do not want the system to create a sales order for a material for which sales order has been created.
    e.g. for material xyz and serial 1234 if sales order exists then system should not allow creation of another sales order for the same combination.
    However in case of consignment orders the system should allow only the logical transactions like consignment fill up or consignment returns.
    Please help.
    Regards
    Rajkumar Reddy

    Hi
    This is nothing but Creating Roles  and assigning the respective authorizations to the Roles  for giving the access to the related Tcodes
    This has to be done by basis people
    using the Transactions
    PFCG
    SU21
    SUIM
    such that every user can not create the sales order or change it.
    Reward points if useful
    Regards
    Anji

  • Shipment document creation for normal purchases(With out delivery)

    Dear Friednds,
    I Have one scanario in my project, which is belongs to transportation module:
    The client will raise the PO to vendor. The vendor will delivery the goods to my  client.
    But client will do the MIGO. thst is goods receipt.
    Thats all, no inbound delivery. Now i want to capture that shipment costs in SAP.
    How to do that.
    I have few more scenarios like this:
    1. Goods movements from transportation location to plants; How to captire the ship.cots with out shipment document.
    2. Goods movements from one Storage lo9cation to another storage location.
    At present,the client just raising the service PO to Forwarding agent. Now we need to capture those shipment and ship.cost docuemnts in SAP.
    Please any body let it solve.
    With regards
    Lakki

    Hi Lakki,
    These are the User Exits available in the shipment cost calculation please try with these,
    V54B0001  Shipment costing: Configure pricing                   
    V54B0003  Shipment Costs Calculation: Determine Rate Type and Cur
    V54B0004  Shipment Cost Calculation: Determine Status           
    V54C0001  Shipment costing: Description(s) shipement cost item(s)
    V54C0002  Shipment costing: Create shipment cost sub-items      
    V54C0003  Shipment Costs Processing: Determine Invoicing Party  
    V54C0004  Shipment Costs Processing: Determine Loc. for Tax Invoi
    V54D0001  Shipment Costing: Determining the Tax Countries       
    V54KSFRC  Determining the factors for apportionment of shipment c
    V54P0001  Extended Function Codes for Shipment Cost Information 
    V54U0001  Shipment cost processing: Check whether changes made  
    V54U0002  Check shipment costs for completion                   
    V54U0003  Specification of shipment cost number                 
    V54U0004  Formatting for update of new objects (shipment costs) 
    V54U0005  Updating new objects in shipment cost processing      
    V54U0006  Shipment Purchase Order - Header Data Supply          
    V54U0007  Shipment Purchase Order - Item Data Supply            
    I hope it will help you
    Regards,
    Murali.

  • Idoc creation for infotype PA006

    Hi All,
    i am developing idoc for infotype pa0000, paooo1,pa0002,paoo03 and pa0006.
    Data is inserting for first three info type but for infotype pa006 (address data), data is not inserted/updated in database but idoc status is : aplication data posted(here i am not giving object id for E1PITYP)
    but if i will  give object id for E1PITYP then i am getting idoc status as aplication data partially posted and idoc status number is 52 with description  :  Object 01 ,P ,00000010 does not exist: infotype 0006 cannot be created
    i have given all appropriate information
    Pls advice
    Thanks
    Santosh

    Hi srini,
    i have already  given subtype as 1 (permanat adress)
    i have given all information
    but i am getting said error.
    regards
    santosh

  • Blocking IDOC creation for Incomplete SO/STOs

    this comes under enhancements
    this is for idocs
    Message was edited by:
            vamsi krishna

    Hi,
    Try like this
    Go to transactions WE82 and WE20 and delete  the entry corresponding to mesage type and idoc type.
    No need to deactivate the change pointers after doing this.
    BR,
    Lokeswari.

  • SAP IS Retail Outbound Idoc Creation for New Articles

    Hi SAP Gurus,
    Good day!
    I would like to inquire if you are familiar with the necessary set up to create OUTbound Idocs to be sent to POS whenever a new article is created. I have already activated the Change Pointers for the Message Types for IS Retail via BD50. However, this did not solve the issue. I have an existing material which ably triggers the idoc change;however, when I try accessing the materials I created recently, no idocs are created.
    Your help is most appreciated.
    Best regards,

    Hi,
    Check in WE20 partner profiles > customer type KU - Customer > choose your store number > under outbound parameters all relevant message type must defined
    Look at the following links for more details:
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    http://allian.uclv.net/saphelp/helpdata/EN/50/94f500470e11d1894a0000e8323352/frameset.htm
    Hope you got answer
    regards
    Satish

  • Output type for IDOC creation

    Hi Sapgurus,
    Can anybody help as per below.
    Client has third party interface system from which they access stock data from SAP system to front end system.They required stock quantity.As per below transaction I have to create output type for IDOC creation for below t codes.Pls guide for creating output type.
    Note: Consider as per MM point of view.Output type is not for printout,It is for IDOC to display stock at front end system.
    MB1C u2013  Inward + Outward (As per movement types)
    MB1B u2013  Inward + Outward (As per movement types)
    VL02N - Inward + Outward (As per Delivery types (Inbound & Outbound))
    VL06G - Outward
    VL09 -   Inward + Outward (As per Delivery types (Inbound & Outbound)
    MB0A u2013 Inward
    MB01 u2013 Inward
    MBST u2013 Reversal of Inward stock

    Hi,,
    Check the below  idoc WMIVID01
    "IDoc for Inventory"" in help.sap.com
    regards,
    Lalita

  • Creation of  production campaign and deletion of orders from campaign

    Hi APO Gurus,
    This is regarding campaign creation for a set or group of orders.
    I have a group of orders in a z table, I want to create a campaign in PP/DS by using Heuristic : /sapapo/heur_pcm_create.
    Can I do this without going to DS board, Simply by calling the above given function module in a z program?
    Similarly , in another table if I have a set of orders , which are already part of a campaign.
    Can I remove those orders from the Campaign by using heuristic : /SAPAPO/HEUR-PCM_Dissolve , without going to DS Board.
    Waiting for your valuable suggestions.
    Regards,
    Ravi

    Resolved .

  • Change pointers and Idoc creation

    Hello,
    I would like to create change pointers for any changes regarding one of our customer infotypes: 9002 (hrp9002)
    I was able to do that, however, I'm struggeling with the details.
    The problem is that I do not want to send any data related to infotype 9002. I just need this change pointer to trigger idoc creation for the related objects.
    Example: Let's assume that infotype 9002 gets created for position S 40001234. Once a night a customer report is executed via a job which reads all unprocessed change pointers (including the one mentioned above) and sends the corresponding object. In this case, an Idoc for the holder of position 40001234 should be created WITHOUT data for infotype 9002.
    The message type is HRMD_A.
    What do I need to do?
    Thank you for your input.

    Hi,
    For Info type 9002 we need to implement Badi HRALE00CHANGE_PTRS using below code.
       LOOP AT  t_changed_objects  INTO   wa_changed_objects .
        CASE  wa_changed_objects-infty.
          WHEN '9002'.
            wa_cp_data-tabname = 'HROBJINFTY'.
            wa_changed_objects-plvar = '01' .
            wa_cp_data-tabkey  = wa_changed_objects .
            wa_cp_data-cdchgid = 'U'.
    *  wa_cp_data-CDOBJCL = 'HRMD_A'.
            APPEND wa_cp_data TO t_cp_data1 .
        ENDCASE.
      ENDLOOP.
      IF t_cp_data1 IS NOT INITIAL .
        CALL FUNCTION 'CHANGE_POINTERS_CREATE_DIRECT'
          EXPORTING
            message_type          = 'HRMD_A'
          TABLES
            t_cp_data             = t_cp_data1
          EXCEPTIONS
            number_range_problems = 1
            OTHERS                = 2.
        IF sy-subrc <> 0.
    * Implement suitable error handling here
        ENDIF.
      ENDIF.
    This code will create entry in BDCP2 table.
    After thsi populating segemnet you need to code for below exit as .
    EXIT_SAPLRHAL_003
       IF PNNNN_NAME = 'P9002' .
    *FIELD-SYMBOLS: <FS_plog> TYPE ANY.   "Field Symbol for dynamic filling of data based on the structure
    *Clearing the SUBRC
    CLEAR SUBRC.
    * fill workarea for infotype with infotype-data
    ASSIGN pnnnn_data TO <FS_plog> CASTING TYPE P9002.
    LS_9002 = <FS_plog>.
    * move fields
    MOVE-CORRESPONDING LS_9002 TO LS_p9002.
    * fill IDoc-data with workarea for segmenttype
    ASSIGN sdata_data TO <FS_plog> CASTING TYPE Z1P9002.
    <FS_plog> = LS_P9002.
    CONVERTED = ZCDP_IF_CONSTANTS_DTIRIS=>GC_CROSS .
    ENDIF.
    It will work fine.
    Thanks
    Anju

Maybe you are looking for

  • Notes in a contact in OUtlook are no longer synched with my contacts on iphone

    Hi I noticed recently that the notes that I make about a person in their contact in Outlook is no longer synched with the Iphone. Does anybody know if there is a way to make this synch again?

  • Query with a hidden key figure

    I would like to build a query which will include just one key figure which will be hidden is this possible?  Thanks

  • How to write it in ABAP?

    I wish to delete all those records from my internal table where bktxt <> 'UP' or 'up'. How will I write it in ABAP? pls suggest. Regards, Alok.

  • Entity validation across multiple pages

    Hi, I have an entity that spans multiple pages and are wondering how I can get the entity validation to work one page at a time. Currently if I have mandatory attributes that are not shown until the second page I receive errors from the first page st

  • Icloud does not appear in the system preferences

    I am trying to set up my devices to sync together....when I go to system preferences Icloud does not appear even though I have an account and my iphone and i pad have it activated..how do I get I cloud onto my macbook....."mobilme comes up" but I can