Skip to Content

Down Payment Clearing using BAPI_INCOMININVOICE_POST

May 25, 2017 at 10:51 AM


avatar image
Former Member

Dear All,

Am using BAPI_INCOMING_INVOICE for posting the invoice in my custom development. No doubt that, my invoice is posting correctly and got updated in FBL1N. But I have down payment clearing in my invoice which is not getting updated. I mean, if I clears an amount of 1000Rs from the Available Amount(Rs 8000), then the amount Rs1000 should get cleared from Rs8000 after the successful posting, which is not happening for me now.

I have debugged the BAPI and found that, it calls the FM MRM_INVOICE_PRPEPARE_AND_POST which in turn calls the FM MRM_RBDPC_CHANGE_PREPARE. Here the FM is not retrieving the available DPC from table RBDPC and hence my clearing amounts are not getting updated properly.

Do any one has faced this problem while using this BAPI. Please share your opinion experts.

Note: Am using FM MRM_INVOICE_DPC_SAVE to update the DPC in my application and also I use this FM before calling the BAPI.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Pablo Casamayor May 25, 2017 at 11:30 AM


read this OSS Note:

2121740 - Down Payment Clearing restrictions for MM invoices

Best regards,


Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Pablo,

Thanks for your input.

So hope, the only way I need to clear the DPC is from backend.




Kindly close the question and, going forward, search in SAP Notes before posting on SCN.

Thank you.