Fonction SAP BAPI_ACC_INVOICE_RECEIPT_POST - Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CUSTOMERCPD BAPIACPA00 u 372 X One-Time Customer
DOCUMENTHEADER BAPIACHE03 u 207 Document Header

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

Paramètre Reférence Long. Facultatif Description
ACCOUNTGL BAPIACGL03 718 G/L Account Line Items
ACCOUNTPAYABLE BAPIACAP03 238 Vendor Line Items
ACCOUNTTAX BAPIACTX01 74 Tax 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
Accounting can take over data from a logistics system that results frominvoice receipts.
Using the Post method, the invoice receipt is posted inaccounting.

Example
Raw materials are bought on credit. The invoice receipt is posted in alogistics system. The data from the raw materials purchase is forwardedto accounting.

Notes
Messages are displayed in the Return parameter. You will find returncodes and their meaning in the parameter documentation.

Further information
More informationen is available in the Interfaces to Accountingdocumentation in the R/3 Library (under Cross Application Functions ->Interfaces to External Systems).
INCLUDE ACC_BAPI_CUSTOMERCPD OBJECT DOKU ID TX
INCLUDE ACC_BAPI_DOCUMENTHEADER OBJECT DOKU ID TX
INCLUDE ACC_BAPI_ACCOUNTGL OBJECT DOKU ID TX
INCLUDE ACC_BAPI_ACCOUNTPAYABLE OBJECT DOKU ID TX
INCLUDE ACC_BAPI_ACCOUNTTAX 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

1608395IT_ACCTX not available in enhancement ACBAPI01
556311BAPI in the extended withholding tax
794974Problems with cross-company code transactions
444543Subseq functions for cash discount calcul in net procedure
728793Error AAPO176 in BAPI_ACC_INVOICE_RECEIPT_POST
667994Preliminary FI document number assignment w/ AC BAPIs
569380Error message M8454 when navigating to FI original document