A shipper can use this integration scenario to carry out transportation planning synchronously in SAP Transportation Management (SAP TM) during sales order processing in SAP ERP. This enables the transportation situation to be taken into account when calculating feasible dates and quantities for sales order items.
You can find the TM_ERPSalesOrderScheduling integration scenario in the Enterprise Services Repository in the SAPTM IC software component in the http://sap.com/xi/TMS/Global/IC namespace.
For more information about configuration and prerequisites, see the documentation of the corresponding service interfaces:
Intracompany Transportation Requesting Out outbound service interface in the Sales Order Processing process component
Intracompany Transportation Requesting In inbound service interface in the Transportation Request Processing process component
The integration scenario comprises the following synchronous communication steps between an SAP ERP system and an SAP TM system in the same company:
Simulate Sales Order in Transportation Management System
While creating, changing, or rescheduling a sales order in sales order processing in SAP ERP, a shipper triggers sales order scheduling for the sales order items. SAP ERP sends the sales order data to SAP TM and requests the simulation of an order-based transportation requirement (OTR) and the related planning activities.
Simulate ERP Sales Order
When SAP TM receives the sales order data, it creates a temporary OTR, triggers transportation planning, and returns the planning results to SAP ERP. When SAP ERP receives the results of the simulation, it updates the schedule lines of the sales order accordingly.
For more information, see the following:
The documentation of the Simulate Transportation Request (IntracompanyTransportationRequestSimulateRequestConfirmation_In) synchronous inbound operation in the Transportation Request Processing process component.