Hierarchy

⤷

⤷

Properties
Class | CL_ESH_TREX_STOP_START | |
Short Description | Services to stop or restart indexing | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_ESH_ENG_TREX | TREX handling for Enterprise Search |
Created | 20121016 | 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_TREX_STOP_START has no interface implemented.
Friends
Class CL_ESH_TREX_STOP_START has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | ESH_E_ADM_VALUE | 'EXCL_AUTORESTART_ON_RESUME' | Restart Request ID | 20130626 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | ESH_E_TREX_FEATURE | 'EXCL%' | Entry Key Prefix 'EXCL%' | 20130626 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR10 | 'START' | Suspend Mode: Stop/Start Action "Start Indexing" | 20121016 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR10 | 'STOP' | Suspend Mode: Stop/Start Action "Stop Indexing" | 20121016 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | TBTCJOB-JOBNAME | 'ESH_RESUME_I_' | Job name prefix | 20121016 | |
6 | ![]() |
Constant | Public | Type reference (TYPE) | TBTCJOB-JOBNAME | 'ESH_SUSPND_I_' | Job name prefix | 20121016 | |
7 | ![]() |
Constant | Public | Type reference (TYPE) | RSTABLE-TABNAME | 'ESH_IDX_STOP_START' | Lock Header for STOP/START INDEXING Process | 20121016 | |
8 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | '1' | Suspend Mode: Stop/Start Status "Active (Not on Hold)" | 20121016 | |
9 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | '0' | Suspend Mode: Stop/Start Status "Indexing on Hold" | 20121016 | |
10 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | '+' | Suspend Mode: Stop/Start Status "Indexing Starting" | 20121016 | |
11 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | '-' | Suspend Mode: Stop/Start Status "Indexing Stopping" | 20121016 | |
12 | ![]() |
Constant | Public | Type reference (TYPE) | ESH_E_TREX_FEATURE | 'GLOBALHOLD' | Entry Key 'GLOBALHOLD' | 20121016 | |
13 | ![]() |
Constant | Public | Type reference (TYPE) | ESH_E_TREX_FEATURE | 'RESTART%' | Entry Key Prefix 'RESTART%' | 20121016 | |
14 | ![]() |
Constant | Public | Type reference (TYPE) | ESH_E_ADM_VALUE | 'INITIAL_INDEXING' | Restart Request ID: 'Initial Indexing'Restart Request ID: 'I | 20121016 | |
15 | ![]() |
Constant | Public | Type reference (TYPE) | ESH_E_ADM_VALUE | 'RTI' | Restart Request ID: 'Initial Real-Time Indexing' | 20121016 | |
16 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_ESH_OM_APPLOG | Application Log | 20121016 | ||
17 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ESH_T_CO_LOCKTAB | Lock administration table (lock references per lock arg.) | 20121016 | ||
18 | ![]() |
Instance attribute | Private | Type reference (TYPE) | INT4 | Exclusion Counter | 20130626 | ||
19 | ![]() |
Instance attribute | Private | Type reference (TYPE) | INT4 | Restart Conter | 20121016 |
Methods
Events
Class CL_ESH_TREX_STOP_START has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | GTY_S_EXCL_OBJECTS | Private | See coding | Excluded Objects | 20130627 | BEGIN OF gty_s_excl_objects,
logsys TYPE logsys,
object_type TYPE esh_e_om_object_type,
END OF gty_s_excl_objects
|
|
2 | GTY_S_INDEX_IDS_BY_LOGSYS | Private | See coding | Index IDs by Logsys | 20130828 | BEGIN OF gty_s_index_ids_by_logsys,
logsys TYPE logsys,
index_ids TYPE esh_t_if_index_id,
END OF gty_s_index_ids_by_logsys
|
|
3 | GTY_S_LOGSYS_OBJECTS | Private | See coding | Objects to Analyze (Aggregated by Logical System) | 20121016 | BEGIN OF gty_s_logsys_objects,
logsys TYPE logsys,
objects TYPE gty_t_object_to_analyze,
END OF gty_s_logsys_objects
|
|
4 | GTY_S_OBJECT_TO_ANALYZE | Private | See coding | Objects to Analyze | 20121016 | BEGIN OF gty_s_object_to_analyze,
object_type TYPE esh_e_om_object_type,
template_type TYPE esh_e_om_template_type,
ext_sys_id TYPE esh_e_adm_external_system_id,
jobtype TYPE char01, " 'I' Ini, 'D' Delta, 'R' RTI
END OF gty_s_object_to_analyze
|
|
5 | GTY_S_RUNNING_JOBS | Private | See coding | Running Jobs | 20121016 | BEGIN OF gty_s_running_jobs,
logsys TYPE logsys,
object_type TYPE esh_e_om_object_type,
initial_indexing TYPE esh_e_adm_tstmp_initial_index,
delta_indexing TYPE esh_e_adm_tstmp_delta_indexing,
last_object_id TYPE esh_e_if_general_id,
jobname TYPE btcjob,
jobcount_ii TYPE btcjobcnt,
jobcount_di TYPE btcjobcnt,
variant_index TYPE raldb_vari,
* REGISTER_FOR_RTI type CHAR01, "will be read from variant
END OF gty_s_running_jobs
|
|
6 | GTY_T_EXCL_OBJECTS | Private | See coding | Excluded Objects | 20130627 | gty_t_excl_objects TYPE STANDARD TABLE OF gty_s_excl_objects
WITH NON-UNIQUE KEY logsys object_type
|
|
7 | GTY_T_INDEX_IDS_BY_LOGSYS | Private | See coding | Index IDs By Logsys | 20130828 | gty_t_index_ids_by_logsys TYPE SORTED TABLE OF gty_s_index_ids_by_logsys
WITH UNIQUE KEY logsys
|
|
8 | GTY_T_LOGSYS_OBJECTS | Private | See coding | Objects to Analyze (Aggregated by Logical System) | 20121016 | gty_t_logsys_objects TYPE STANDARD TABLE OF gty_s_logsys_objects
WITH NON-UNIQUE KEY logsys
|
|
9 | GTY_T_OBJECT_TO_ANALYZE | Private | See coding | Objects to Analyze | 20121016 | gty_t_object_to_analyze TYPE STANDARD TABLE OF gty_s_object_to_analyze
WITH NON-UNIQUE KEY object_type
|
|
10 | GTY_T_RUNNING_JOBS | Private | See coding | Running Jobs | 20121016 | gty_t_running_jobs TYPE STANDARD TABLE OF gty_s_running_jobs
WITH NON-UNIQUE KEY logsys object_type
|
Method Signatures
Method APPLOG_ADD_CURRENT_STATUS_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_STATUS | Call by reference | Type reference (TYPE) | CHAR01 | Indexing Status (0 Hold, 1 Active, '+' Starting, '-' Stoppg) | 20121016 |
Method APPLOG_ADD_CURRENT_STATUS_INFO on class CL_ESH_TREX_STOP_START has no exception.
Method CHECK_INDEXING_SUSPENDED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_INDEXING_SUSPENDED | Value transfer | Type reference (TYPE) | CHAR01 | Indexing is currently suspended | 20121016 |
Method CHECK_INDEXING_SUSPENDED on class CL_ESH_TREX_STOP_START has no exception.
Method CHECK_JOBS_STILL_RUNNING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_COMPLETED_JOBS | Call by reference | Type reference (TYPE) | GTY_T_RUNNING_JOBS | Completed Jobs | 20121016 | ||
2 | ![]() |
CT_RUNNING_JOBS | Call by reference | Type reference (TYPE) | GTY_T_RUNNING_JOBS | Running Jobs | 20121016 |
Method CHECK_JOBS_STILL_RUNNING on class CL_ESH_TREX_STOP_START has no exception.
Method COMPLETED_JOBS_MERGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_INDEX_IDS | Call by reference | Type reference (TYPE) | GTY_T_INDEX_IDS_BY_LOGSYS | Index IDs | 20121016 |
Method COMPLETED_JOBS_MERGE on class CL_ESH_TREX_STOP_START has no exception.
Method COMPLETED_JOBS_OPTIMIZE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_INDEX_IDS | Call by reference | Type reference (TYPE) | GTY_T_INDEX_IDS_BY_LOGSYS | Index IDs | 20121016 |
Method COMPLETED_JOBS_OPTIMIZE on class CL_ESH_TREX_STOP_START has no exception.
Method COMPOSE_JOBNAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ACTION | Call by reference | Type reference (TYPE) | CHAR10 | Action (STOP/START) | 20121016 | ||
2 | ![]() |
RV_JOBNAME | Value transfer | Type reference (TYPE) | TBTCJOB-JOBNAME | Background job name | 20121016 |
Method COMPOSE_JOBNAME on class CL_ESH_TREX_STOP_START has no exception.
Method EXCLUSION_LIST_ADD_OBJECTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_EXCLUSION_LIST_ADD | Call by reference | Type reference (TYPE) | ESH_T_ADM_SC_INFO | Exclusion List: Add | 20130626 | ||
2 | ![]() |
IV_COMMIT_WORK | Call by reference | Type reference (TYPE) | CHAR01 | Commit Work | 20130626 |
Method EXCLUSION_LIST_ADD_OBJECTS on class CL_ESH_TREX_STOP_START has no exception.
Method EXCLUSION_LIST_DEL_OBJECTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_EXCLUSION_LIST_DEL | Call by reference | Type reference (TYPE) | ESH_T_ADM_SC_INFO | Exclusion List: Del | 20130626 | ||
2 | ![]() |
IV_COMMIT_WORK | Call by reference | Type reference (TYPE) | CHAR01 | Commit Work | 20130626 |
Method EXCLUSION_LIST_DEL_OBJECTS on class CL_ESH_TREX_STOP_START has no exception.
Method GET_CURRENT_JOBS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_RUNNING_JOBS | Call by reference | Type reference (TYPE) | GTY_T_RUNNING_JOBS | Running indexing jobs (initial/delta) | 20121016 |
Method GET_CURRENT_JOBS on class CL_ESH_TREX_STOP_START has no exception.
Method GET_CURRENT_STATUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_ADDITIONAL_INFO_01 | Call by reference | Type reference (TYPE) | BAPI_MSG | Additional Info 01 | 20121016 | ||
2 | ![]() |
EV_ADDITIONAL_INFO_02 | Call by reference | Type reference (TYPE) | BAPI_MSG | Additional Info 02 | 20121016 | ||
3 | ![]() |
EV_ADDITIONAL_INFO_03 | Call by reference | Type reference (TYPE) | BAPI_MSG | Additional Info 03 | 20121016 | ||
4 | ![]() |
EV_STATUS | Call by reference | Type reference (TYPE) | CHAR01 | Indexing Status (0 Hold, 1 Active, '+' Starting, '-' Stoppg) | 20121016 | ||
5 | ![]() |
EV_STATUS_DISPLAYTEXT | Call by reference | Type reference (TYPE) | BAPI_MSG | Status Displaytext | 20121016 |
Method GET_CURRENT_STATUS on class CL_ESH_TREX_STOP_START has no exception.
Method GET_EXCLUSION_LIST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_EXCLUSION_LIST | Call by reference | Type reference (TYPE) | ESH_T_ADM_SC_INFO | Exclusion List: Objects not considered for auto-restart | 20130626 |
Method GET_EXCLUSION_LIST on class CL_ESH_TREX_STOP_START has no exception.
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_APPLOG | Call by reference | Object reference (TYPE REF TO) | IF_ESH_OM_APPLOG | Application Log | 20121016 | ||
2 | ![]() |
RR_STOP_START | Value transfer | Object reference (TYPE REF TO) | CL_ESH_TREX_STOP_START | Services to stop or restart indexing | 20121016 |
Method GET_INSTANCE on class CL_ESH_TREX_STOP_START has no exception.
Method GET_NEXT_EXCL_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_NEXT_EXCL_ID | Value transfer | Type reference (TYPE) | ESH_E_TREX_FEATURE | Next Exclusion Request ID | 20130626 |
Method GET_NEXT_EXCL_ID on class CL_ESH_TREX_STOP_START has no exception.
Method GET_NEXT_RESTART_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_NEXT_RESTART_ID | Value transfer | Type reference (TYPE) | ESH_E_TREX_FEATURE | Next Restart Request ID | 20121016 |
Method GET_NEXT_RESTART_ID on class CL_ESH_TREX_STOP_START has no exception.
Method GET_STATUS_TEXTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_ADDITIONAL_INFO_01 | Call by reference | Type reference (TYPE) | BAPI_MSG | Additional Info 01 | 20121016 | ||
2 | ![]() |
EV_ADDITIONAL_INFO_02 | Call by reference | Type reference (TYPE) | BAPI_MSG | Additional Info 02 | 20121016 | ||
3 | ![]() |
EV_ADDITIONAL_INFO_03 | Call by reference | Type reference (TYPE) | BAPI_MSG | Additional Info 03 | 20121016 | ||
4 | ![]() |
EV_STATUS_DISPLAYTEXT | Call by reference | Type reference (TYPE) | BAPI_MSG | Status Displaytext | 20121016 | ||
5 | ![]() |
IV_STATUS | Call by reference | Type reference (TYPE) | CHAR01 | Indexing Status (0 Hold, 1 Active, '+' Starting, '-' Stoppg) | 20121016 |
Method GET_STATUS_TEXTS on class CL_ESH_TREX_STOP_START has no exception.
Method GET_SUSPEND_MODE_ADMIN_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_INI_RESTART_COUNT | Call by reference | Type reference (TYPE) | INT4 | Count of Initial Indexing Jobs | 20121016 | ||
2 | ![]() |
EV_SUSPEND_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Timestamp | 20121016 | ||
3 | ![]() |
EV_SUSPEND_USER | Call by reference | Type reference (TYPE) | USERNAME | User Name | 20121016 |
Method GET_SUSPEND_MODE_ADMIN_DATA on class CL_ESH_TREX_STOP_START has no exception.
Method IS_RUNNING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_ACTION | Call by reference | Type reference (TYPE) | CHAR10 | 'STOP' / 'START' | 20121016 | ||
2 | ![]() |
EV_IS_RUNNING | Call by reference | Type reference (TYPE) | CHAR01 | Is Running | 20121016 |
Method IS_RUNNING on class CL_ESH_TREX_STOP_START has no exception.
Method JOBS_GET_INDEX_LIST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_INDEX_IDS | Call by reference | Type reference (TYPE) | GTY_T_INDEX_IDS_BY_LOGSYS | Index IDs | 20121016 | ||
2 | ![]() |
IT_RUNNING_JOBS | Call by reference | Type reference (TYPE) | GTY_T_RUNNING_JOBS | Running Jobs | 20121016 | ||
3 | ![]() |
IV_INCLUDE_ANY_OBJECTS | Call by reference | Type reference (TYPE) | CHAR01 | Include Any Further Objects of Type CR | 20121026 | ||
4 | ![]() |
IV_INCLUDE_RTI_OBJECTS | Call by reference | Type reference (TYPE) | CHAR01 | Include Real-Time Indexing Objects | 20121016 |
Method JOBS_GET_INDEX_LIST on class CL_ESH_TREX_STOP_START has no exception.
Method LOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ACTION | Call by reference | Type reference (TYPE) | CHAR10 | 'START' / 'STOP' | 20121016 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20121016 |
Method RESTART_INDEXING Signature
Method RESTART_INDEXING on class CL_ESH_TREX_STOP_START has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20121016 |
Method SCHEDULE_EXECUTION 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 | 20121016 | ||
2 | ![]() |
IV_ACTION | Call by reference | Type reference (TYPE) | CHAR10 | Action (STOP/START) | 20121016 | ||
3 | ![]() |
IV_DELAY | Call by reference | Type reference (TYPE) | INT4 | 0 | Delay | 20121016 | |
4 | ![]() |
IV_EXEC_UNAME | Call by reference | Type reference (TYPE) | SYUNAME | Exec User (Default: ESH Extraction User) | 20121016 | ||
5 | ![]() |
IV_JOBNAME | Call by reference | Type reference (TYPE) | TBTCJOB-JOBNAME | Jobname (Default: ESH_SUSPEND../ESH_RESUME..) | 20121016 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20121016 |
Method STOP_INDEXING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_MAX_WAITTIME | Call by reference | Type reference (TYPE) | INT4 | 1800 | Maximum wait-time for jobs to terminate (default: 1800 s) | 20121016 | |
2 | ![]() |
IV_MERGE_INDICES_AT_END | Call by reference | Type reference (TYPE) | CHAR01 | ABAP_TRUE | Merge Indices at End of Processes | 20121016 | |
3 | ![]() |
IV_OPTIMIZE_INDICES_AT_END | Call by reference | Type reference (TYPE) | CHAR01 | ABAP_TRUE | Optimize Indices at End of Process | 20121016 | |
4 | ![]() |
IV_WAIT_FOR_COMPLETION | Call by reference | Type reference (TYPE) | CHAR01 | ABAP_TRUE | Wait for Completion | 20121016 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20121016 |
Method UNLOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ACTION | Call by reference | Type reference (TYPE) | CHAR10 | 'START' / 'STOP' | 20121016 |
Method UNLOCK on class CL_ESH_TREX_STOP_START has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |