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: 

which method to upload G/L master???

Former Member
0 Kudos

Hello Gurus,

Which method( LSMW or BDC) to use to upload G/L master data and why? For wat custom applications do we use BDC.. Can anyone explain it with examples??

Thanks in advance,

Anky

4 REPLIES 4

amit_khare
Active Contributor
0 Kudos

I will prefer BAPI in place of BDC if not using LSMW.

'BAPI_ACC_DOCUMENT_POST'

Regads,

Amit

Reward all helpful replies

Former Member
0 Kudos

Hi Prav,

Yes, Bapi can be the better way to upload gl accounts.

You can use bdc as well.

Generally what happens is the gl account no you are giving should be in the number range of the type of the account like assets, liabilities so and so.

You can check for this condition and download back the erroneous records.

And another thing it will be easy if you use bdc later for comparison purposes.

Like after uploading agin you have to download the data into excel copare the data.

Award points if useful,

Aleem.

0 Kudos

hi aleem,

could you elaborate your answer....like why we need to download the data and compare...???

Thanks

Anky

Points will be rewarded for sure

Former Member
0 Kudos

Hi

Use <b>BAPI_ACC_GL_POSTING_POST</b> (Accounting: General G/L account posting)

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.

Regards

Raj