Fonction SAP BAPI_ACC_GOODS_MOVEMENT_POST - Accounting: Post Goods Movement (OAG: POST JOURNAL)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DOCUMENTHEADER BAPIACHE02 u 195 Document Header

Paramètre Reférence Type Long. Description
OBJ_KEY BAPIACHE02-OBJ_KEY C 20 Reference Key
OBJ_SYS BAPIACHE02-OBJ_SYS C 10 Reference System
OBJ_TYPE BAPIACHE02-OBJ_TYPE C 5 Reference Transaction

Paramètre Reférence Long. Facultatif Description
ACCOUNTGL BAPIACGL02 731 G/L Account Line Items
CRITERIA BAPIACKECR 58 X CO-PA Characteristics
CURRENCYAMOUNT BAPIACCR01 66 Line Item Currency Fields
EXTENSION1 BAPIEXTC 1000 X Table for Customer Enhancement
PURCHASEAMOUNT BAPIACCRPO 116 X Purchase Order Currency Fields
PURCHASEORDER BAPIACPO00 593 X Purchase Order Line Items
RETURN BAPIRET2 548 Return Parameter
VALUEFIELD BAPIACKEVA 76 X CO-PA Value Components

Functionality
Goods movements result from transactions inthe Production (PP) and Sales and Distribution (SD) applicationcomponents, or from inventory postings. In Logistics, they lead toadjustments in warehouse stock in the
Inventory Management (MM-IM)application component. This also results in a posting to Accounting.Therefore, Accounting receives the corresponding data from Logistics.
The Post method carries out the material posting in Accounting.

Example
Consumption of raw materials results in an inventory change posted toInventory Management. The posting is also transferred to Accounting.

Notes
Messages are returned in the Return parameter. You can find returnvalues and their explanation in the parameter documentation.

Further information
More information is available in the "Interfaces with Accounting"documentation in the R/3 Library (under Cross Application -> Interfaceswith External Systems).
INCLUDE ACC_BAPI_DOCUMENTHEADER OBJECT DOKU ID TX
INCLUDE ACC_BAPI_ACCOUNTGL OBJECT DOKU ID TX
INCLUDE ACC_BAPI_CRITERIA OBJECT DOKU ID TX
INCLUDE ACC_BAPI_CURRENCYAMOUNT OBJECT DOKU ID TX
INCLUDE ACC_BAPI_EXTENSION OBJECT DOKU ID TX
INCLUDE ACC_BAPI_PURCHASEAMOUNT OBJECT DOKU ID TX
INCLUDE ACC_BAPI_PURCHASEORDER OBJECT DOKU ID TX
INCLUDE ACC_BAPI_RETURN OBJECT DOKU ID TX
INCLUDE ACC_BAPI_VALUEFIELD OBJECT DOKU ID TX

794974Problems with cross-company code transactions
884246No FI document with BAPI postings with BKPFF
667994Preliminary FI document number assignment w/ AC BAPIs