SAP Program SAPRAIH2 - Archiving program for invoice history, deletion of invoices

Description
Program SAPRAIH2 performs the second step of archiving the invoicehistory for the Public Services Accounts Receivable and AccountsPayable component. It deletes the invoice history on the basis of apreviously generated archive.
The first step - generating the archive - is carried out by programSAPRAIH1.
The corresponding Archiving Object is FMCA_INVH. You can findits definition and corresponding Customizing options with transactionAOBJ; for archive administration and relevantCustomizing, use transaction SARA.
The table entries for invoice items DFMCAINVPOS are deleted from thedatabase together with the corresponding headers (table DFMCAINV).
Commits are carried out according the Customizing setting for theprogram for deleting archiving objects.