Entering content frameFunction documentationReceiving Order Changes by EDI (SD-SLS) Locate the document in its SAP Library structure


In this EDI scenario, you receive and process order changes sent by a customer from an R/3 Purchasing system.




You can receive and process order changes in your system only on the basis of an existing order.


To process incoming order changes, you need to make all of the necessary settings in Customizing for Basis. There are no special settings for Sales and Distribution.

IDoc Interface

Define the EDI partner profile for your partner (transaction WE20) by entering the following data in the header and detail screen for inbound parameters:



Partner type

KU (customer); if the IDoc is sent from an R/3 system via tRFC (in a typical case with ALE scenarios), enter LS for logical system!

Message type


Process code



Process immediately

Allowed Agents

Enter an R/3 user or an organizational unit, for example.



This graphic is explained in the accompanying text

Inbound Processing

The IDoc interface receives the IDoc and reviews its control record. According to this record and the corresponding partner profile, the IDoc is transferred to the function module IDOC_INPUT_ORDCHG in Sales and Distribution. The ALE services are called.

The system processes the IDoc in the background, using the data records in the IDoc to determine the relevant order.

If processing is successful, the system updates the sales order. The IDoc is sent back to the IDoc interface which updates the status records in the IDoc.

Exception Handling

If it cannot determine an order, or if an error occurs in processing, the system determines the relevant agent(s) and sends a workitem to the integrated inbox(es). An agent can pick up the workitem to process the IDoc or simply end processing.

To display an IDoc for order changes, choose Environment ® Display facsimiles in the order. The system displays a dialog box of object links where you can choose Linked IDocs.

Leaving content frame