04-03-2014 1:42 AM
Hi,
Is there any BAPI or FM to compare latest invoice with previous month's invoice. When a customer calls for high bill inquires (via IVR) we want a program to compare previous bills (by line item or document type) and populate the reason like. due to dunning charges or Interest charges etc. etc.
Appreciate your responses!
Thanks,
Aravind
04-03-2014 2:07 AM
Hi Aravind,
Select all the values from table ERDK based on Business Partner or Contract account level using FM ISU_S_ERDK_SELECT_ALL
Pass the previous invoice to FM ISU_IMPORT_PRINTDOC_FROM_MEM to get the data from memory.
If not available, get detail from the database using FM ISU_DB_BUF_PRINT_DOC_SINGLE in parameter Y_PRINT_DOC.
Regards,
Sudeep Singh