TM_ERPShipmentIntegration_Out

Use

A shipper can use this integration scenario to perform transportation execution in SAP ERP. After carrying out transportation planning for delivery-based transportation requirements (DTRs), a shipper can carry out transportation execution for the resulting freight orders or freight bookings either in SAP Transportation Management (SAP TM) or in SAP ERP. If a shipper uses SAP ERP for transportation execution, the SAP TM system sends relevant information about the freight orders or freight bookings to SAP ERP, based on which the SAP ERP system creates shipments. The shipments can form the basis of further processing in SAP ERP, for example, execution tracking, invoicing, or output management.

Prerequisites

In the Enterprise Services Repository, the TM_ERPShipmentIntegration_Out 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 the documentation of the corresponding Transportation Order Execution Out outbound service interface in the Transportation Order Processing process component.

Process

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

Create Shipment in SAP ERP

  1. Send Freight Order

    SAP TM requests the creation or change of a shipment in SAP ERP. The shipment is based on a freight order or freight booking in SAP TM and on one or more deliveries that are referenced by the freight order or freight booking.

  2. Create Shipment

    SAP ERP creates or changes a shipment based on the request received from SAP TM. SAP ERP then sends a confirmation to SAP TM. If SAP ERP cannot send a response for technical reasons, an error is triggered in SAP ERP.

  3. Receive Shipment Confirmation

    SAP TM receives the confirmation from SAP ERP and updates the corresponding freight order or freight booking. If SAP TM cannot process the confirmation, an error is triggered in SAP TM.

Notify of Status Change

  1. Send Notification About Execution Status Change

    When the execution status of the shipment changes, SAP ERP can send a notification to SAP TM. SAP ERP sends a notification only if you have configured the SAP ERP system accordingly.

  2. Receive Notification About Shipment Status Change

    SAP TM receives the notification from SAP ERP and updates the corresponding freight order or freight booking. If SAP TM cannot process the notification, an error is triggered in SAP TM.

Send Cancellation to SAP ERP

  1. Send Freight Order Cancellation

    If a freight order or freight booking that has already been sent to SAP ERP is canceled in SAP TM, SAP TM sends a cancellation request to SAP ERP to trigger the cancellation of the corresponding shipment. SAP TM sends a cancellation request only if you have configured the SAP TM system accordingly.

  2. Delete Shipment

    SAP ERP deletes the shipment based on the request received from SAP TM. If an error occurs during deletion, this error is only visible in SAP ERP.

Notify of Changed Delivery Assignment

  1. Send Notification About Changed Delivery Assignment

    If a delivery is removed from or assigned to the shipment, SAP ERP sends a notification to SAP TM. SAP ERP sends a notification only if you have configured the SAP ERP system accordingly.

  2. Receive Notification About Changed Delivery Assignment

    SAP TM receives the notification from SAP ERP and updates the corresponding freight order or freight booking. If SAP TM cannot process the notification, an error is triggered in SAP TM.

Notify of Changed Packaging and Item Assignment

  1. Send Notification About Changed Packaging and Item Assignment

    SAP TM can send packaging information to SAP ERP with the freight order or freight booking data. Based on this data, SAP ERP creates handling units, using container as the packaging material. When container IDs and items have been assigned to the handling units in SAP ERP, SAP ERP sends a notification to SAP TM.

  2. Receive Notification About Changed Packaging and Item Assignment

    SAP TM assigns the container IDs and package items to the containers in the freight order or freight booking.