Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Vendor Invoices/Customer -BAPI

Former Member
0 Kudos

Hi all

Equivalnt bapis to postVendor Invoices/Customer Invoices through f-02 transaction.

we need to post with and without special GL Indicator. Can anyone let me knw which is the suitable bapi with SAMPLE DATA and MANDATORY FIELDS.

Thanks

sha

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Pls try these BAPI's...

<b>BAPI_ACC_GL_POSTING_POST

BAPI_ACC_DOCUMENT_POST

BAPI_ACC_GL_POSTING_CHECK

FI_GET_POSTING_KEY</b>

-


BAPI_ACC_GL_POSTING_POST

More Information about this:

Text

Accounting: General G/L Account Posting Functionality

You can use this method to update business transactions in Accounting which mainly affect the general ledger and are definitely not updated in subledgers which are relevant to the balance sheet.

An example of this is a provision posting for an expected guarantee service.

This can be produce debit or credit entries to balances which are not managed in one of the subledgers relevant to the balance sheet. This is especially applicable if the balances cannot be represented as assets, customers/vendors, materials, loans, etc.

An example of this is a provision posting for an expected guarantee. However, this can also involve depreciation or write-ups in which values have a higher level of summarization than in the corresponding subledger relevant to the balance sheet in which they are managed.

An example of this is foreign currency revaluation for receivables/ payables caused by considerable exchange rate fluctuations which is not updated in accounts payable or accounts receivable.

A similar transaction may come about when revaluating balances for raw materials if the revaluation takes place at a corresponding level of summarization.

The third cateogry is the reclassification of items to balance sheet accounts or income statement accounts, which is only undertaken in the general ledger in order to balance accounts (values are then finally reassigned to financial statement items).

Example: Reclassifying balances of receivables with different return times for the balance sheet.

Restrictions:

This object cannot be used to update business transactions which are normally posted to one of the subledgers which affects the balance sheet (such as a billing document; for this see the business object AcctngBilling).

This is especially applicable if the reason the relevant subledger cannot be updated is because it is an external system or is not in use.

Notes

If the currency fields have been entered in the CurrencyAmount parameter, the system runs a complete check for the document. Otherwise only the account assignment objects are validated.

Messages are displayed in the Return parameter. You will find the return values and their meanings in the documentation for this parameter.

Further Information

For further information, see the documentation on "Interfaces to Accounting" in the R/3 Library (under "Cross-Application Functions -> Interfaces to External Systems").

Parameters

DOCUMENTHEADER

OBJ_TYPE

OBJ_KEY

OBJ_SYS

ACCOUNTGL

CURRENCYAMOUNT

RETURN

EXTENSION1

Exceptions

Function Group

ACC4

<b>http://www.planetsap.com/LIST_ALL_BAPIs.htm

</b>

<b>***Reward Points if Useful</b>

Regards

Gokul

2 REPLIES 2

Former Member
0 Kudos

try or search in SE37 with this string

BAPIAccount

BAPIgl

there u will list of bapis , check each and every BAPI's Documentation.

Regards

Prabhu

Former Member
0 Kudos

Hi,

Pls try these BAPI's...

<b>BAPI_ACC_GL_POSTING_POST

BAPI_ACC_DOCUMENT_POST

BAPI_ACC_GL_POSTING_CHECK

FI_GET_POSTING_KEY</b>

-


BAPI_ACC_GL_POSTING_POST

More Information about this:

Text

Accounting: General G/L Account Posting Functionality

You can use this method to update business transactions in Accounting which mainly affect the general ledger and are definitely not updated in subledgers which are relevant to the balance sheet.

An example of this is a provision posting for an expected guarantee service.

This can be produce debit or credit entries to balances which are not managed in one of the subledgers relevant to the balance sheet. This is especially applicable if the balances cannot be represented as assets, customers/vendors, materials, loans, etc.

An example of this is a provision posting for an expected guarantee. However, this can also involve depreciation or write-ups in which values have a higher level of summarization than in the corresponding subledger relevant to the balance sheet in which they are managed.

An example of this is foreign currency revaluation for receivables/ payables caused by considerable exchange rate fluctuations which is not updated in accounts payable or accounts receivable.

A similar transaction may come about when revaluating balances for raw materials if the revaluation takes place at a corresponding level of summarization.

The third cateogry is the reclassification of items to balance sheet accounts or income statement accounts, which is only undertaken in the general ledger in order to balance accounts (values are then finally reassigned to financial statement items).

Example: Reclassifying balances of receivables with different return times for the balance sheet.

Restrictions:

This object cannot be used to update business transactions which are normally posted to one of the subledgers which affects the balance sheet (such as a billing document; for this see the business object AcctngBilling).

This is especially applicable if the reason the relevant subledger cannot be updated is because it is an external system or is not in use.

Notes

If the currency fields have been entered in the CurrencyAmount parameter, the system runs a complete check for the document. Otherwise only the account assignment objects are validated.

Messages are displayed in the Return parameter. You will find the return values and their meanings in the documentation for this parameter.

Further Information

For further information, see the documentation on "Interfaces to Accounting" in the R/3 Library (under "Cross-Application Functions -> Interfaces to External Systems").

Parameters

DOCUMENTHEADER

OBJ_TYPE

OBJ_KEY

OBJ_SYS

ACCOUNTGL

CURRENCYAMOUNT

RETURN

EXTENSION1

Exceptions

Function Group

ACC4

<b>http://www.planetsap.com/LIST_ALL_BAPIs.htm

</b>

<b>***Reward Points if Useful</b>

Regards

Gokul