Calculate Due Date in ABAP is main requirement when dealing with invoices and payment of this invoice.
It helps you also to handle dunning by calculating the Due date and current date and set the dunning level.
First let’s define the different Account Type, then we will detail the SAP BAPI to use when retrieving Due Date.