Functionality This function module outputs the definition of an archiving object. Thesystem displays the information stored in the DefineArchiving Object> transaction (tables ARCH_OBJ, ARCH_USR, ARCH_OCLAS und ARCH_TCODE) and thestructure definition of the object. DATA: OBJECT_CUSTOM TYPE ARCH_USR. DATA: BEGIN OF STRUCTURE_TAB OCCURS 0. INCLUDE STRUCTURE ARCH_STRUC. DATA: END OF STRUCTURE_TAB. DATA: BEGIN OF CLASS_TAB OCCURS 0. INCLUDE STRUCTURE ARCH_CLS. DATA: END OF CLASS_TAB. ... CALL FUNCTION 'ARCHIVE_GET_OBJECT' EXPORTING OBJECT = 'TESTOBJECT' IMPORTING OBJECT_CUSTOMIZING = OBJECT_CUSTOM TABLES OBJECT_STRUCTURE = STRUCTURE_TAB USED_CLASSES = CLASS_TAB EXCEPTIONS OBJECT_NOT_FOUND = 03. ... Language-dependent description text for the archiving object. OBJECT_CUSTOMIZING contains the Customizing settings for the archivingobject. OBJECT_DEFINITION contains the definition of the archiving object. INCLUDE 'ARCHIVE_PARAM_OBJECT' OBJECT DOKU ID TX In this case, you use the parameter to specify for which object youwant to determine the definition or structure. CUSTOM_TRANSACTIONS contains the application Customizing transactionsfor the archiving object. OBJECT_STRUCTURE contains the structure definition of the archivingobject. TABLES_TO_DELETE contains the table for an archiving object from whichthe system is to delete. USED_CLASSES contains the archiving classes to which the archivingobject is assigned. |