IDocs are stored in several database tables. To keep these tables small, you have to archive older data at regular intervals.
Data archiving is used to transfer application data, which is no longer needed in the system but which must still be stored, from the database into archive files.
The data is stored in archives in business systems and can then be stored in external storage media.
For more information on archiving see the documentation on the IDoc interface under Archiving IDocs.
IDoc links to application documents are stored in tables. You should delete table entries that are no longer required at regular intervals.
Unlike IDocs, links are not archived before they are deleted.
For details about organizing these links, see the documentation on the IDoc interface in the section Deleting Links with IDocs
Time stamps for serialization at IDoc level are stored in table BDSER.
You should delete table entries that are no longer required at regular intervals.
Schedule regular background processing with program RBDSRCLR.
For details of this type of serialization, see Serialization at IDoc Level.
You should delete table entries in the audit database that are no longer required at regular intervals (using transaction code BDM9).
You can also schedule the reorganization in background processing, Use the program RBDAUD02.
You should delete table entries for change pointers that are no longer required, at regular intervals (transaction BD22).
You can also schedule the reorganization in background processing, using the program RBDCPCLR.
You can use the program RBDCPCLR to delete change pointer entries from the database tables.