Show TOC

Process documentationTM_ERPOrderIntegration Locate this document in the navigation structure

 

Orders and deliveries in SAP ERP can be transferred to SAP Transportation Management (SAP TM) and saved there as transportation requirements. These transportation requirements can then be used as the basis for further transportation activities (for example, planning). In addition, SAP TM can propose deliveries that can be created in SAP ERP.

Prerequisites

In the Enterprise Services Repository, the TM_ERPOrderIntegration integration scenario is in the SAPTM IC software component in the http://sap.com/xi/TMS/Global/IC namespace.

For more information about configuration and prerequisites, see Configuring Integration of Orders and Deliveries.

Process

The integration scenario comprises the following asynchronous communication steps between an SAP ERP system and an SAP TM system in the same company.

Send SAP ERP Order to SAP TM
  1. Send Sales Order to Transportation Management System / Send Customer Return to Transportation Management System / Send Purchase Order to Transportation Management System

    When a sales order, returns order, or purchase order is created, changed, or canceled in the SAP ERP system, SAP ERP sends the order to SAP TM. The same applies to stock transport orders, returns purchase orders, and returns stock transport orders.

    Note Note

    The documents are only sent to SAP TM if the SAP ERP system has been configured accordingly (in particular, with respect to the corresponding document types). For more information about the required settings, see Configuring Integration of Orders and Deliveries.

    End of the note.
  2. Import Order from SAP ERP

    SAP TM creates, changes, or cancels an order-based transportation requirement (OTR) based on the request received from SAP ERP. Based on the OTRs, freight units can be created in SAP TM and transportation planning can be carried out. The results of transportation planning can then also form the basis of the creation of delivery proposals.

    For more information, see Integration of ERP Orders and Deliveries in Transp. Planning.

Send Delivery Proposal to SAP ERP (Outbound Delivery)
  1. Send Outbound Delivery Proposal (as Bulk)

    SAP TM creates delivery proposals and sends them to SAP ERP to request the creation of the corresponding deliveries. In this step, multiple delivery proposals may be grouped into a bulk message to enable joint transmission, and to ensure that the delivery proposals are processed in the correct sequence and with sufficient levels of performance.

    For more information, see Creation of ERP Deliveries from SAP TM.

  2. Create Outbound Delivery (as Bulk)

    SAP ERP creates one or more outbound deliveries based on the delivery proposals received from SAP TM. SAP ERP might split the proposed deliveries (for example, based on additional split criteria defined in SAP ERP).

    SAP ERP sends a bulk confirmation to SAP TM, which contains individual confirmations for each delivery proposal in the bulk request that was received from SAP TM. If SAP ERP cannot process the complete request, an error is triggered in SAP ERP.

  3. Receive Outbound Delivery Bulk Confirmation

    SAP TM receives the bulk confirmation from SAP ERP and creates an entry in the application log. The application log entry includes the system messages that were created in SAP ERP during delivery creation, as well as the total number of deliveries created in SAP ERP and the ID of each delivery. If an error occurred during delivery creation in SAP ERP, SAP TM generates an alert.

    When a confirmation is received, SAP TM sets a confirmation timestamp in the relevant freight units. The timestamp is used to monitor whether SAP ERP has responded. For more information, see Monitoring of Delivery Creation.

Send Delivery Proposal to SAP ERP (Inbound Delivery)
  1. Send Inbound Delivery Proposal

    SAP TM creates delivery proposals and sends them to SAP ERP to request the creation of the corresponding deliveries. Note that inbound delivery proposals are sent using single messages; unlike outbound delivery proposals, which are sent using bulk messages.

    For more information, see Creation of ERP Deliveries from SAP TM.

  2. Create Inbound Delivery

    SAP ERP creates one or more inbound deliveries based on the delivery proposals received from SAP TM. SAP ERP might split a proposed delivery (for example, based on additional split criteria defined in SAP ERP).

    SAP ERP sends a confirmation to SAP TM. If SAP ERP cannot process the complete request, an error is triggered in SAP ERP.

  3. Receive Inbound Delivery Confirmation

    SAP TM receives the confirmation from SAP ERP and creates an entry in the application log. The application log entry includes the system messages that were created in SAP ERP during delivery creation, as well as the total number of deliveries created in SAP ERP and the ID of each delivery. If an error occurred during delivery creation in SAP ERP, SAP TM generates an alert.

    When a confirmation is received, SAP TM sets a confirmation timestamp in the relevant freight units. The timestamp is used to monitor whether SAP ERP has responded. For more information, see Monitoring of Delivery Creation.

Send SAP ERP Delivery to SAP TM
  1. Send Outbound Delivery to Transportation Management System / Send Inbound Delivery to Transportation Management System

    When an outbound delivery or inbound delivery is created, changed, or canceled in the SAP ERP system, SAP ERP sends the delivery to SAP TM.

    Note Note

    The execution of this step does not depend on delivery creation having been triggered by a delivery proposal received from SAP TM. For example, this step can also be carried out if the delivery was created manually in SAP ERP. For more information, see Integration of ERP Deliveries.

    Outbound deliveries and inbound deliveries are sent to SAP TM only if the SAP ERP system has been configured accordingly (in particular, with respect to the corresponding delivery types). For more information about the required settings, see Configuring Integration of Orders and Deliveries.

    End of the note.
  2. Import Delivery from SAP ERP

    SAP TM creates, changes, or cancels a delivery-based transportation requirement (DTR) based on the request received from SAP ERP. When SAP TM creates the DTR, the DTR consumes the transportation demand of the corresponding order-based transportation requirement or requirements, if applicable. That is, SAP TM determines the corresponding OTR items and reassigns the freight units to the DTR.

    For more information, see Integration of ERP Orders and Deliveries in Transp. Planning.

Split Outbound Delivery
  1. Send Outbound Delivery Split

    Based on planning changes, SAP TM requests that an outbound delivery is split in SAP ERP.

  2. Split Outbound Delivery

    SAP ERP splits the outbound delivery and sends a confirmation to SAP TM.

  3. Receive Outbound Delivery Split Confirmation

    SAP TM receives confirmation of the split from SAP ERP.

    Note Note

    SAP ERP sends the new delivery and the changed original delivery to SAP TM in separate messages (see the steps under Send SAP ERP Delivery to SAP TM). SAP TM can then create the new DTR and change the original DTR.

    End of the note.
Update Outbound Delivery
  1. Send Outbound Delivery Update

    Based on planning changes related to changed dates, SAP TM requests that an outbound delivery is updated in SAP ERP.

  2. Update Outbound Delivery

    SAP ERP updates the outbound delivery and sends a confirmation to SAP TM.

  3. Receive Outbound Delivery Update Confirmation

    SAP TM receives confirmation of the update from SAP ERP.

Note Note

SAP ERP sends the updated outbound delivery to SAP TM in a separate message (see the steps under Send SAP ERP Delivery to SAP TM). SAP TM can then update the corresponding DTR.

End of the note.

More Information

ERP Logistics Integration