!--a11y-->
IDoc Interface: Inventory Management to Accounting 
Goods movements are triggered by transactions in the Production (PP) and Sales and Distribution (SD) application components, or by inventory postings. In Logistics, they lead to adjustments in warehouse stock in the Inventory Management (MM-IM) application component. This also results in a posting to Accounting. Therefore, Accounting receives the relevant data from Logistics.

Consumption of raw materials results in an inventory change posted to Inventory Management. The posting is transferred to Accounting.
400000 Raw Material Consumption to 300000 Raw Materials $ 40000
The posting updates to Controlling (CO).
Transferring Data from Inventory Management of an External System
The SAP R/3 Accounting components can import data from goods movements posted in external logistic systems. The FI/CO interface inbound IDoc ACPJOU01 is used for this (
IDoc Interfaces for Data Transfer to Accounting).Communication with ALE
If you use distributed systems (Application Link Enabling = ALE), the inbound IDoc for goods movements in Accounting communicates with the outbound IDoc for Inventory Management in the SAP R/3 System.
Transferring Data to Accounting of an External System
To transfer goods movement data from the SAP R/3 System to the Accounting components in an external system, you use outbound IDoc ACPJOU01 for Inventory Management (MM-IM).
Transferring Data to Accounting
Each goods movement in the Logistics components of the SAP R/3 System transfers data to outbound IDoc ACPJOU01, depending on the Customizing settings.
First, function module IDOC-OUTPUT_CHECK conducts general data consistency checks. Then, function module IDOC_OUTPUT_ACPJOU_PROJECT projects the FI/CO document onto an IDoc-specific internal structure and converts quantities and currencies to the ISO standard. Finally, processing branches to function module IDOC_OUTPUT_ACPJOU_POST, where the initial field values of type NUMC reset to SPACE and those fields change for which defined conversions exist in the user interface.
A customer function is provided for the IDoc header and items. An IDoc extension fills several segments with additional lines. However, you cannot change the existing data in the IDoc, that is, you cannot modify existing lines.
If errors appear in Accounting during processing, corresponding messages appear and are registered in Logistics. IDoc ACCONF01 supports the confirmation of IDoc processing from Accounting.
BODs
IDoc ACPJOU01 fulfills the Open Application Group (OAG) communication structure for the Business Object Documents (BODs) Post Journal (goods movement) and Confirm for the communication between the logistics and accounting systems.
Preconditions and Requirements
Synchronization of the outbound and inbound systems is mandatory; the same account assignment objects must exist in both systems during the data transfer.
The outbound system does not check whether the account assignment objects exist in the inbound system. Before transferring data, you should ensure that the required account assignment objects exist.
Structure of Idoc ACPJOU01
The structure of the IDoc ACPJOU01 and its documentation is defined in the SAP R/3 System. To display these, proceed as described in
Displaying IDoc Type and Segment Documentation
