‎2019 Feb 05 3:40 PM
I am having problems when running BAPI_ACC_DOCUMENT_CHECK I become the following error message.

the document has a discount in header line.
I would need to know which parameters I should add to the BAPI to avoid this error. I have been checking in the forum, and also debugging the standard but so far I did not find a solution.
Thanks,
David
‎2019 Feb 05 3:56 PM
‎2019 Feb 05 3:56 PM
‎2019 Feb 06 9:27 AM
Hi Raymond,
it is 20. I just think the error is due to the moment when I am adding the data to the BAPI. I would need to know which values add. I have tried to calculate in the code the discount previously and then pass the values in:
ACCOUNTPAYABLE STRUCTURE BAPIACAP09 OPTIONAL
‎2019 Feb 07 9:58 AM