SAP ABAP Class CL_ESH_DBT_ADMIN (Administrate Database Triggers)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_DB_TRIGGER_HANDLER (Package) Database Trigger Handler
⤷
⤷
Properties
| Class | CL_ESH_DBT_ADMIN | |
| Short Description | Administrate Database Triggers | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_ENG_DB_TRIGGER_HANDLER | Database Trigger Handler |
| Created | 20121122 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ESH_DBT_ADMIN has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_ESH_DBT_COMPILER | 20130322 | Database Trigger Compiler |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_ESH_OM_APPLOG | Application Log | 20130322 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CDC_RECORDER_FACADE | CDC Recorder Facade | 20130322 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | CDC_OWNER | CDC Owner | 20130322 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | CDC_RECORDER_ID | CDC Recorder ID | 20130322 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Activate Database Trigger Consumer | 20121122 | |
| 2 | Static method | Public | Method | Check for Triggers | 20121126 | |
| 3 | Instance method | Protected | Method | Deactivate Database Trigger Consumer | 20121122 | |
| 4 | Static method | Public | Method | Delete All Triggers (complete logsys, no checks) | 20130508 | |
| 5 | Instance method | Protected | Method | Delete Database Trigger Consumer | 20121122 | |
| 6 | Instance method | Protected | Method | Delete Database Trigger Consumers | 20130322 | |
| 7 | Instance method | Protected | Method | Delete Database Triggers | 20130322 | |
| 8 | Static method | Public | Method | Get Consumers | 20121122 | |
| 9 | Static method | Public | Method | Get Consumers for Triggers | 20130320 | |
| 10 | Static method | Protected | Method | Get Instance | 20121122 | |
| 11 | Instance method | Private | Method | Get Recording Status | 20130328 | |
| 12 | Static method | Public | Method | Get DatabaseTrigger | 20121123 | |
| 13 | Static method | Public | Method | Get DatabaseTriggers | 20121123 | |
| 14 | Static method | Public | Method | Get Database Triggers for Objects | 20130320 | |
| 15 | Static method | Public | Method | Get Trigger Blocksize | 20121211 | |
| 16 | Instance method | Protected | Method | Set Database Trigger Consumers | 20130322 | |
| 17 | Instance method | Protected | Method | Set Database Triggers | 20130322 | |
| 18 | Instance method | Private | Method | Start Recording | 20130328 | |
| 19 | Instance method | Protected | Method | Add Database Trigger Consumer | 20121123 | |
| 20 | Instance method | Protected | Method | Add Database Trigger Consumers | 20121123 |
Events
Class CL_ESH_DBT_ADMIN has no event.
Types
Class CL_ESH_DBT_ADMIN has no local type.
Method Signatures
Method ACTIVATE_CONSUMER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DBT_CONN | Call by reference | Type reference (TYPE) | ESH_S_DBT_CONN | Database Consumer | 20130326 | |||
| 2 | IS_DBT_TRIGGER | Call by reference | Type reference (TYPE) | ESH_S_DBT_TR | Database Trigger | 20130326 | |||
| 3 | IV_COMMIT_WORK | Call by reference | Type reference (TYPE) | CHAR01 | Commit Work | 20130328 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Database Trigger Analyzer Exception | 20130326 |
Method CHECK_TRIGGERS_AVAILABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_FOUND | Value transfer | Type reference (TYPE) | CHAR01 | Triggers available | 20121126 |
Method CHECK_TRIGGERS_AVAILABLE on class CL_ESH_DBT_ADMIN has no exception.
Method DEACTIVATE_CONSUMER Signature
Method DEACTIVATE_CONSUMER on class CL_ESH_DBT_ADMIN has no parameter.
Method DEACTIVATE_CONSUMER on class CL_ESH_DBT_ADMIN has no exception.
Method DELETE_ALL_TRIGGERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LOGSYS | Call by reference | Type reference (TYPE) | LOGSYS | Delete all triggers for complete logsys | 20130508 |
Method DELETE_ALL_TRIGGERS on class CL_ESH_DBT_ADMIN has no exception.
Method DELETE_CONSUMER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CONSUMER_DEL | Call by reference | Type reference (TYPE) | ESH_S_DBT_CONN | Trigger Consumer (Del) | 20130508 | |||
| 2 | IV_COMMIT_WORK | Call by reference | Type reference (TYPE) | CHAR01 | Commit Work | 20130508 |
Method DELETE_CONSUMER on class CL_ESH_DBT_ADMIN has no exception.
Method DELETE_CONSUMERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_CONSUMERS_DEL | Call by reference | Type reference (TYPE) | ESH_T_DBT_CONN | Consumers (Del) | 20130322 | |||
| 2 | IV_COMMIT_WORK | Call by reference | Type reference (TYPE) | CHAR01 | Commit Work | 20130322 |
Method DELETE_CONSUMERS on class CL_ESH_DBT_ADMIN has no exception.
Method DELETE_TRIGGERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TRIGGERS_DEL | Call by reference | Type reference (TYPE) | ESH_T_DBT_TR | Triggers (Delete) | 20130322 | |||
| 2 | IV_COMMIT_WORK | Call by reference | Type reference (TYPE) | CHAR01 | Commit Work | 20130322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Database Trigger Analyzer Exception | 20130322 |
Method GET_CONSUMERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONSUMERS | Call by reference | Type reference (TYPE) | ESH_T_DBT_CONN | Trigger Consumers | 20121123 | |||
| 2 | IV_APPLICATION_TAB | Call by reference | Type reference (TYPE) | TABNAME | Application Table | 20121123 | |||
| 3 | IV_GEN_TRIGGER_TAB | Call by reference | Type reference (TYPE) | TABNAME | Generated Trigger Table | 20121123 | |||
| 4 | IV_RECORDER_ID | Call by reference | Type reference (TYPE) | ESH_E_DBT_RECORDER_ID | Recorder ID | 20121218 | |||
| 5 | IV_TRIGGER_ID | Call by reference | Type reference (TYPE) | ESH_E_DBT_TRIGGER_ID | Database Trigger ID | 20121123 |
Method GET_CONSUMERS on class CL_ESH_DBT_ADMIN has no exception.
Method GET_CONSUMERS_FOR_TRIGGERS Signature
Method GET_CONSUMERS_FOR_TRIGGERS on class CL_ESH_DBT_ADMIN has no parameter.
Method GET_CONSUMERS_FOR_TRIGGERS on class CL_ESH_DBT_ADMIN has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_APPLICATION_LOG | Call by reference | Object reference (TYPE REF TO) | IF_ESH_OM_APPLOG | Application Log | 20130322 | |||
| 2 | RR_DBT_ADMIN | Value transfer | Object reference (TYPE REF TO) | CL_ESH_DBT_ADMIN | Administrate Database Triggers | 20121123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Database Trigger Analyzer Exception | 20130322 |
Method GET_RECORDING_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_RECORDING_STATUS | Call by reference | Type reference (TYPE) | CDC_S_RECORDING_STATUS | Recording Status | 20130328 | |||
| 2 | EV_TABLE_REGISTERED | Call by reference | Type reference (TYPE) | CHAR01 | Table is registered | 20130328 | |||
| 3 | IS_DBT_TRIGGER | Call by reference | Type reference (TYPE) | ESH_DBT_TR | DBT Trigger | 20130328 |
Method GET_RECORDING_STATUS on class CL_ESH_DBT_ADMIN has no exception.
Method GET_TRIGGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_TRIGGER | Call by reference | Type reference (TYPE) | ESH_S_DBT_TR | Database Trigger | 20121123 | |||
| 2 | ET_CONSUMERS | Call by reference | Type reference (TYPE) | ESH_T_DBT_CONN | Database Trigger Consumers | 20121123 | |||
| 3 | IV_APPLICATION_TAB | Call by reference | Type reference (TYPE) | TABNAME | Application Table | 20121123 | |||
| 4 | IV_GEN_TRIGGER_TAB | Call by reference | Type reference (TYPE) | TABNAME | Generated Trigger Table | 20121123 | |||
| 5 | IV_TRIGGER_ID | Call by reference | Type reference (TYPE) | ESH_E_DBT_TRIGGER_ID | Database Trigger ID | 20121123 |
Method GET_TRIGGER on class CL_ESH_DBT_ADMIN has no exception.
Method GET_TRIGGERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONSUMERS | Call by reference | Type reference (TYPE) | ESH_T_DBT_CONN | Database Trigger Consumers | 20121123 | |||
| 2 | ET_TRIGGERS | Call by reference | Type reference (TYPE) | ESH_T_DBT_TR | Database Triggers | 20121123 | |||
| 3 | IT_TRIGGERS | Call by reference | Type reference (TYPE) | ESH_T_DBT_TR | Database Triggers | 20130320 | |||
| 4 | IV_PROCESSING_GROUP | Call by reference | Type reference (TYPE) | ESH_E_DBT_PROCESSING_GROUP | Database Trigger Processing Group | 20121123 | |||
| 5 | IV_RECORDER_ID | Call by reference | Type reference (TYPE) | ESH_E_DBT_RECORDER_ID | Recorder ID | 20121218 |
Method GET_TRIGGERS on class CL_ESH_DBT_ADMIN has no exception.
Method GET_TRIGGERS_FOR_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONSUMERS | Call by reference | Type reference (TYPE) | ESH_T_DBT_CONN | Database Trigger Consumers | 20130704 | |||
| 2 | ET_TRIGGERS | Call by reference | Type reference (TYPE) | ESH_T_DBT_TR | Database Triggers | 20130320 | |||
| 3 | IT_OBJECT_TYPES | Call by reference | Type reference (TYPE) | ESH_T_OM_OBJECT_TYPE_NAMES | Table of Object Types | 20130320 | |||
| 4 | IV_INCL_TARGETAUTH_TRIGGERS | Call by reference | Type reference (TYPE) | CHAR01 | ABAP_TRUE | Include Triggers for Target-Auth Objects | 20130704 | ||
| 5 | IV_LOGSYS | Call by reference | Type reference (TYPE) | LOGSYS | Logical System | 20130320 |
Method GET_TRIGGERS_FOR_OBJECTS on class CL_ESH_DBT_ADMIN has no exception.
Method GET_TRIGGER_BLOCKSIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MAX_N_OF_PACKAGES | Call by reference | Type reference (TYPE) | INT4 | Maximum Number of Packages (Per Trigger) | 20121211 | |||
| 2 | EV_TRIGGER_BLOCKSIZE | Call by reference | Type reference (TYPE) | INT4 | Blocksize | 20121211 | |||
| 3 | IS_TRIGGER | Call by reference | Type reference (TYPE) | ESH_S_DBT_TR | Database Trigger | 20121211 |
Method GET_TRIGGER_BLOCKSIZE on class CL_ESH_DBT_ADMIN has no exception.
Method SET_CONSUMERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DBT_CONSUMERS | Call by reference | Type reference (TYPE) | ESH_T_DBT_CONN | Consumers (Add/Mod) | 20130322 | |||
| 2 | IV_COMMIT_WORK | Call by reference | Type reference (TYPE) | CHAR01 | Commit Work | 20130322 |
Method SET_CONSUMERS on class CL_ESH_DBT_ADMIN has no exception.
Method SET_TRIGGERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TRIGGERS | Call by reference | Type reference (TYPE) | ESH_T_DBT_TR | Triggers (Create/Update) | 20130322 | |||
| 2 | IV_COMMIT_WORK | Call by reference | Type reference (TYPE) | CHAR01 | Commit Work | 20130322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Database Trigger Analyzer Exception | 20130322 |
Method START_RECORDING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_RECORDING_STATUS | Call by reference | Type reference (TYPE) | CDC_S_RECORDING_STATUS | Recording Status | 20130328 | |||
| 2 | IS_DBT_TRIGGER | Call by reference | Type reference (TYPE) | ESH_DBT_TR | DBT Trigger | 20130328 | |||
| 3 | IV_COMMIT_WORK | Call by reference | Type reference (TYPE) | CHAR01 | Commit Work | 20130328 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Database Trigger Analyzer Exception | 20130328 |
Method TRIGGER_ADD_CONSUMER Signature
Method TRIGGER_ADD_CONSUMER on class CL_ESH_DBT_ADMIN has no parameter.
Method TRIGGER_ADD_CONSUMER on class CL_ESH_DBT_ADMIN has no exception.
Method TRIGGER_ADD_CONSUMERS Signature
Method TRIGGER_ADD_CONSUMERS on class CL_ESH_DBT_ADMIN has no parameter.
Method TRIGGER_ADD_CONSUMERS on class CL_ESH_DBT_ADMIN has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |