SAP ABAP Class CL_CDC_TABLE (handle logging table for CDC)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
     S_ESH_DB_TRIGGER (Package) Recorder-APi for DB-Trigger
Properties
Class CL_CDC_TABLE  
Short Description handle logging table for CDC    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_ESH_DB_TRIGGER   Recorder-APi for DB-Trigger 
Created 20121214   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CDC_TABLE has no forward declaration.
Interfaces
Class CL_CDC_TABLE has no interface implemented.
Friends
Class CL_CDC_TABLE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FIELDNAME_STATUSFIELD Constant Public Type reference (TYPE) FIELDNAME 'ES_STATUS' Field Name 20121218
2 GC_LOGTAB_STATUS_CREATED Constant Public Type reference (TYPE) CDC_LOGGING_TABLE_STATUS '1' Logging Table created 20121217
3 GC_LOGTAB_STATUS_FAILED Constant Public Type reference (TYPE) CDC_LOGGING_TABLE_STATUS '3' Logging Table Creation failed 20121217
4 GC_LOGTAB_STATUS_INITIAL Constant Public Type reference (TYPE) CDC_LOGGING_TABLE_STATUS '0' Initial (never created) 20121217
5 GC_LOGTAB_STATUS_REMOVED Constant Public Type reference (TYPE) CDC_LOGGING_TABLE_STATUS '2' Logging Table deleted 20121217
6 GC_LOGTAB_TYPE_FULL_RECORD Constant Public Type reference (TYPE) CDC_LOGGING_TABLE_TYPE '2' Full record, Last state, Sender 20121214
7 GC_LOGTAB_TYPE_PRIMKEY_ALL Constant Public Type reference (TYPE) CDC_LOGGING_TABLE_TYPE '1' Primary key, All changes, Sender 20121214
8 GC_LOGTAB_TYPE_PRIMKEY_LAST Constant Public Type reference (TYPE) CDC_LOGGING_TABLE_TYPE '3' Primary key, Last State, Sender 20121214
9 MO_TABLE_LIST Instance attribute Public Object reference (TYPE REF TO) CL_CDC_TABLE_LIST list of tables relevant for recording 20121218
10 MO_TRIGGER_LIST Instance attribute Private Object reference (TYPE REF TO) CL_CDC_TRIGGER_LIST list of DB triggers for a certain table 20121220
11 MV_LOGTAB_NAME Instance attribute Public Type reference (TYPE) CDC_LOGGING_TABLE Type of a logging table 20121217
12 MV_LOGTAB_STATUS Instance attribute Protected Type reference (TYPE) CDC_LOGGING_TABLE_STATUS Status of a logging table 20121217
13 MV_LOGTAB_TYPE Instance attribute Public Type reference (TYPE) CDC_LOGGING_TABLE_TYPE Type of a logging table 20121217
14 MV_NAMESPACE Instance attribute Private Type reference (TYPE) NAMESPACE Namespace 20121218
15 MV_RECORDER_ID Instance attribute Public Type reference (TYPE) CDC_RECORDER_ID Unique Identifier of a Recorder 20121217
16 MV_TABNAME Instance attribute Public Type reference (TYPE) TABNAME Table Name 20121217
17 MX_RECORDER Instance attribute Public Object reference (TYPE REF TO) CX_CDC_RECORDER exception handling of CDC 20121219
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CLIENT_CONDITION Instance method Private Method add client condition for trigger execution 20121219
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20121217
3 CREATE_LOGGING_TABLE Instance method Private Method create logging table 20121217
4 CREATE_LOGTAB_LOCAL Instance method Private Method create logging table locally 20121218
5 DELETE_LOGGING_TABLE Instance method Private Method delete the logging table 20121220
6 GET_DDIC_ORIGINAL_TABLE Instance method Public Method get all fields and all key fields of a table 20121218
7 GET_IDENTIFIER Instance method Public Method get identifier for logging tables and triggers 20121217
8 GET_RECORDING_ACTIVE_FOR_CLNT Static method Public Method check if recording is active for the requested client 20130325
9 REMOVE_CLIENT_CONDITION Instance method Private Method add client condition for trigger execution 20121219
10 SAVE Instance method Public Method save table object 20121217
11 SET_LOGTAB_STATUS Instance method Private Method set logging table status 20121218
12 START_RECORDING Instance method Public Method start recording for the respective table 20121217
13 STOP_RECORDING Instance method Public Method start recording for the respective table 20121219
Events
Class CL_CDC_TABLE has no event.
Types
Class CL_CDC_TABLE has no local type.
Method Signatures

