Ansicht
Dokumentation
ADK_CCMS_GET_OBJECTS - Return all archiving objects to a DB table
CL_GUI_FRONTEND_SERVICES - Frontend Services RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
Functionality
This function module gets all archiving objects which use this database table.
You can specify all archiving objects or only those which delete entries in the specified table.
You can also get all tables which use the archiving object. As this function module returns the names of the database tables and not the Data Dictionary table names, the names returned can be different from the names in the archiving object definition.
Example
TYPE-POOLS: ADK.
DATA: OBJECTS TYPE ADK_CCMS_OBJECTS,
O_LINE TYPE ADK_CCMS_OBJECT,
T_LINE TYPE ADK_CCMS_TABLE.
CALL FUNCTION 'ADK_CCMS_GET_OBJECTS'
EXPORTING
TABLE = 'FILENAME'
GET_ALL_TABLES = 'X'
TABLES
OBJECTS = OBJECTS
EXCEPTIONS
TABLE_NOT_FOUND = 1
POOL_OR_CLUSTER_NOT_IN_USE = 2
NO_OBJECT_FOUND = 3
TABLE_IS_NOT_TRANSPARENT = 4
OTHERS = 5.
IF SY-SUBRC EQ 0.
LOOP AT OBJECTS INTO O_LINE.
WRITE: / O_LINE-OBJECT, O_LINE-OBJTEXT.
LOOP AT O_LINE-TABLES INTO T_LINE.
WRITE: /5 T_LINE-TABNAME, T_LINE-TEXT.
ENDLOOP.
SKIP.
ENDLOOP.
ENDIF.
Notes
If this function module can not find an archiving object, this need not mean that this table can not be archived. An archiving object may not have been found for the following reasons:
- archiving is not possible
- the table contains derived data which are deleted but not written in the archive (ADK does not know this table).
- The data in this table are archived via a view or a similar structure (ADK does not know this table).
- The data in this table are archived via an archiving class for which ADK has no table information.
Further information
Parameters
DELETE_OBJECTS_ONLYGET_ALL_TABLES
OBJECTS
TABLE
Exceptions
NO_OBJECT_FOUNDPOOL_OR_CLUSTER_NOT_IN_USE
TABLE_IS_NOT_TRANSPARENT
TABLE_NOT_FOUND
Function Group
ARCCCPI1466 during Backup SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 5505 Date: 20240523 Time: 115055 sap01-206 ( 38 ms )