SAP ABAP Class CL_ESH_DBT_DEMON (Database Trigger Demon)
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_DEMON  
Short Description Database Trigger Demon    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_ESH_ENG_DB_TRIGGER_HANDLER   Database Trigger Handler 
Created 20121126   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ESH_DBT_DEMON has no forward declaration.
Interfaces
Class CL_ESH_DBT_DEMON has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_ESH_DBT_RUNTIME 20121128 Database Trigger Runtime
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DBT_DEMON_JOBNAME_PREFIX Constant Public Type reference (TYPE) TBTCJOB-JOBNAME 'ESH_DBT_DEMON_' Job name prefix 20121126
2 GC_DBT_DEMON_LOCKARG_PREFIX Constant Public Type reference (TYPE) ESH_S_CO_LOCKTAB-LOCKARG 'ESH_DBT_DEMON~' Lock argument prefix 20121126
3 GC_DBT_DEMON_LOCK_HEADER Constant Public Type reference (TYPE) RSTABLE-TABNAME 'ESH_DBT_DEMON' Lock header 20121126
4 MR_APPLICATION_LOG Instance attribute Private Object reference (TYPE REF TO) IF_ESH_OM_APPLOG Application Log 20121126
5 MR_DBT_RUNTIME Instance attribute Private Object reference (TYPE REF TO) CL_ESH_DBT_RUNTIME Database Trigger Runtime 20121126
6 MS_DBT_ADMIN Instance attribute Private Type reference (TYPE) ESH_S_DBT_ADMIN Database Trigger Demon Administration 20121127
7 MT_LOCKTAB Instance attribute Private Type reference (TYPE) ESH_T_CO_LOCKTAB Lock administration table (lock references per lock arg.) 20121126
8 MV_DEBUG Instance attribute Private Type reference (TYPE) CHAR01 Debug mode 20121127
9 MV_JOBNAME Instance attribute Private Type reference (TYPE) TBTCJOB-JOBNAME Background Job Mame 20121126
10 MV_JOBSTART_STATUS Instance attribute Private Type reference (TYPE) ESH_E_DBT_DEMON_RT_STATUS Job Start Status 20121127
11 MV_JOBSTART_STATUS_DB Instance attribute Private Type reference (TYPE) ESH_E_DBT_DEMON_ADM_STATUS Job Start Status (DB state) 20121127
12 MV_JOBSTART_UNAME Instance attribute Private Type reference (TYPE) SYUNAME Job Start Username 20121126
13 MV_SINGLE_EXEC Instance attribute Private Type reference (TYPE) CHAR01 Single execution 20121127
14 MV_SKIP_NEXT_IDLE_TIME_CHECK Instance attribute Private Type reference (TYPE) CHAR01 Skip next idle time check 20121127
15 MV_SKIP_WAIT Instance attribute Private Type reference (TYPE) CHAR01 Skip wait 20121127
16 SR_DBT_DEMON Static Attribute Private Object reference (TYPE REF TO) CL_ESH_DBT_DEMON Database Trigger Processing Demon 20121126
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_EXIT_CONDITION Instance method Private Method Check Exit Condition 20121127
2 CHECK_ON_HOLD Instance method Protected Method Check Demon on HOLD 20121128
3 COMPOSE_JOBNAME Static method Private Method Compose Jobname 20121126
4 GET_DEMON_ADMIN_DATA Instance method Private Method Get Demon Admin Data 20121127
5 GET_DEMON_STATUS Static method Protected Method Get Demon Status 20121127
6 GET_INSTANCE Static method Public Method Get Instance 20121126
7 IS_RUNNING Static method Public Method Is running 20121126
8 LOCK Instance method Private Method Lock 20121126
9 RUN Instance method Public Method Run 20121126
10 SCHEDULE_EXECUTION Static method Public Method Schedule Execution 20121127
11 SET_DEMON_STATUS Instance method Private Method Set Demon Status 20121127
12 SET_FEEDBACK Instance method Private Method Set Feedback 20121127
13 SKIP_NEXT_IDLE_TIME_CHECK Instance method Private Method Skip next idle time check 20121128
14 SKIP_NEXT_WAIT Instance method Private Method Skip next 'wait' 20121128
15 SLEEP_A_WHILE Instance method Private Method Delay - wait for next execution 20121127
16 UNLOCK Instance method Private Method Unlock 20121126
Events
Class CL_ESH_DBT_DEMON has no event.
Types
Class CL_ESH_DBT_DEMON has no local type.
Method Signatures

Method CHECK_EXIT_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_EXIT Call by reference Type reference (TYPE) CHAR01 Exit demon 20121127
2 Changing CV_RESCHEDULE Call by reference Type reference (TYPE) CHAR01 Reschedule new process 20121127
3 Changing CV_SKIP Call by reference Type reference (TYPE) CHAR01 Skip execution ('suspended' mode) 20121127

Method CHECK_EXIT_CONDITION on class CL_ESH_DBT_DEMON has no exception.

Method CHECK_ON_HOLD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ON_HOLD Value transfer Type reference (TYPE) CHAR01 On hold 20121128

Method CHECK_ON_HOLD on class CL_ESH_DBT_DEMON has no exception.

Method COMPOSE_JOBNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_JOBNAME Value transfer Type reference (TYPE) TBTCJOB-JOBNAME Background Job Name 20121126

Method COMPOSE_JOBNAME on class CL_ESH_DBT_DEMON has no exception.

Method GET_DEMON_ADMIN_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SET_IF_MISSING Call by reference Type reference (TYPE) CHAR01 'X' Set Default DBT Demon Administration Data (if missing) 20121127
2 Returning RS_DBT_ADMIN Value transfer Type reference (TYPE) ESH_S_DBT_ADMIN Database Trigger Demon Administration Data 20121127

