Fonction SAP BAPI_ACC_GOODS_MOVEMENT_CHECK - Accounting: Check 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 Long. Facultatif Description
ACCOUNTGL BAPIACGL02 731 G/L Account Line Items
CRITERIA BAPIACKECR 58 X CO-PA Characteristics
CURRENCYAMOUNT BAPIACCR01 66 X 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) components, or frominventory postings. In Logistics, they lead to adjustments in warehousestock in the Inventory Management(MM-IM) application component. This also results in a posting toAccounting. Therefore, Accounting receives the corresponding data fromLogistics.
The Check method ascertains whether the material posting can bemade in Accounting.

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

Notes

  • If currency fields are entered in the CurrencyAmount parameter, the
  • document is checked completely. Otherwise, only account assignmentobjects are validated.
    • Messages are returned in the Return parameter. You will find return
    • values 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