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_ACC_DOCUMENT_POST field BSCHL

Former Member
0 Likes
5,789

i want to creat a accounting document with BAPI_ACC_DOCUMENT_POST . i have to use the field BSCHL , but i can not find this parameter in this bapi. how can I do? thks.

3 REPLIES 3
Read only

Former Member
0 Likes
2,554

Posting keys are hardcoded in this bapi. They can not not be passed via the parameters .

Solutions:

- Try transaction OBU1 and specify the posting keys over there.

- If this does not work, then think of enhancing the BAPI. See oss note 487722.

Read only

Former Member
0 Likes
2,554

Hi

I also will have the same problem.Please tell me how do you have solve your problem.Pease send

me the mail regarding this

venkatmarisetti@gmail.com

thanks and regards

venkat

Read only

Former Member
0 Likes
2,554

You do not need to set the posting key in any of the BAPI parameters. SAP will know to set the posting key based on the line item type (ACCOUNTGL, ACCOUNTRECEIVABLE etc.), and the sign of the dollar amount - you pass credit entries as negative dollar amounts in the CURRENCYAMOUNT table.