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 | Constant | Public | Type reference (TYPE) | TBTCJOB-JOBNAME | 'ESH_DBT_DEMON_' | Job name prefix | 20121126 | ||
| 2 | Constant | Public | Type reference (TYPE) | ESH_S_CO_LOCKTAB-LOCKARG | 'ESH_DBT_DEMON~' | Lock argument prefix | 20121126 | ||
| 3 | Constant | Public | Type reference (TYPE) | RSTABLE-TABNAME | 'ESH_DBT_DEMON' | Lock header | 20121126 | ||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_ESH_OM_APPLOG | Application Log | 20121126 | |||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ESH_DBT_RUNTIME | Database Trigger Runtime | 20121126 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | ESH_S_DBT_ADMIN | Database Trigger Demon Administration | 20121127 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | ESH_T_CO_LOCKTAB | Lock administration table (lock references per lock arg.) | 20121126 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Debug mode | 20121127 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | TBTCJOB-JOBNAME | Background Job Mame | 20121126 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | ESH_E_DBT_DEMON_RT_STATUS | Job Start Status | 20121127 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | ESH_E_DBT_DEMON_ADM_STATUS | Job Start Status (DB state) | 20121127 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | SYUNAME | Job Start Username | 20121126 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Single execution | 20121127 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Skip next idle time check | 20121127 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | CHAR01 | Skip wait | 20121127 | |||
| 16 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ESH_DBT_DEMON | Database Trigger Processing Demon | 20121126 |
Methods
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 | CV_EXIT | Call by reference | Type reference (TYPE) | CHAR01 | Exit demon | 20121127 | |||
| 2 | CV_RESCHEDULE | Call by reference | Type reference (TYPE) | CHAR01 | Reschedule new process | 20121127 | |||
| 3 | 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 | 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 | 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 | IV_SET_IF_MISSING | Call by reference | Type reference (TYPE) | CHAR01 | 'X' | Set Default DBT Demon Administration Data (if missing) | 20121127 | ||
| 2 | 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 | 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 | IV_DEBUG | Call by reference | Type reference (TYPE) | CHAR01 | SPACE | Debug Mode | 20121126 | ||
| 2 | IV_JOBNAME | Call by reference | Type reference (TYPE) | TBTCJOB-JOBNAME | Background job name | 20121126 | |||
| 3 | IV_JOBSTART_STATUS | Call by reference | Type reference (TYPE) | ESH_E_DBT_DEMON_RT_STATUS | Jobstart Status | 20121126 | |||
| 4 | IV_JOBSTART_UNAME | Call by reference | Type reference (TYPE) | SYUNAME | Jobstart Uname (as sent from Hub) | 20121126 | |||
| 5 | IV_SINGLE_EXEC | Call by reference | Type reference (TYPE) | CHAR01 | SPACE | Single Execution | 20121126 | ||
| 6 | 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 | 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 | Common ESH Engine Exception | 20121126 | ||
| 2 | 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 | IV_DELAY | Call by reference | Type reference (TYPE) | INT4 | 0 | Delay (in seconds) | 20121127 | ||
| 2 | IV_EXTR_UNAME | Call by reference | Type reference (TYPE) | SYUNAME | Extraction User Name (under which the job will run) | 20121127 | |||
| 3 | IV_JOBNAME | Call by reference | Type reference (TYPE) | TBTCJOB-JOBNAME | Background job name | 20121127 | |||
| 4 | IV_JOBSTART_STATUS | Call by reference | Type reference (TYPE) | ESH_E_DBT_DEMON_RT_STATUS | Jobstart Status | 20121127 | |||
| 5 | IV_JOBSTART_UNAME | Call by reference | Type reference (TYPE) | SYUNAME | Jobstart User Name (for monitoring purposes) | 20121127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | IS_CONSUMER | Call by reference | Type reference (TYPE) | ESH_S_DBT_CONN | Trigger Consumer | 20121127 | |||
| 2 | IS_TRIGGER | Call by reference | Type reference (TYPE) | ESH_S_DBT_TR | Trigger | 20121127 | |||
| 3 | IV_DEMON_STARTED | Call by reference | Type reference (TYPE) | CHAR01 | Event Demon Started | 20121127 | |||
| 4 | IV_DEMON_STOPPED | Call by reference | Type reference (TYPE) | CHAR01 | Event Demon Stopped | 20121127 | |||
| 5 | IV_ERROR | Call by reference | Type reference (TYPE) | CHAR01 | Event Technical Error | 20121127 | |||
| 6 | IV_EXEC_STARTED | Call by reference | Type reference (TYPE) | CHAR01 | Event Next Exec | 20121128 | |||
| 7 | IV_NEXT_CONSUMER | Call by reference | Type reference (TYPE) | CHAR01 | Event Process Consumer | 20121127 | |||
| 8 | IV_NEXT_TRIGGER | Call by reference | Type reference (TYPE) | CHAR01 | Event Process Trigger | 20121127 | |||
| 9 | IV_RESET_TRIGGER | Call by reference | Type reference (TYPE) | CHAR01 | Event Reset Triggers Finished | 20121128 | |||
| 10 | 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 |