Integration: Invoice Processing (MM-IV/SD-BIL) - SAP TM
In integrated invoice processing, you can enter, process, or display invoices that refer to documents in SAP Transportation Management (SAP TM).
You can use the following functions in SAP ERP, for example:
Create invoices
Simulate TM forwarding settlement document (FWSD) with SD invoice integration in SAP TM
Freight settlement document (FSD) integration from SAP TM to create service confirmations
Process and check invoices
Release invoices
Preview invoices
Archive invoices
Maintain GR/IR clearing account
Evaluated receipt settlement
These functions are only available if you have SAP TM connected.
Note
To be able to use these functions, you must activate the following business functions:
TMS-ERP: Invoice Integration
(LOG_TM_IV_INT
). Invoice verification for documents that originate from SAP Transportation Management (SAP TM) is then possible with SAP Transportation Management 8.0 (SAP TM 8.0) or higher.
ERP-TMS: Order and Invoice Integration
(LOG_TM_ORD_INT_II
) allows you to display an outgoing invoice print preview as a simulation in SAP TM with standard invoice attributes from SAP ERP. Further, you can generate the invoice
in SAP TM and by doing so save the invoice data in SAP ERP to print the outgoing invoice with additional TM data. In addition, 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. This applies from SAP Transportation Management 9.0 (SAP TM 9.0) or higher.
Technically, the data is transferred from SAP TM to SAP ERP using the following enterprise services:
External Services Management (MM-SRV)
In SAP ERP, incoming invoices are created based on SAP TM data by creating a service purchase order and a service entry sheet. The following enterprise services are available for processing freight invoices:
To create a service purchase order and service entry sheet: TransportationOrderSUITEInvoicingPreparationRequest_In
To cancel a service purchase order and service entry sheet: TransportationOrderSUITEInvoicingPreparationCancellationRequest_In
Logistics Invoice Verification (MM-IV)
In SAP ERP for logistics invoice verification, internal documents that the system requires for invoice creation are created based on TM data. When incoming invoices are entered or canceled, SAP TM is
informed by enterprise service Supplier Invoice Notification
(InvoiceNotification_Out
).
While verifying invoices in SAP ERP, a URI to display a specific freight settlement document can be retrieved from SAP TM by the Web service GetTransportationDocumentURI
.
Billing (SD-BIL)
In SAP ERP, outgoing invoices are created based on TM data and sent to the bill-to parties.
Enterprise services are available in the Customer Invoice Processing
process component 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 simulate a billing document and get the result in PDF format: CustomerFreightInvoiceRequestSUITESimulate_In
For more information, see the documentation for the enterprise services.
The following BAPIs were enhanced or adapted:
BAPI_INCOMINGINVOICE_CREATE1
BAPI_INCOMINGINVOICE_GETDETAIL
BAPI_INCOMINGINVOICE_GETLIST
BAPI_INCOMINGINVOICE_CHANGE
BAPI_INCOMINGINVOICE_DELETE
BAPI_INCOMINGINVOICE_POST
BAPI_INCOMINGINVOICE_CANCEL
In the IDoc INVOIC01/INVOIC02
(invoice/billing document
) in the segment type E1EDP02
, the following qualifiers are relevant:
T01
= Freight order
T02
= Bill of lading
T03
= Air waybill
T04
= Flight number
T05
= Voyage number
Note
For technical reasons, in SAP ERP one purchase order is created per freight settlement document, which the system requires for invoice creation. If several freight settlement documents are transferred with reference to one TM document, the EDI invoice item can only be assigned using this purchase
order number. For a unique assignment, there is also the qualifier TP1
(TM purchase order number
). It is possible to transfer several segment types E1EDP02
per invoice item with the IDoc (for example, the qualifiers T01
, T03
,
and TP1
).
Subject |
Document |
|---|---|
Prerequisites |
|
Invoice Previews |
|
Outgoing Invoice (SD-BIL) |
Processing of Outgoing Invoices (LO-INT-TM) and SAP Help Portal http://help.sap.com |
Incoming Invoice (MM-IV) |
Processing of Incoming Invoices (LO-INT-TM) Release of Incoming Invoices (LO-INT-TM) Evaluated Receipt Settlement (LO-INT-TM) Maintenance of GR/IR Clearing Account (LO-INT-TM) Archiving of Incoming Invoices (LO-INT-TM) SAP Help Portal http://help.sap.com |
Cost distribution integration (Shipper) |