Start of Content Area

Procedure documentation Setting Up IDocs for Invoice Entry  Locate the document in its SAP Library structure


To transfer invoice data to and from SAP ERP, SAP ERP uses IDocs. To be able to use Idocs for invoicing, you must set up invoice parameters. The following procedure describes how to set up invoice entry for Materials Management (MM). When an invoice IDoc is received, SAP ERP creates an invoice document in both MM and Financial Accounting (FI). You must then use logistics invoice verification and release the invoice document to enable payment in FI.



       1.      On the SAP Easy Access screen, choose Logistics Logistics Execution   Internal Whse Processes Communication with External Systems ALE Administration Runtime Settings Partner Profiles (WE20).

       2.      Select the partner type LS (Logical System).

       3.      Choose the logical system that represents your SAP Supply Network Collaboration (SAP SNC) system, for example Q7NCLNT001.

       4.      On the Post processing: permitted agent tab page, enter an agent type as used in your company.

For example, if you use your own user as permitted agent, you could enter the following data:

Type: US

Agent: <Your user>

Language: EN

       5.      Choose Create inbound parameters and make the following settings:



Message Type


Message Code


Process Code


Cancel Processing After Syntax Error


Trigger Immediately



You must also configure Materials Management (MM) in SAP ERP and ensure there is an appropriate invoice verification and handover to FI to allow the payment run. For more information, see SAP Library for SAP ERP, under SAP ERP Central Component Logistics Materials Management (MM) Logistics Invoice Verification (MM-IV) as well as the Implementation Guide for SAP ERP, by choosing Materials Management Logistics Verification.

       6.      Define the following function modules for inbound ALE-EDI. To do this on the SAP standard menu, choose System Services Table Maintenance Extended Table Maintenance, and specify the table V_TBD51 (or use transaction BD67).

       7.      Choose New Entries to define the following setting:

Inbound Process Code

Inbound Function Module



       8.      On  the SAP Easy Access menu, choose Tools ALE ALE Development IDoc Inbound Processing Define Process Code (or use transaction WE42):

       9.      Choose New Entries, and set up the following inbound process code:

Inbound Process Code



Option ALE

Processing Type


Invoice MM


Processing with ALE Service

Processing by Function Module


Information regarding invoice verification is not part of this document.
For more information about invoice verification in MM, see SAP Library for SAP ERP under SAP ERP Central Component
Logistics Materials Management (MM) Logisitics Invoice Verification (MM-IV).

End of Content Area