Skip to Content

Sales x Purchase IDocs

Hi experts,

I have an interface running which sends Sales Order Data from SAP to SQL DB (ORDERS05) online.

I received a request to pull out also purchase data from SAP and push it into the same SQL DB, in different tables.

I tried to figure out which IDoc might be used for this purpose and realized that the same IDoc ORDERS05 can be used for both, Sales data and Purchase data.

Can anyone confirm whether this is correct or not? If not, which one is supposed to be used to achieve that for purchasing data?

If this is correct, can anyone give me some light on how I should configure to have both running online and SENDING data to external system?

I still don't imagine Purchase and Sales Order running in the same IDoc.

Is there any field which identifies the business type (Purchase or Sales Order) or, how am I going to differentiate them?

I really appreciate your suggestions.

Thank you.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 12, 2011 at 06:52 PM

    Does anyone has any suggestion?

    I followed this material:

    [http://w w w . saptechnical . com/Tutorials/ALE/AutoIDOCGen/AutomaticIDocGeneration1 . htm]

    however, in the step 11, the pop up doesn't show the last option Purchasing Organization, so I cannot complete it. Until there, everything was configured accordingly.

    I've also used thread below to guide me through the steps to configure Change Pointers to ORDERS message type of ORDERS05 IDoc. Although it seems to be well configured, when changing a PO in ME22N, no IDocs are NOT being generated.

    Auto Trigger DEBMAS IDoc for a customer change

    I appreciate all your help.

    Edited by: rvsilvax on Jul 12, 2011 9:33 PM

    Add a comment
    10|10000 characters needed characters exceeded

    • I've configured Partner Profiles with:

      Partner Type LS

      Output Options tab:

      Msg Type = ORDERS

      Corresponding Rec. Port

      Pack Size = 1

      Out. Mode = 2 (Transfer Imed.)

      IDoc Basic Type = ORDERS05

      Message Control tab:

      App = EF

      Msg type = NEU

      Process Code = ME10

      Change msg flag = ' '

      With the same configs (with different Message Control configs, of course) the Sales Order Outbound IDoc is being sent.

      Why does this one for Purchase is not being sent to destination?

      Please advice.

      POINTS WILL BE AWARDED

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.