Application Development 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: 

Posting with clearing using BAPI_ACC_DOCUMENT_POST

namas1994
Advisor
Advisor
0 Kudos

Hi Experts,

At present I'm working on this BAPI to do posting.

My Scenario is as follows, I have to do a invoice posting of amount 1200 using FB05. The amount 1150 has been received and 50 been given as discount to that customer. To do this, I am adding the 1150(debit entry) as partial payment and when I hit 'Charge off difference' in the following screen of FB05 -

Then adding the remaining amount 50 as credit entry, after simulating or posting the document a new line item has been added by the standard program which is shown in below screen -

When I Change the Display Currency to Group Currency, the amount filed of 4th line item has the below shown entry.

My question is that: Why is the 4th line item has been automatically added to the document and how can I do the same using the BAPI - BAPI_ACC_DOCUMENT _POST?

Thanks in advance!

0 REPLIES 0