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 | Constant | Public | Type reference (TYPE) | FIELDNAME | 'ES_STATUS' | Field Name | 20121218 | ||
| 2 | Constant | Public | Type reference (TYPE) | CDC_LOGGING_TABLE_STATUS | '1' | Logging Table created | 20121217 | ||
| 3 | Constant | Public | Type reference (TYPE) | CDC_LOGGING_TABLE_STATUS | '3' | Logging Table Creation failed | 20121217 | ||
| 4 | Constant | Public | Type reference (TYPE) | CDC_LOGGING_TABLE_STATUS | '0' | Initial (never created) | 20121217 | ||
| 5 | Constant | Public | Type reference (TYPE) | CDC_LOGGING_TABLE_STATUS | '2' | Logging Table deleted | 20121217 | ||
| 6 | Constant | Public | Type reference (TYPE) | CDC_LOGGING_TABLE_TYPE | '2' | Full record, Last state, Sender | 20121214 | ||
| 7 | Constant | Public | Type reference (TYPE) | CDC_LOGGING_TABLE_TYPE | '1' | Primary key, All changes, Sender | 20121214 | ||
| 8 | Constant | Public | Type reference (TYPE) | CDC_LOGGING_TABLE_TYPE | '3' | Primary key, Last State, Sender | 20121214 | ||
| 9 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_CDC_TABLE_LIST | list of tables relevant for recording | 20121218 | |||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CDC_TRIGGER_LIST | list of DB triggers for a certain table | 20121220 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | CDC_LOGGING_TABLE | Type of a logging table | 20121217 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | CDC_LOGGING_TABLE_STATUS | Status of a logging table | 20121217 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | CDC_LOGGING_TABLE_TYPE | Type of a logging table | 20121217 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | NAMESPACE | Namespace | 20121218 | |||
| 15 | Instance attribute | Public | Type reference (TYPE) | CDC_RECORDER_ID | Unique Identifier of a Recorder | 20121217 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | TABNAME | Table Name | 20121217 | |||
| 17 | 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 | Instance method | Private | Method | add client condition for trigger execution | 20121219 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20121217 | |
| 3 | Instance method | Private | Method | create logging table | 20121217 | |
| 4 | Instance method | Private | Method | create logging table locally | 20121218 | |
| 5 | Instance method | Private | Method | delete the logging table | 20121220 | |
| 6 | Instance method | Public | Method | get all fields and all key fields of a table | 20121218 | |
| 7 | Instance method | Public | Method | get identifier for logging tables and triggers | 20121217 | |
| 8 | Static method | Public | Method | check if recording is active for the requested client | 20130325 | |
| 9 | Instance method | Private | Method | add client condition for trigger execution | 20121219 | |
| 10 | Instance method | Public | Method | save table object | 20121217 | |
| 11 | Instance method | Private | Method | set logging table status | 20121218 | |
| 12 | Instance method | Public | Method | start recording for the respective table | 20121217 | |
| 13 | 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 | 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 | IO_LIST | Call by reference | Object reference (TYPE REF TO) | CL_CDC_TABLE_LIST | list of tables relevant for recording | 20121217 | |||
| 2 | IS_TABLE | Call by reference | Type reference (TYPE) | CDC_TABLE | Table subject to recording | 20121217 | |||
| 3 | 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 | 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 | IS_DD02V | Call by reference | Type reference (TYPE) | DD02V | Generierte Tabelle zum View DD02V | 20121218 | |||
| 2 | IS_DD09L | Call by reference | Type reference (TYPE) | DD09L | DD: Technical settings of tables | 20121218 | |||
| 3 | IT_LOGTAB_FIELDS | Call by reference | Type reference (TYPE) | DD03PTAB | DD: Table Fields | 20121218 | |||
| 4 | IV_LOGTAB_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20121218 | |||
| 5 | 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 | ES_DD02V | Call by reference | Type reference (TYPE) | DD02V | Generierte Tabelle zum View DD02V | 20121218 | |||
| 2 | ES_DD09L | Call by reference | Type reference (TYPE) | DD09L | DD: Technical settings of tables | 20121218 | |||
| 3 | ET_FIELDS | Call by reference | Type reference (TYPE) | DD03PTAB | DD: Table Fields | 20121218 | |||
| 4 | ET_KEYFIELDS | Call by reference | Type reference (TYPE) | DD03PTAB | DD: Table Fields | 20121218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | exception handling of CDC | 20121218 |
Method GET_IDENTIFIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | IV_CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | Client ID | 20130325 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130325 | |||
| 3 | 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 | IV_CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | Client ID | 20121219 | |||
| 2 | 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 | 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 | IV_LOGTAB_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20121218 | |||
| 2 | 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 | IV_CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | Client ID | 20121219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | exception handling of CDC | 20121218 |
Method STOP_RECORDING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | Client ID | 20121219 | |||
| 2 | IV_DELETE_LOGTAB | Call by reference | Type reference (TYPE) | BOOLEAN | delete also the logging table | 20121220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | exception handling of CDC | 20121219 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |