Data is usually archived via the central transaction SARA. In the case of IDocs, the corresponding tables are addressed via the archiving object IDOC.
Various processing methods are assigned to the IDOC archiving class: In the standard system, therefore, IDocs can be:
Reloaded from an archive: On the initial screen, choose
Example
All of the IDocs generated by sales orders (message type ORDERS, IDoc inbound processing) in the month of January are to be archived and subsequently deleted from the database tables. To do this, choose the "Archive" processing method in the standard system and enter a time period and message type as report variants.
In addition, you can display the following:
Several IDocs are usually archived in one archive or archiving session, that is, the IDocs are grouped together in one session. An archiving session is complete when the IDocs have been deleted from the database tables and exist only as archive files.
The IDoc numbers of one or several archives or archive files
The IDocs (that is, control record, data- and status records) of one or several archives
IDocs from archives, that contain certain character strings (IDoc search)
This function is not a method of the IDOC archiving object, but rather an IDoc interface monitoring tool and hence only available from the initial node.
You can also access the central transaction SARA by choosing
. Here you enter the archiving object IDOC. When you select 'enter' the methods entered above are displayed for selection.In object-specific Customizing, you can define the maximum size of the archive files and that the table entries are to be be deleted from the database immediately after the archive files have been generated. With large datasets this can improve the performance.
In the standard system, the IDocs are selected for archiving according to certain criteria, for example the time at which the IDocs were last changed (new status record). You can also define your own selection criteria. For more information, see subsection Archiving:Technical Implementation