10-28-2017 12:35 PM
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!