Fonction SAP BAPI_ACC_BILLING_POST - Accounting: Post Invoice (OAG: LOAD RECEIVABLE)

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

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

Paramètre Reférence Long. Facultatif Description
ACCOUNTGL BAPIACGL01 634 G/L Account Line Items
ACCOUNTRECEIVABLE BAPIACAR01 205 Customer 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
RETURN BAPIRET2 548 Return Parameter
SALESAMOUNT BAPIACCRSO 112 X Sales Order Currency Fields
SALESORDER BAPIACSO00 354 X Sales Order Line Items
VALUEFIELD BAPIACKEVA 76 X CO-PA Value Components

Functionality
Accounting is provided with the data for a billing in Sales andDistribution.
Using the Post method, the billingdocument is posted in Accounting.

Example
Revenues are generated by selling goods on credit. The revenues areposted in billing and forwarded to Accounting.
Postings for sales revenue and sales deduction are updated inProfitability Analysis (CO-PA).

Notes

  • The SalesOrder and SalesAmount parameters can be provided for breaking
  • down any sales order stock that may exist.
    • Messages are displayed in the Return parameter. You can find the return
    • codes and their meaning in the documentation for the Return parameter.

      Further information
      More information is available in the documentation about interfaces toAccounting in the R/3 Library (under Cross Application Functions ->Interfaces to Accounting).
      Parameter documentation
      INCLUDE ACC_BAPI_DOCUMENTHEADER OBJECT DOKU ID TX
      INCLUDE ACC_BAPI_ACCOUNTGL OBJECT DOKU ID TX
      INCLUDE ACC_BAPI_ACCOUNTRECEIVABLE OBJECT DOKU ID TX
      INCLUDE ACC_BAPI_ACCOUNTTAX OBJECT DOKU ID TX
      Parameter documentation
      INCLUDE ACC_BAPI_CURRENCYAMOUNT OBJECT DOKU ID TX
      INCLUDE ACC_BAPI_EXTENSION OBJECT DOKU ID TX
      INCLUDE ACC_BAPI_RETURN OBJECT DOKU ID TX
      INCLUDE ACC_BAPI_SALESAMOUNT OBJECT DOKU ID TX
      INCLUDE ACC_BAPI_SALESORDER OBJECT DOKU ID TX
      INCLUDE ACC_BAPI_VALUEFIELD OBJECT DOKU ID TX

1608395IT_ACCTX not available in enhancement ACBAPI01
1024468Error log in accounting IDOCS
794974Problems with cross-company code transactions
884246No FI document with BAPI postings with BKPFF
667994Preliminary FI document number assignment w/ AC BAPIs
646449Differences with tax lines in reconciliation reports
549712BAPI_ACC_BILLING_POST:Tax line items summarized in FI documt