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

FB01 and BAPI'S

Former Member
0 Likes
438

I found information that for posting FI document BAPI: BAPI_ACC_GL_POSTING_POST or BAPI_ACC_DOCUMENT_POST is used. I'm using second one.

I filled documentheader information as well but I've problem with filling positions information, exactly I don't know where to pass (to which field) info about "Buchungsschlüssel (SHKZG)" .


If helping_answer = abap_true.
  reward_points = reward_points + 6.
endif. 

1 REPLY 1
Read only

JozsefSzikszai
Active Contributor
0 Likes
385

hi Tomasz,

you cannot give the posting key (uchungschlüssel) to these BAPIs. You can only do it through the amounts:

100 ==> this is positive ==> Posting key 40 will be used by the BAPI

-100 ==> this is negative ==> Posting key 50 will be used by the BAPI

If you want to use other posting keys (like 01 for debitor, or for vendor), than you have to use toher BAPI.

hope this helps

ec