cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

uwe_schieferstein
Active Contributor
0 Kudos

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.

Example:

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

Regards

Uwe

Former Member
0 Kudos

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.

Rajeev