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 ABAP 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 MR_APPLICATION_LOG Instance attribute Private Object reference (TYPE REF TO) IF_ESH_OM_APPLOG Application Log 20130322
2 MR_RECORDER Instance attribute Private Object reference (TYPE REF TO) CL_CDC_RECORDER_FACADE CDC Recorder Facade 20130322
3 MV_CDC_OWNER Instance attribute Protected Type reference (TYPE) CDC_OWNER CDC Owner 20130322
4 MV_CDC_RECORDER Instance attribute Protected Type reference (TYPE) CDC_RECORDER_ID CDC Recorder ID 20130322
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE_CONSUMER Instance method Protected Method Activate Database Trigger Consumer 20121122
2 CHECK_TRIGGERS_AVAILABLE Static method Public Method Check for Triggers 20121126
3 DEACTIVATE_CONSUMER Instance method Protected Method Deactivate Database Trigger Consumer 20121122
4 DELETE_ALL_TRIGGERS Static method Public Method Delete All Triggers (complete logsys, no checks) 20130508
5 DELETE_CONSUMER Instance method Protected Method Delete Database Trigger Consumer 20121122
6 DELETE_CONSUMERS Instance method Protected Method Delete Database Trigger Consumers 20130322
7 DELETE_TRIGGERS Instance method Protected Method Delete Database Triggers 20130322
8 GET_CONSUMERS Static method Public Method Get Consumers 20121122
9 GET_CONSUMERS_FOR_TRIGGERS Static method Public Method Get Consumers for Triggers 20130320
10 GET_INSTANCE Static method Protected Method Get Instance 20121122
11 GET_RECORDING_STATUS Instance method Private Method Get Recording Status 20130328
12 GET_TRIGGER Static method Public Method Get DatabaseTrigger 20121123
13 GET_TRIGGERS Static method Public Method Get DatabaseTriggers 20121123
14 GET_TRIGGERS_FOR_OBJECTS Static method Public Method Get Database Triggers for Objects 20130320
15 GET_TRIGGER_BLOCKSIZE Static method Public Method Get Trigger Blocksize 20121211
16 SET_CONSUMERS Instance method Protected Method Set Database Trigger Consumers 20130322
17 SET_TRIGGERS Instance method Protected Method Set Database Triggers 20130322
18 START_RECORDING Instance method Private Method Start Recording 20130328
19 TRIGGER_ADD_CONSUMER Instance method Protected Method Add Database Trigger Consumer 20121123
20 TRIGGER_ADD_CONSUMERS 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 Importing IS_DBT_CONN Call by reference Type reference (TYPE) ESH_S_DBT_CONN Database Consumer 20130326
2 Importing IS_DBT_TRIGGER Call by reference Type reference (TYPE) ESH_S_DBT_TR Database Trigger 20130326
3 Importing IV_COMMIT_WORK Call by reference Type reference (TYPE) CHAR01 Commit Work 20130328
# Exception Resumable Description Created on
1 CX_ESH_DBT_ANALYZER 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 Returning 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 Importing 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 Importing IS_CONSUMER_DEL Call by reference Type reference (TYPE) ESH_S_DBT_CONN Trigger Consumer (Del) 20130508
2 Importing 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 Importing IT_CONSUMERS_DEL Call by reference Type reference (TYPE) ESH_T_DBT_CONN Consumers (Del) 20130322
2 Importing 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 Importing IT_TRIGGERS_DEL Call by reference Type reference (TYPE) ESH_T_DBT_TR Triggers (Delete) 20130322
2 Importing IV_COMMIT_WORK Call by reference Type reference (TYPE) CHAR01 Commit Work 20130322
# Exception Resumable Description Created on
1 CX_ESH_DBT_ANALYZER Database Trigger Analyzer Exception 20130322

