Skip to Content
author's profile photo Former Member
Former Member

Inbound Idoc Create/Change Purchase Order

Hi All,

I have to do a inbound Idoc scenario for create as well as change Purchase Order.

Which is the IDoc type for Create/Change purchase order.

I went through this form found that ORDERS05 can be used but I am not sure this can be used for both create as well change Purchase Order.

If ORDERS05 can be used then which is Process code,Function Module and Message type for both create and change Purchase order.

I also found that IDoc type PORDCR102 can be used for create Purchase order and PORDCH02 can be used for change Purchase order,but i don't want to use two Idoc types.

Please suggest.

Thanks in advance.

Regards,

John

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2008 at 03:31 AM

    Hi John,

    Have you checked this IDOC type "PORDCR101".

    Mohinder

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 12, 2008 at 05:11 AM

    You can use the IDOC type ORDERS05,

    Process code is BAPI

    These Functions will be called in the Background

    IDOC_INPUT_PORDCH for change

    IDOC_INPUT_PORDCR1 for creation

    Add a comment
    10|10000 characters needed characters exceeded

    • when you use BAPI , BAPI_IDOC_INPUT1 will be triggered from Process code.

      inside the BAPI function it will call respective functions for create or change message types.

      see the table TBDBE for linkage

      Process code is BAPI.

      for change ..

      BAPI_IDOC_INPUT1

      PORDCH01

      PORDCH

      for creation.

      BAPI_IDOC_INPUT1

      PORDCR01

      PORDCR

      if you dont want to use them then you have to link ORDERS05 ,PORDCH and BAPI

      ORDERS05 ,PORDCR and BAPI , for this you need to maintain EDIMSG and VEDIEDIFCT.

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2008 at 10:30 AM

    Hi John,

    For creating a IDoc for PO, whenever a PO is created/Changed, it has to be configured in Parter Profile(WE20) for a particular Partner in Outbound Paramtrs tab.

    Give ORDERS05 in Message Type and select the line & go to Display.

    In the screen which appears , choose tab Message Control and give the Process code

    ME10 - Creation of PO

    ME11 - Changes to PO & check the Change Message.

    Give respective Output Message Type & Application(VF) for PO.

    Create Output types for a vendor in T.Code MN04, else take help from MM Consultant.

    Create a PO & save. Then make some changes in Po & again save.

    Now IDoc will be created while saving the Po & IDocs will be created whenver you make changes to PO and saving it.

    Hope It helps.

    Regards,

    Anbalagan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hey John,

      Mine is also same scenario as I am getting an IDOC from 4.6C VERSION server to ECC as Inbound IDOC so I need to change the PO in ECC 6.0 so I am using PORDCH and ORDERS05 and process Code BAPI in ecc as it is my inbound sytem

      I was trying to re-process through WE19 so I am getting errors like

      - Instance of the object type purchase order could not be changed

      - Docuement Does not exist.

      I am really appreciate your help in this regard.

      Thanks

      Nishanth

  • Posted on Sep 04, 2008 at 07:16 AM

    Hello John

    For a special business scenario we are creating purchase orders in a given SAP client, send them as ORDERS.ORDERS05 IDocs to SAP-XI which does some mapping and then returns an ORDERS.ORDERS05 IDoc to the same client where it creates the sales order corresponding to the PO.

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 16, 2016 at 06:09 PM

    If your using IDOC type : PORDCR1 the net price condition should be populated with CHANGE_ID 'U" instead of "I"

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.