2008 Dec 24 1:55 PM
Hi,
I am posting a document using BAPI_ACC_GL_POSTING_POST.But there is no option to pass posting key. After posting the document,when i checked the entry in BSEG table,it is taking the posting key as 50 and 40.But i need to post it with key 93 and 83.Even when i tried to post document using tcode FB50,its having the same effect.In transaction FB01,there is option to pass posting key and every thing is fine.how to get the same functionality as in FB01 using BAPI.
Thanks and Regards
Shibin
2008 Dec 24 2:22 PM
Hi,
did u try to use the bapi BAPI_ACC_DOCUMENT_POST?¿ I think that using this bapi u wont have that problem.
if u need the code of that bapi, ask me. I am using it and it works fine.
Regards
2008 Dec 24 2:23 PM
I replied just Yesterday to same thread.
Please see =>
And for More help you can see this [Search result.|https://www.sdn.sap.com/irj/scn/advancedsearch?query=bapi_acc_gl_posting_postpostingkey&cat=sdn_all]
2008 Dec 28 4:11 AM
Hi,
the difference between BAPI_ACC_GL_POSTING_POST and BAPI_ACC_DOCUMENT_POST is that the first one cannot be used to post to subledger accounts like customer , vendor etc...
for ur purpose u can use both.but i think the second one will be simpler.
for doubt abt posting keys,
see this answered thread:
regards
Arjun