Application Development and Automation 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: 
Read only

Function module help: bapi_acc_gl_posting_post.

Former Member
0 Likes
1,214

what is the use of this function module -> bapi_acc_gl_posting_post.

Can i use this function module to post invoice without creating po and how.

If there is a code which has already done this, it would help. Please provide code also.

I am passing this data at document header:

GW_DOCUMENTHEADER-obj_type = 'BKPFF'.

GW_DOCUMENTHEADER-obj_key = '0100000090W1002006'.

GW_DOCUMENTHEADER-obj_sys = 'Q10CLNT100'.

GW_DOCUMENTHEADER-ac_doc_no = '0100000090'.

Points will be awarded for any help.

with regards

mandeep

Message was edited by: Mandeep

Mandeep Pal Singh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
992

Hi

The BAPI "BAPI_ACC_GL_POSTING_POST" can be used for Accounting: General G/L account posting

FYI :

Method

AcctngGLPosting.Post

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").

For further Info ..plz goto transanction BAPI ..

Choose Accounting -general -- > Accounting interface --> AcctngBilling from the split tree...

Regards

Pankaj

2 REPLIES 2
Read only

Former Member
0 Likes
993

Hi

The BAPI "BAPI_ACC_GL_POSTING_POST" can be used for Accounting: General G/L account posting

FYI :

Method

AcctngGLPosting.Post

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").

For further Info ..plz goto transanction BAPI ..

Choose Accounting -general -- > Accounting interface --> AcctngBilling from the split tree...

Regards

Pankaj

Read only

Former Member
0 Likes
992

thanks for answer