Ansicht
Dokumentation

SAPRAIH1 - Archiving program for invoice history

SAPRAIH1 - Archiving program for invoice history

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Description

Program SAPRAIH1 carries out the first step in the archiving of the invoice history for invoicing. You use this program to generate an archive with the invoice history for the Public Services Accounts Receivable and Accounts Payable component.

The second step is carried out using program SAPRAIH2. You use this program to delete the invoice history on the basis of the previously generated archive.

The corresponding Archiving Object is FMCA_INVH. You can find its definition and corresponding Customizing options with transaction AOBJ; for archive administration and relevant Customizing, use transaction SARA.

The program selects all table entries from table DFMCAINV and their corresponding items from table DFMCAINVPOS that meet the selection criteria. The age of an invoice history is derived from the date indicator (field LAUFD).

Notes

For an invoice history that is not archived on the basis of its date indicator, the detail log outputs an error code:

Error ERR_NOLD:
Run time of invoice history has not yet ended

Requirements

Output

Example






CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1505 Date: 20240520 Time: 141654     sap01-206 ( 29 ms )