Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

not getting the right posting key..


i am posting accounts payable data using the bapi BAPI_ACC_DOCUMENT_POST.

my logic arrives at two values

blart = 'KG'.

newbs1 = '21'.

now how do i pass this to the bapi, which structure , which field, so that i get the posting key as 21 in the GL acct line item ??

i am always getting 31 and 40 as the posting keys... now i need 21 and 50..


Former Member
Not what you were looking for? View more on this topic or Ask a question