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

P.O. to S.O. Scenario ALE IDOC

Hi Friends,

I am working on Purchase order to sales order scenario using ALE IDoc , I am able to do that but I am stuck up with one problem,

The Sender will send P.O. with some Ship-to-Party partner number but that number is not maintained in receivers end.So it gives error as Ship-to -Party is frequently changing.

So wts the procedure to solve this problem.

Thanks & Regards,

Brijesh Soni

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 04:27 PM

    you can check the ship to in the user exit during posting the SO, if its not available you can either clear the ship to or check with your business what should be the exact functionality when the ship to is not maintained in the system.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 08, 2008 at 08:49 PM

    Hello Soni

    If you are lucky your customer sends the ILN (= international location number) as Ship-to-Party number. In this case you need to define the mapping ILN -> SAP customer in table EDPAR. In addition, you need to define in table EDSDC which is the default sales area for this customer.

    Both tables are customizing tables which you will find in the IMG (transaction SPRO) at the path Sales & Distribution -> Electronic Data Interchange -> EDI Partner

    The ILN is worldwide unique. However, if you have a customer (like we have) which sends his internal partner numbers then you can do the same EDI customizing (EDPAR & EDSDC) but you may run into trouble as soon as another customer uses similar partner numbers.

    Since we receive EDI purchase order via SAP-XI we add a customer-specific prefix to the partner number which makes them unique again in our ERP system.


    1) Customer sends PO with Ship-to-Party = 9000
    2) We map it on SAP-XI to Ship-to-Party = WOC9000 (maintained in EDPAR and EDSDC)
    3) When we send the invoice as EDI message we revert the mapping on SAP-XI, i.e. delivery party WOC9000 -> 9000



    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.