Method ADD_CLIENT_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLIENT Call by reference Type reference (TYPE) SYMANDT Client ID 20121219

Method ADD_CLIENT_CONDITION on class CL_CDC_TABLE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_LIST Call by reference Object reference (TYPE REF TO) CL_CDC_TABLE_LIST list of tables relevant for recording 20121217
2 Importing IS_TABLE Call by reference Type reference (TYPE) CDC_TABLE Table subject to recording 20121217
3 Importing IX_RECORDER Call by reference Object reference (TYPE REF TO) CX_CDC_RECORDER exception handling of CDC 20121219

Method CONSTRUCTOR on class CL_CDC_TABLE has no exception.

Method CREATE_LOGGING_TABLE Signature

Method CREATE_LOGGING_TABLE on class CL_CDC_TABLE has no parameter.
# Exception Resumable Description Created on
1 CX_CDC_RECORDER exception handling of CDC 20121218

Method CREATE_LOGTAB_LOCAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DD02V Call by reference Type reference (TYPE) DD02V Generierte Tabelle zum View DD02V 20121218
2 Importing IS_DD09L Call by reference Type reference (TYPE) DD09L DD: Technical settings of tables 20121218
3 Importing IT_LOGTAB_FIELDS Call by reference Type reference (TYPE) DD03PTAB DD: Table Fields 20121218
4 Importing IV_LOGTAB_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20121218
5 Returning RV_SUCCESS Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20121218

Method CREATE_LOGTAB_LOCAL on class CL_CDC_TABLE has no exception.

Method DELETE_LOGGING_TABLE Signature

Method DELETE_LOGGING_TABLE on class CL_CDC_TABLE has no parameter.
Method DELETE_LOGGING_TABLE on class CL_CDC_TABLE has no exception.

Method GET_DDIC_ORIGINAL_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DD02V Call by reference Type reference (TYPE) DD02V Generierte Tabelle zum View DD02V 20121218
2 Exporting ES_DD09L Call by reference Type reference (TYPE) DD09L DD: Technical settings of tables 20121218
3 Exporting ET_FIELDS Call by reference Type reference (TYPE) DD03PTAB DD: Table Fields 20121218
4 Exporting ET_KEYFIELDS Call by reference Type reference (TYPE) DD03PTAB DD: Table Fields 20121218
# Exception Resumable Description Created on
1 CX_CDC_RECORDER exception handling of CDC 20121218

Method GET_IDENTIFIER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_IDENTIFIER Value transfer Type reference (TYPE) CDC_LOGTAB_ID-IDENT Ident (Number of logging tables, triggers...) 20121217

Method GET_IDENTIFIER on class CL_CDC_TABLE has no exception.

Method GET_RECORDING_ACTIVE_FOR_CLNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLIENT Call by reference Type reference (TYPE) SYMANDT Client ID 20130325
2 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130325
3 Returning RV_IS_ACTIVE Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130325

Method GET_RECORDING_ACTIVE_FOR_CLNT on class CL_CDC_TABLE has no exception.

Method REMOVE_CLIENT_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLIENT Call by reference Type reference (TYPE) SYMANDT Client ID 20121219
2 Returning RV_OTHER_CLIENTS_LEFT Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20121220

Method REMOVE_CLIENT_CONDITION on class CL_CDC_TABLE has no exception.

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FROM_DB Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20121217

Method SAVE on class CL_CDC_TABLE has no exception.

Method SET_LOGTAB_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOGTAB_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20121218
2 Importing IV_LOGTAB_STATUS Call by reference Type reference (TYPE) CDC_LOGTAB_STATUS Status of a logging table 20121218

Method SET_LOGTAB_STATUS on class CL_CDC_TABLE has no exception.

Method START_RECORDING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLIENT Call by reference Type reference (TYPE) SYMANDT Client ID 20121219
# Exception Resumable Description Created on
1 CX_CDC_RECORDER exception handling of CDC 20121218

Method STOP_RECORDING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLIENT Call by reference Type reference (TYPE) SYMANDT Client ID 20121219
2 Importing IV_DELETE_LOGTAB Call by reference Type reference (TYPE) BOOLEAN delete also the logging table 20121220
# Exception Resumable Description Created on
1 CX_CDC_RECORDER exception handling of CDC 20121219
History
Last changed by/on SAP  20140121 
SAP Release Created in 740