Show TOC

Function documentationArchiving 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.

Integration

Various processing methods are assigned to the IDOC archiving class: In the standard system, therefore, IDocs can be:

  • Archived

  • Deleted from the database

  • Reloaded from an archive: On the initial screen, choose Start of the navigation path Goto Next navigation step Reload End of the navigation path

    Example 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.

    End of the example.

In addition, you can display the following:

Activities

You can also access the central transaction SARA by choosing Start of the navigation path Tools Next navigation step Administration Next navigation step Administration Next navigation step Data Archiving End of the navigation path. 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