Ansicht
Dokumentation

ADK_CCMS_GET_TABLES - Deliver all archiving object DB tables

ADK_CCMS_GET_TABLES - Deliver all archiving object DB tables

PERFORM Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module returns all database tables for an archiving object that are elements of the object.

You can decide whether you want all database tables of an archiving object, or whether you just want the database tables from which data was removed by archiving.

Example

TYPE-POOLS: ADK.

DATA: OBJECT_TABLES TYPE ADK_CCMS_TABLES,

      LINE TYPE ADK_CCMS_TABLE.

CALL FUNCTION 'ADK_CCMS_GET_TABLES'

     EXPORTING

          OBJECT             = 'EXAMPLE'

     TABLES

          OBJECT_TABLES      = OBJECT_TABLES

     EXCEPTIONS

          OBJECT_NOT_FOUND   = 1.

IF SY-SUBRC EQ 0.

  LOOP AT OBJECT_TABLES INTO LINE.

    WRITE: / LINE-TABNAME, LINE-TEXT.

  ENDLOOP.

ENDIF.

Notes

As this function module returns the names of the database tables and not the names of the tables according to the Data Dictionary the table names may be different to the table names in the definition of the archiving object.

Further information





Parameters

DELETE_TABLES_ONLY
OBJECT
OBJECT_TABLES

Exceptions

OBJECT_NOT_FOUND

Function Group

ARCC

PERFORM Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2770 Date: 20240523 Time: 114945     sap01-206 ( 28 ms )