Thursday, 4 July 2024

Which change documents are archived together with the application data?

 A table analysis of the table CDPOS with transaction TAANA using the fields OBJECTCLAS, Creation month and Creation year returns the change document objects (OBJECTCLAS = name of change document object) that were used.

In transaction SCDO, you can display the definition for each change document object that was found. You can use the tables that were used here to determine the corresponding archiving object of the application.

You can use transaction DB15 to find a use for these tables in archiving objects.

If you double-click the archiving objects that were found, the system returns the tables from which entries are archived in this object.

If the table CDCLS or CDHDR is among these tables, change documents are also archived with them.

This enables archiving using the archiving object of the application.

If the application tables are not contained in any archiving object or if they are archived only without changing documents, you cannot archive application data and change documents together.

To determine which archiving object archives change documents, you must search for the call of the archiving class CHANGEDOCU directly in the write program of the archiving object.

The parameter OBJECTCLAS contains the name of the change document object.

We recommend that you archive change documents together with the application objects if this is possible.

You can use the archiving object CHANGEDOCU to archive all of the other change documents regardless of the application.

You can use the change document object parameter in the program CHANGEDOCU_WRI to select the change documents to be archived specifically for each application.