ERP-TMS: Order and Invoice Integration Locate this document in the navigation structure

 

Technical Data

Technical Name of Business Function

LOG_TM_ORD_INT_II

Type of Business Function

Enterprise Business Function

Available From

SAP enhancement package 6 for SAP ERP 6.0 support package 4

Technical Usage

Central Applications

Application Components

Transportation Management Integration (LO-TM)

Purchasing (MM-PUR)

Sales (SD-SLS)

Basic Functions (SD-BF)

Shipping (LE-SHP)

Transportation (LE-TRA)

Logistics Invoice Verification (MM-IV)

Billing (SD-BIL)

Services Management (MM-SRV)

Transportation Charge Calculation (TM-TCC)

Required Business Functions

  • TMS-ERP: Invoice Integration (LOG_TM_IV_INT)

  • ERP-TMS: Order Integration (LOG_TM_ORD_INT) or ERP-TMS: Basic Order Integration (LOG_TM_ORD_INT_TRQ)

You can use this business function to integrate order and invoice processing in SAP ERP with transportation planning in SAP Transportation Management (SAP TM). It enables you to optimize order and invoice processing with transportation planning by exchanging information about orders and deliveries between SAP ERP and SAP TM. This close integration is essential, especially for companies working with global networks of suppliers and carriers.

To use this business function to integrate order and invoice processing with SAP Transportation Management (SAP TM), you must run SAP Transportation Management 9.0 (SAP TM 9.0) or higher.

You can use this business function to carry out the following activities:

  • Display in SAP ERP the SAP TM document status and document flow for a specific ERP purchase order, stock transport order, sales order, outbound delivery, or inbound delivery for return orders and purchase orders. This includes information about the documents created for an order or delivery, and the status of the documents. This gives you an overview of the entire ERP-TM process for an individual ERP document and enables you to track the status of document processing in SAP TM from SAP ERP.

  • Display a simulation of the ERP invoice for a TM settlement document in the SAP TM system. This enables the user to see, for example, tax information from the respective ERP billing document. The print preview also contains TM-specific data. This data is also displayed in the print preview in SAP ERP when the ERP invoice is finally created in the ERP system.

  • In addition, the SAP TM system uses the freight charges in the TM freight settlement document as the basis of the freight cost distribution. SAP TM transfers freight costs and the allocated freight cost at the ERP item level to SAP ERP. This enables you to post financial details, with account assignments for the allocated costs.

  • The outbound integration of SAP ERP shipment processing has been extended to include integration with the SAP Extended Warehouse Management (SAP EWM) application. This enables you to integrate SAP TM transportation planning with delivery and shipment processing in SAP ERP and warehouse planning and execution in SAP EWM.

    Note that SAP TM is integrated with SAP EWM via SAP ERP. Data is not sent directly between SAP TM and SAP EWM. You transfer information between SAP ERP and SAP EWM using remote function calls.

Prerequisites

You have installed the following components as of the version mentioned:

Type of Component

Component

Required for the Following Features Only

Software Component

SAP_APPL 606

ESA ECC-SE 605

PI/ESR Content

http://sap.com/xi/APPL/SE/Global

Delivery Integration

http://sap.com/xi/APPL/Global2

Sales Document Integration, Purchase Order Integration, Delivery Integration (bulk delivery service operations only)

You have activated the following business functions:

  • TMS-ERP: Invoice Integration (LOG_TM_IV_INT): Invoice verification for documents that originate from SAP TM is then possible with SAP Transportation Management 8.0 (SAP TM 8.0) or higher.

  • ERP-TMS: Order Integration (LOG_TM_ORD_INT): Order and delivery integration including sales order scheduling functions for SAP Transportation Management 8.0 (SAP TM 8.0) or higher. If you do not use sales order scheduling, you can activate the ERP-TMS: Basic Order Integration (LOG_TM_ORD_INT_TRQ) business function instead. It provides exactly the same functions, but without sales order scheduling.

Features

Enterprise Services for Outgoing Invoice Integration
  • Billing (SD-BIL)

    In SAP ERP, outgoing invoices are created on the basis of TM data and sent to the bill-to parties. Enterprise services are available for the following tasks:

    • To create a customer invoice: CustomerFreightInvoiceRequestSUITERequest_In_V1

    • To cancel a customer invoice: CustomerFreightInvoiceRequestSUITECancellationRequest_In_V1

    • To confirm the creation or cancellation of a customer invoice: CustomerFreightInvoiceRequestSUITEConfirmation_Out_V1

    • To create a customer invoice as a PDF output: CustomerFreightInvoiceRequestSUITESimulate_In

Enterprise Services for Outbound Delivery Integration

The following service operations in the Outbound Delivery Processing process component enable you to update and confirm the update of outbound deliveries in your ERP system, based on information received from SAP TM:

  • OutboundDeliveryUpdateRequest_In

  • OutboundDeliveryConfirmation_Out_V1

The following service operations in the Outbound Delivery Processing component enable you to split and confirm the splitting of outbound deliveries in your ERP system, based on information received from SAP TM:

  • OutboundDeliveryERPSplitRequest_In_V1

  • OutboundDeliveryERPSplitConfirmation_Out_V1

Business Document Flow Integration

The Web service BusinessDocumentFlowTMInformationbyBusinessObjectReferenceQueryResponse_Out enables you to display in SAP ERP the TM document status and document flow for a specific ERP purchase order, stock transport order, sales order, outbound delivery, or inbound delivery for return orders and purchase orders.

Business Add-Ins for Invoice Preview Integration

You can use the Business Add-In (BAdI) BAdI: Invoice Print Preview Integration with TM (BADI_TM_INVOICE) for invoice previews in SAP ERP. It enables you to create rules that determine the output type, for example, changing the message type based on the country.

Business Add-Ins for Cost Distribution Integration

You can use the following BAdIs for posting via agency business in cost distribution:

  • BAdI:Determine Fields That Control Agency Document Creation (WZRE_DET_CONTR_FIELDS_BADI)

  • BAdI:Map External Condition Description to Condition Type (WZRE_MAP_COND_TYPE_BADI)

  • BAdI:Map Partner From External to Internal Representation (WZRE_MAP_PARTNER_BADI)

  • BAdI:Map Text Identificator (WZRE_MAP_TEXT_ID_BADI)

  • BAdI:Infer Posting Item Fields (WZRE_INFER_ITEM_FIELDS_BADI)

  • BAdI:Infer Condition Fields (WZRE_INFER_COND_FIELDS_BADI)

  • BAdI:Transfer Purchase Order Data (WZRE_TRANSFER_PO_DATA_BADI)

  • BAdI:Transfer Sales Order Data (WZRE_TRANSFER_SO_DATA_BADI)

BAPI for Delivery Split Integration

The BAPI BAPI for Subsequent Outbound-Delivery Split from a Decentralized System (BAPI_OUTB_DELIVERY_SPLIT_DEC) was enhanced to include TM-specific data.

More Information

For more information, see SAP Library for SAP ERP on SAP Help Portal at   http://help.sap.com/erp   SAP ERP Enhancement Packages   ERP Central Component Enhancement Package 6   SAP ERP Central Component   Logistics   Logistics - General (LO)   Integration of SAP ERP with SAP Transportation Management  .

For information about enterprise services, see SAP Help Portal at http://help.sap.com/erp under SAP Central Component. Select an SAP enhancement package for SAP ERP 6.0 and choose Enterprise Services Documentation.