Functions This function module stores the structure of a generated archivingobject in the database. You can use the "ArchivingObject"> transaction to display or change this definition.
- Example 1>
Sample call of the function module DATA: BEGIN OF STRUCTURE_TAB OCCURS 0. INCLUDE STRUCTURE ARCH_STRUC. DATA: END OF STRUCTURE_TAB. ... CALL FUNCTION 'ARCHIVE_DEFINE_OBJECT_STRUCT' EXPORTING OBJECT = 'TESTOBJECT' TABLES OBJECT_STRUCTURE = STRUCTURE_TAB EXCEPTIONS GENERATING_NOT_ALLOWED = 01 INVALID_STRUCTURE = 02 OBJECT_NOT_FOUND = 03.
- Example 2>
You can find a more comprehensive exanple in the programRSARCH_CREATE_TESTOBJECT.See also Program Generator Definition of Terms >Description The name of the logical database is passed via this parameter. If theprogram is generated via a logical database, then the transferred tableOBJECT_STRUCTURE must remain empty. INCLUDE 'ARCHIVE_PARAM_OBJECT' OBJECT DOCID TX In this situation define the parameter, for which object you want todefine the structure. See also Term definition object / archivingobject>
|