‎2008 Jan 18 8:00 PM
Hi all,
I want to know the difference between BAPI_ACC_DOCUMENT_POST and BAPI_ACC_INVOICE_RECEIPT_POST?
Thanks in advance.
Pranav
‎2008 Jan 18 8:35 PM
Well, the simple difference is BAPI_ACC_DOCUMENT_POST is to post AR and the other can be used to post AP.
check out the full description of both BAPIs
BAPI_ACC_DOCUMENT_POST
____________________________________________________
Short Text
Accounting: Posting
Functionality
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.Inventory Management>Inventory Management. This results 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 invoice receipt 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 inventory managment. 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 is particularly 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 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 of the 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 aggreagated level.
Reclassification of inventory of P&L statement accounts that are only used 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, a complete document check including characteristics and value components of 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)".
BAPI_ACC_INVOICE_RECEIPT_POST
____________________________________________________
Short Text
Accounting: Post Invoice Receipt (OAG: LOAD PAYABLE)
Functionality
Accounting can take over data from a logistics system that results from invoice receipts.
Using the Post method, the invoice receipt is posted in accounting.
Example
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.
Notes
Messages are displayed in the Return parameter. You will find return codes and their meaning in the parameter documentation.
Further information
More informationen is available in the Interfaces to Accounting documentation in the R/3 Library (under Cross Application Functions -> Interfaces to External Systems).
Edited by: abap technical on Jan 18, 2008 1:36 PM