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

Former Member
0 Likes
1,282

Hi!

I'm using bapi BAPI_ACC_DOCUMENT_POST in transaction F-02 and I have a problem with this. I need to fill RF05A-NEWBS and RF05A-NEWKO fields using the bapi and I can't find any parameter structure which contain these fields. Does anybody knows how to send these fields to the bapi?

Thanks in advance!

1 REPLY 1
Read only

Former Member
0 Likes
827

for each line item you have to fill the tables parameter

ACCOUNTGL. There is the field GL_ACCOUNT for RF05A-NEWKO .

there is no need to fill NEWBS, I think, it is determinded automatically using the sign of the amount fields