Method GET_CONSUMERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONSUMERS Call by reference Type reference (TYPE) ESH_T_DBT_CONN Trigger Consumers 20121123
2 Importing IV_APPLICATION_TAB Call by reference Type reference (TYPE) TABNAME Application Table 20121123
3 Importing IV_GEN_TRIGGER_TAB Call by reference Type reference (TYPE) TABNAME Generated Trigger Table 20121123
4 Importing IV_RECORDER_ID Call by reference Type reference (TYPE) ESH_E_DBT_RECORDER_ID Recorder ID 20121218
5 Importing 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 Importing IR_APPLICATION_LOG Call by reference Object reference (TYPE REF TO) IF_ESH_OM_APPLOG Application Log 20130322
2 Returning RR_DBT_ADMIN Value transfer Object reference (TYPE REF TO) CL_ESH_DBT_ADMIN Administrate Database Triggers 20121123
# Exception Resumable Description Created on
1 CX_ESH_DBT_ANALYZER 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 Exporting ES_RECORDING_STATUS Call by reference Type reference (TYPE) CDC_S_RECORDING_STATUS Recording Status 20130328
2 Exporting EV_TABLE_REGISTERED Call by reference Type reference (TYPE) CHAR01 Table is registered 20130328
3 Importing 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 Exporting ES_TRIGGER Call by reference Type reference (TYPE) ESH_S_DBT_TR Database Trigger 20121123
2 Exporting ET_CONSUMERS Call by reference Type reference (TYPE) ESH_T_DBT_CONN Database Trigger Consumers 20121123
3 Importing IV_APPLICATION_TAB Call by reference Type reference (TYPE) TABNAME Application Table 20121123
4 Importing IV_GEN_TRIGGER_TAB Call by reference Type reference (TYPE) TABNAME Generated Trigger Table 20121123
5 Importing 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 Exporting ET_CONSUMERS Call by reference Type reference (TYPE) ESH_T_DBT_CONN Database Trigger Consumers 20121123
2 Exporting ET_TRIGGERS Call by reference Type reference (TYPE) ESH_T_DBT_TR Database Triggers 20121123
3 Importing IT_TRIGGERS Call by reference Type reference (TYPE) ESH_T_DBT_TR Database Triggers 20130320
4 Importing IV_PROCESSING_GROUP Call by reference Type reference (TYPE) ESH_E_DBT_PROCESSING_GROUP Database Trigger Processing Group 20121123
5 Importing 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 Exporting ET_CONSUMERS Call by reference Type reference (TYPE) ESH_T_DBT_CONN Database Trigger Consumers 20130704
2 Exporting ET_TRIGGERS Call by reference Type reference (TYPE) ESH_T_DBT_TR Database Triggers 20130320
3 Importing IT_OBJECT_TYPES Call by reference Type reference (TYPE) ESH_T_OM_OBJECT_TYPE_NAMES Table of Object Types 20130320
4 Importing IV_INCL_TARGETAUTH_TRIGGERS Call by reference Type reference (TYPE) CHAR01 ABAP_TRUE Include Triggers for Target-Auth Objects 20130704
5 Importing 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 Exporting EV_MAX_N_OF_PACKAGES Call by reference Type reference (TYPE) INT4 Maximum Number of Packages (Per Trigger) 20121211
2 Exporting EV_TRIGGER_BLOCKSIZE Call by reference Type reference (TYPE) INT4 Blocksize 20121211
3 Importing 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 Importing IT_DBT_CONSUMERS Call by reference Type reference (TYPE) ESH_T_DBT_CONN Consumers (Add/Mod) 20130322
2 Importing 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 Importing IT_TRIGGERS Call by reference Type reference (TYPE) ESH_T_DBT_TR Triggers (Create/Update) 20130322
2 Importing IV_COMMIT_WORK Call by reference Type reference (TYPE) CHAR01 Commit Work 20130322
# Exception Resumable Description Created on
1 CX_ESH_DBT_ANALYZER Database Trigger Analyzer Exception 20130322

Method START_RECORDING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_RECORDING_STATUS Call by reference Type reference (TYPE) CDC_S_RECORDING_STATUS Recording Status 20130328
2 Importing IS_DBT_TRIGGER Call by reference Type reference (TYPE) ESH_DBT_TR DBT Trigger 20130328
3 Importing IV_COMMIT_WORK Call by reference Type reference (TYPE) CHAR01 Commit Work 20130328
# Exception Resumable Description Created on
1 CX_ESH_DBT_ANALYZER 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