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, for planning). Furthermore, SAP TM can propose deliveries that can be created in SAP ERP.

Prerequisites

You can find the TM_ERPOrderIntegration 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 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:

  1. Send Sales Order to Transportation Management System

    When a sales order is created, changed, or canceled in the SAP ERP system, SAP ERP sends the sales order to SAP TM.

  2. Send Customer Return to Transportation Management System

    When a returns order is created, changed, or canceled in the SAP ERP system, SAP ERP sends the returns order to SAP TM.

  3. Send Purchase Order to Transportation Management System

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

    Note Note

    The documents in steps 1 to 3 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.
  4. 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 Transportation Planning.

  5. 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 performance.

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

  6. 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.

  7. 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.

  8. 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 (see step 5).

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

  9. 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.

  10. 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.

  11. Send Outbound Delivery to Transportation Management System

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

  12. Send Inbound Delivery to Transportation Management System

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

    Note Note

    Outbound deliveries and inbound deliveries are only sent to SAP TM 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.

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

    End of the note.
  13. 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 Transportation Planning.

More Information

For more information, see ERP Logistics Integration.