Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>AcctngDocument



Index

AcctngDocument

AcctngDocument


The business object Accounting Document is an object that is
responsible for the consistent updating of documents in accounting. It represents a general approach for bookings in accounting.


For specific business cases (billing documents, invoice receipts, movement of goods...) there are additional business objects (
Accounting...) with agreed functions.


11-Dec-2005


Methods

Available Methods


  • Check : Accounting: Check document [ BAPI_ACC_DOCUMENT_CHECK ]
  • Post : Accounting: Post document [ BAPI_ACC_DOCUMENT_POST ]

11-Dec-2005


Check

Check


Using this method it can be checked whether a posting to accounting is possible.
For this, the check depends on one of the possible business transactions.

Possible (Business Transactions):

  • Postings that generally only affect the general ledger. (RFBU)

  • For billing in Sales and Distribution, accounting is supplied with the relevant billing data. (SD00) Billing Document
  • Accounting can use the data of a logistics system that result from an Invoice Receipt. (RMRP)
  • Goods Movements are triggered by operations in production and in Sales and Distribution or by inventory postings.
    Within logistics, they lead to they lead to a change in the warehouse stock of Inventory Management. Thisresults in a posting in accounting. This is why accounting is supplied with the relevant data from logistics. (RMWA)
  • Example

  • Billing Document:
    By selling goods in accordance with targets, revenue is generated. The
    revenue is posted in billing and forwarded to accounting.
  • Invoice Receipt:
    Raw materials are purchased in accordance with targets. The invoicereceipt is posted in a logistics system. The data from the raw material purchase are forwarded to accounting.

  • Goods Movement:
    The use of raw material lead to a change in stock in inventorymanagement. 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 stocks that are not in subledger accounting relevant to inventory management. This isparticularly the case if such materials are not displayed as vendor/customer, matierals, loans etc. or cannot be displayed in this way.
    This can also refer to write-ups or depreciation that contain higheraggregations 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 of the accounts payable or accounts receivable accounting. A similartransaction can arise for the revaluation of raw materials if this revaulation takes place at a correspondingly aggregated level.
  • Reclassification of inventory or P&L statement accounts that are onlyused for reconciliation purposes in the general ledger (this rearranges values for balance sheet items).
    Balance reclassifications of stocks to receivables with different return times.

  • Notes

  • If the parameter CurrencyAmount is filled with the currency fields, acomplete document check including characteristics and value componentsof profitability analysis (CO-PA) is carried out. Otherwise the account assignment objects are checked.

  • Messages are returned in the parameter Return. In the parameter documentation you can find the return values and their meaning.
  • Further Information

    You can find further information in the SAP Library under "Financials-> Accounting - General (AC) -> Interfaces to Accounting (AC)".


    11-Dec-2005


    Post

    Post


    Using this method you can create a posing in accounting for certain business transactions.

    Possible (Business Transactions):

  • Postings that generally only affect the general ledger. (RFBU)
  • Billing: For billing in Sales and Distribution, accounting is supplied with the relevant billing data. (SD00)
    Billing Document
  • Accounting can use the data of a logistics system that result from an Invoice Receipt. (RMRP)
  • Goods Movement are triggered by transactions in Sales and Distribution or by inventory postings. Within logistics,
    they lead to a change in the warehouse stocks of <DS:GLOS.InventoryManagement>Inventory Management. This results in a posting inaccounting. This is why accounting is supplied with the relevant data from logistics. (RMWA)
  • Example

  • Billing document:
    By selling goods in accordance with targets, revenue is generated. The
    revenue is posted in billing and forwarded to accounting.
  • Invoice receipt:
    Raw materials are purchased in accordance with targets. The invoicereceipt is posted in a logistics system. The data from the raw materials is forwarded to accounting.

  • Goods Movment:
    The use of raw materials leads to a change in stock in inventorymanagment. 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 stocks that are not in subledger accounting relevant to inventory management. This isparticularly the case if such materials are not displayed as vendor/customer, materials, loans etc. or cannot be displayed in this
    way. This can also refer to write-ups or depreciation that containhigher 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 of the accounts payable or accounts receivable accounting. A similartransaction can arise for the revaluation of raw materials if this revaluation takes place at a correspondingly aggreagated level.
  • Reclassification of inventory of P&L statement accounts that are onlyused for reconcilliation purposes in the general ledger (this rearranges values for balance sheet items).
    Balance reclassifications of stocks to receivables with different return times.

  • Notes

  • If the parameter CurrencyAmount is filled with the currency fields, acomplete document check including characteristics and value componentsof profitability analysis (CO-PA). Otherwise, the account assignment objects are checked.
  • Messages are returned in the parameter Return. In the parameter documentation you can find the return values and their meaning.
  • Further Information

    You can find further information in the SAP Library under "Financials-> Accounting - General (AC) -> Interfaces to Accounting (AC)".


    11-Dec-2005