Show TOC

 ERP-TMS: Order and Invoice Integration 1

 

Technical Data

Technical Name of Business Function

LOG_TM_ORD_INT_I

Type of Business Function

Enterprise Business Function

Available From

SAP enhancement package 5 for SAP ERP 6.0 support package 9

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)

  • Trade, Agency Business 4 (ISR_APPL_AGENCY_4)

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.

Note Note

As of SAP enhancement package 6 for SAP ERP 6.0 support package 4, business function ERP-TMS: Order and Invoice Integration (LOG_TM_ORD_INT II) is recommended instead of business function ERP-TMS: Order and Invoice Integration 1 (LOG_TM_ORD_INT_I).

End of the note.

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 605

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.

  • Trade, Agency Business 4 (ISR_APPL_AGENCY_4). Implement new business models for agency business processes, support allocation of any types of expenses, improve cost transparency, and increase process flexibility and efficiency. Create Intrastat declarations using agency documents on behalf of your company and, as an additional service offering, on behalf of your customers. Use enterprise service-oriented architecture for the exchange of invoices.

Note Note

Although the business function for Trade, Agency Business 4 requires that you install the software component EA_RETAIL, you do not need this component to run TMS-ERP integration.

End of the note.

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 Help Portal for SAP enhancement package 5 for SAP ERP 6.0 support package 9 at http://help.sap.com/erp605Information published on SAP site. In SAP Library, choose Start of the navigation path SAP ERP Central Component Next navigation step Logistics Next navigation step Logistics - General Next navigation step Integration of SAP ERP with SAP Transportation Management End of the navigation path.

For more information about enterprise services, see SAP Help Portal for SAP enhancement package 5 for SAP ERP 6.0 support package 9 at http://help.sap.com/erp605Information published on SAP site under Enterprise Services Documentation.