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

bapi for G/L posting.

Former Member
0 Likes
415

hi all,

Am using the bapi bapi_acc_gl_posting_post to post an amount in the g/l , now as per the finanial transaction an account needs to be debited or account needs to be credited then a posting key is specified on standard sap transaction , i could not locate the posting key for same in the above mentioned Bapi, if any one has worked on same what indicator should be given to bapi so it knows whther to debit or credit an account.

thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
374

Hello,

the posting key is generated by SAP after u save the entries in the Transaction .

so, that key has to be catched at runtime, and for n no. of times entries are made, n no. of keys are generated.

so, accordingly u should code to hold the generated key..

i dont think BAPI will work for this..

Read only

Former Member
0 Likes
374

Hi ,

Based on the G/L accounts what u given in the g/l table , SAP will take Posting key reps.So no need to worry abt it .As per documentation ,no posting keys required for this BAPI.Let me know what kind of probs u are facing without giving posting keys ?

regards

Prabhu