Method GET_DEMON_ADMIN_DATA on class CL_ESH_DBT_DEMON has no exception.

Method GET_DEMON_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ADMIN_STATUS Value transfer Type reference (TYPE) ESH_E_DBT_DEMON_ADM_STATUS Database Trigger Demon - Administration-Time Status 20121127

Method GET_DEMON_STATUS on class CL_ESH_DBT_DEMON has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DEBUG Call by reference Type reference (TYPE) CHAR01 SPACE Debug Mode 20121126
2 Importing IV_JOBNAME Call by reference Type reference (TYPE) TBTCJOB-JOBNAME Background job name 20121126
3 Importing IV_JOBSTART_STATUS Call by reference Type reference (TYPE) ESH_E_DBT_DEMON_RT_STATUS Jobstart Status 20121126
4 Importing IV_JOBSTART_UNAME Call by reference Type reference (TYPE) SYUNAME Jobstart Uname (as sent from Hub) 20121126
5 Importing IV_SINGLE_EXEC Call by reference Type reference (TYPE) CHAR01 SPACE Single Execution 20121126
6 Returning RR_DEMON_INSTANCE Value transfer Object reference (TYPE REF TO) CL_ESH_DBT_DEMON Fast Update Demon Processor 20121126

Method GET_INSTANCE on class CL_ESH_DBT_DEMON has no exception.

Method IS_RUNNING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_IS_RUNNING Value transfer Type reference (TYPE) CHAR01 Is running 20121126

Method IS_RUNNING on class CL_ESH_DBT_DEMON has no exception.

Method LOCK Signature

Method LOCK on class CL_ESH_DBT_DEMON has no parameter.
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20121126
2 CX_ESH_CO_LOCKED ESH Locking Exception 20121126

Method RUN Signature

Method RUN on class CL_ESH_DBT_DEMON has no parameter.
Method RUN on class CL_ESH_DBT_DEMON has no exception.

Method SCHEDULE_EXECUTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DELAY Call by reference Type reference (TYPE) INT4 0 Delay (in seconds) 20121127
2 Importing IV_EXTR_UNAME Call by reference Type reference (TYPE) SYUNAME Extraction User Name (under which the job will run) 20121127
3 Importing IV_JOBNAME Call by reference Type reference (TYPE) TBTCJOB-JOBNAME Background job name 20121127
4 Importing IV_JOBSTART_STATUS Call by reference Type reference (TYPE) ESH_E_DBT_DEMON_RT_STATUS Jobstart Status 20121127
5 Importing IV_JOBSTART_UNAME Call by reference Type reference (TYPE) SYUNAME Jobstart User Name (for monitoring purposes) 20121127
# Exception Resumable Description Created on
1 CX_ESH_DBT_RUNTIME Database Trigger Runtime Exception 20121127

Method SET_DEMON_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NEW_STATUS Call by reference Type reference (TYPE) ESH_E_DBT_DEMON_ADM_STATUS Database Trigger Demon - Administration-Time Status 20121127

Method SET_DEMON_STATUS on class CL_ESH_DBT_DEMON has no exception.

Method SET_FEEDBACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CONSUMER Call by reference Type reference (TYPE) ESH_S_DBT_CONN Trigger Consumer 20121127
2 Importing IS_TRIGGER Call by reference Type reference (TYPE) ESH_S_DBT_TR Trigger 20121127
3 Importing IV_DEMON_STARTED Call by reference Type reference (TYPE) CHAR01 Event Demon Started 20121127
4 Importing IV_DEMON_STOPPED Call by reference Type reference (TYPE) CHAR01 Event Demon Stopped 20121127
5 Importing IV_ERROR Call by reference Type reference (TYPE) CHAR01 Event Technical Error 20121127
6 Importing IV_EXEC_STARTED Call by reference Type reference (TYPE) CHAR01 Event Next Exec 20121128
7 Importing IV_NEXT_CONSUMER Call by reference Type reference (TYPE) CHAR01 Event Process Consumer 20121127
8 Importing IV_NEXT_TRIGGER Call by reference Type reference (TYPE) CHAR01 Event Process Trigger 20121127
9 Importing IV_RESET_TRIGGER Call by reference Type reference (TYPE) CHAR01 Event Reset Triggers Finished 20121128
10 Importing IV_RESET_TRIGGERS_STARTED Call by reference Type reference (TYPE) CHAR01 Event Reset Triggers Started 20121127

Method SET_FEEDBACK on class CL_ESH_DBT_DEMON has no exception.

Method SKIP_NEXT_IDLE_TIME_CHECK Signature

Method SKIP_NEXT_IDLE_TIME_CHECK on class CL_ESH_DBT_DEMON has no parameter.
Method SKIP_NEXT_IDLE_TIME_CHECK on class CL_ESH_DBT_DEMON has no exception.

Method SKIP_NEXT_WAIT Signature

Method SKIP_NEXT_WAIT on class CL_ESH_DBT_DEMON has no parameter.
Method SKIP_NEXT_WAIT on class CL_ESH_DBT_DEMON has no exception.

Method SLEEP_A_WHILE Signature

Method SLEEP_A_WHILE on class CL_ESH_DBT_DEMON has no parameter.
Method SLEEP_A_WHILE on class CL_ESH_DBT_DEMON has no exception.

Method UNLOCK Signature

Method UNLOCK on class CL_ESH_DBT_DEMON has no parameter.
Method UNLOCK on class CL_ESH_DBT_DEMON has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740