Ansicht
Dokumentation

BAPI_ACC_DOCUMENT_POST - Accounting: Posting

BAPI_ACC_DOCUMENT_POST - Accounting: Posting

General Material Data   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Using this method, you can make a posting to accounting for certain business transactions.

Possible business transaction:

  • Postings that generally only affect the general ledger. (RFBU)
  • Accounting is provided with the relevant billing data for billing in Sales and Distribution. (SD00) (Billing Document)
  • Accounting can use logistics system data resulting from invoice receipts. (RMRP)
  • Goods movements are triggered by transactions in production and in sales or by inventory postings. Within logistics, they lead to a change in the warehouse stocks in inventory management. This also results in a posting in accounting. Therefore, accounting receives the corresponding data from logistics. (RMWA)

Example

  • Billing document:
    Revenues are generated by selling goods on credit. The revenues are posted in billing and forwarded to accounting.
  • Invoice receipt:
    Raw materials are bought on credit. The invoice receipt is posted in a logistics system. The data from the raw materials purchase is forwarded to accounting.
  • Goods movement:
    Consumption of raw materials results in an inventory change being posted in inventory management. The posting of raw material consumption is forwarded to accounting.
  • G/L account posting:
  • Provision posting for an expected warranty service. This can refer to acquisitions or retirements belonging to balances that are not in subledger accounting relevant to the balance sheet. This is particularly the case if such balances were not or could not be represented as an asset, accounts receivable/accounts payable, materials, loans, and so on. This can also refer to write-ups or depreciation that contain higher aggregations of values than are maintained in a corresponding subledger that is relevant to inventory management.

  • The conversion of foreign currencies for receivables/payables due to large exchange rate changes that should not lead to an update in accounts payable or accounts receivable accounting. A similar transaction can arise for the revaluation of raw materials if this revaluation takes place at a correspondingly aggregated level.

  • Reclassification of balance sheet or P&L accounts that are only used for account balancing purposes in the general ledger (whereby values are essentially resassigned to financial statement items).
    Balance reclassification of stocks to receivables with different return times.

Notes

  • If the parameter CurrencyAmount is filled with the currency fields, a complete document check including characteristics and value components of profitability analysis (CO-PA) is carried out. If not, only the account assignment objects are verified.
  • Messages are returned in the "Return" parameter. You can find return codes and their meaning in this parameter documentation.
  • For details on authorization checks of the BAPI, see SAP Note 1748416.

Further information

For more information, see SAP Library under "Financials -> Accounting - General (AC) -> Interfaces to Accounting (AC)".





Parameters

ACCOUNTGL
ACCOUNTPAYABLE
ACCOUNTRECEIVABLE
ACCOUNTTAX
ACCOUNTWT
CONTRACTHEADER
CONTRACTITEM
CRITERIA
CURRENCYAMOUNT
CUSTOMERCPD
DOCUMENTHEADER
EXTENSION1
EXTENSION2
OBJ_KEY
OBJ_SYS
OBJ_TYPE
PAYMENTCARD
REALESTATE
RETURN
VALUEFIELD

Exceptions

Function Group

ACC9

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 6156 Date: 20240523 Time: 120750     sap01-206 ( 78 ms )