Show TOC

Process documentationTM_ERPInvoiceIntegration Locate this document in the navigation structure

 

You can use this integration scenario to transfer settlement documents from SAP Transportation Management (SAP TM) to SAP ERP to create billing documents or accruals. In a typical shipper scenario, carrier settlement is achieved by performing accruals posting and invoice verification in SAP ERP based on data provided by SAP TM.

Prerequisites

You can find the TM_ERPInvoiceIntegration integration scenario in the Enterprise Services Repository in the SAPTM IC software component in the http://sap.com/xi/TMS/Global/IC namespace.

Process

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

  1. Send Forwarding Settlement Request

    SAP TM requests the creation, change, or cancellation of a billing document in SAP ERP. The billing document is based on a forwarding settlement document in SAP TM.

    For more information about the business context, see the documentation of the corresponding enterprise services Request Customer Freight Invoice Request_V1 (CustomerFreightInvoiceRequestSUITERequest_Out_V1) and Request Customer Freight Invoice Request Cancellation_V1 (CustomerFreightInvoiceRequestSUITECancellationRequest_Out_V1) in the Customer Freight Invoice Request Processing process component.

  2. Create Customer Invoice

    SAP ERP creates, changes, or cancels the billing document based on the request received from SAP TM. It 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 Forwarding Settlement Confirmation

    SAP TM receives the confirmation and updates the corresponding forwarding settlement document. If SAP TM cannot process the confirmation, an error is triggered in SAP TM.

  4. Send Freight Settlement Request

    SAP TM requests the creation, change, or cancellation of accruals in SAP ERP (that is, the creation of a service purchase order and one or more service entry sheets). The accruals are based on a freight settlement document in SAP TM. SAP ERP also sends an update to SAP TM as soon as the corresponding supplier invoice has been posted (that is, invoice verification has been carried out and the accruals have been posted).

    For more information about the business context, see the documentation of the corresponding enterprise services Request Transportation Order Invoicing Preparation (TransportationOrderSUITEInvoicingPreparationRequest_Out) and Request Transportation Order Invoicing Preparation Cancellation (TransportationOrderSUITEInvoicingPreparationCancellationRequest_Out) in the Transportation Order Processing process component.

  5. Create Supplier Invoice

    SAP ERP creates, changes, or cancels the accruals (that is, the service purchase order and one or more service entry sheets) based on the request received from SAP TM. It then sends a confirmation to SAP TM. If SAP ERP cannot send a response for technical reasons, an error is triggered in SAP ERP.

  6. Receive Freight Settlement Confirmation

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

  7. Send Invoice Notification

    SAP ERP sends a notification about the receipt of a supplier invoice to SAP TM.

  8. Receive Invoice Notification from ERP

    SAP TM receives the invoice notification and updates the posted amounts in the corresponding freight settlement document. If SAP TM cannot process the invoice notification, an error is triggered in SAP TM.

Note that SAP TM can initiate communication at any time starting with actions 1 or 4, which means that these actions can be executed independently of each other. Furthermore, SAP ERP can initiate communication starting with action 7, but only if it has already received and processed a freight settlement request from SAP TM (see action 5).

More Information

For more information, see Forwarding Settlement and Freight Settlement.