Definition
Financial Accounting documents are archived, deleted, and reloaded using the FI_DOCUMNT archiving object.
Use
When you archive documents, the system writes them (including change documents and long texts) to one or more archive files.
A number of conditions must be met to ensure that only documents no longer needed in the online system are archived. To determine whether a document can be archived, the archiving program checks the document header and line items. For more information see
Checks (FI-GL, FI-AR, FI-AP).Structure
Tables
You can archive data from different tables using the archiving object FI_DOCUMNT. To find out how to display the table names, see
Determine Linked Tables.Function/report assignment
Functions |
Report |
Archiving |
SAPF048 |
Deleting |
SAPF048D |
Reloading |
SAPF049 |
Displaying Individual Objects Using SAP AS
A business view for the archiving object FI_DOCUMNT is delivered as standard. To display individual objects for the archiving object FI_DOCUMNT using
SAP AS, you need an information structure that has been created based on the standard field catalogs SAP_FI_DOC_001 or SAP_FI_DOC_002 delivered by SAP. The information structure must be activated and set up.For more information about information structures, see also
Using the Archive Information System.For more information about the archive information system, see the SAP Library under Cross-Application Components ® Archiving Application Data (CA-ARC) ® Introduction to Data Archiving (CA-ARC) ® Archive Information System (SAP AS).
Integration
Archiving Double-Entry Invoicing Data
The double-entry invoicing data is deleted by the archiving object FI_DOCUMNT for financial accounting documents. You can store this data in the database longer than the financial accounting document itself. The data is removed from the database together with the vendor secondary indexes by the postprocessing program and not by the deletion program.
As long as the vendor secondary index still exists in the database the double-entry invoice verification can take place, even if a document has already been archived.
In Customizing for account type lives (to archive financial accounting documents) you should set the secondary indexes for vendors so that the data for the double-entry invoice verification remains in the system for the required period of time. For more information on archiving account type lives, see Archiving Account Type Lives in the Implementation Guide (IMG) for Financial Accounting under Financial Accounting Global Settings ® Document ® Archiving Accounting Documents.