
Generating Archiving Objects at Runtime
Use
If there are tables in your system that are generated at runtime and you want to archive these tables, you need to generate the archiving objects for these tables. The Archive Development Kit (ADK) includes a function module you can use to generate the required archiving object definitions, which are then automatically entered in transaction AOBJ.
These generated archiving objects can also be deleted. ADK provides a function module you can use to delete a generated archiving object.

Archiving programs cannot be generated using ADK.
Procedure
To generate an archiving object, write a program to generate the archiving object
To delete a generated archiving object, write a program to delete the generated archiving object

You cannot use function modules ARCHIVE_DEFINE_PROGRAM_EVENTS, ARCHIVE_GENERATE_PROGRAM, ARCHIVE_BEGIN_OF_GENERATING, or ARCHIVE_END_OF_GENERATING.
Example
RSARCH_CREATE_TESTOBJECT and RSARCH_DELETE_TESTOBJECT sample programs
See Also
Function module documentation