Archiving Functions for IDocs


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 archiving class IDOC: In the standard system, therefore, IDocs can be

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.

This function is not an archiving object IDOC method, 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 Tools ® Administration ® Administration ® Data Archiving. Here you enter the archiving object IDOC. When you select 'enter' the methods entered above are displayed for selection.

You can determine the Maximum size of the archive files in Object specific Customizing , and the table entries should be deleted immediately after generation of archive files from the database. 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, refer to the section Archiving: Technical Implementation