SAP ABAP Class CL_SRTCM_ADMIN (Admin Tool for Runtime Check Monitor)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-RTA (Application Component) Runtime Analysis
     SRTCM_ADMIN (Package) Runtime Check Monitor: Administration
Properties
Class CL_SRTCM_ADMIN  
Short Description Admin Tool for Runtime Check Monitor    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SRTCM_ADMIN   Runtime Check Monitor: Administration 
Created 20130702   SAP 
Last change 20141121    
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)
2 CL_SQLM_ADMIN Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_SRTCM_ADMIN Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_SRTCM_ADMIN has no interface implemented.
Friends
Class CL_SRTCM_ADMIN has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 AUTH_CHECK_API Instance attribute Private Object reference (TYPE REF TO) LIF_AUTH_CHECK_API 20130703
2 C_ACTIVITY_ADMIN Constant Public Type reference (TYPE) XUFUNCTION 'SQMA' 20130702
3 C_ACTIVITY_READ Constant Public Type reference (TYPE) XUFUNCTION 'SQMD' 20130702
4 C_LOG_ACT_ACTIVATE_ALL Constant Public Type reference (TYPE) STRING 'ACTIVATE_ALL' 20130719
5 C_LOG_ACT_ACTIVATE_SEL Constant Public Type reference (TYPE) STRING 'ACTIVATE_SELECTED' 20130719
6 C_LOG_ACT_REFRESH_ALL Constant Public Type reference (TYPE) STRING 'REFRESH_ALL_SERVERS' 20130910
7 C_ORIGINATOR_SRTCM Constant Public Type reference (TYPE) STRING 'SRTCM' 20131009
8 C_ORIGINATOR_SRTCMD Constant Public Type reference (TYPE) STRING 'SRTCMD' 20131009
9 C_ORIGINATOR_SRTCM_DEACTIVATE Constant Public Type reference (TYPE) STRING 'SRTCM_DEACTIVATE_TEST' 20131009
10 C_TESTKIND_KERNEL Constant Public Type reference (TYPE) TEST_KIND 'K' 20130705
11 ENQUEUE_DEQUEUE_API Instance attribute Private Object reference (TYPE REF TO) LIF_ENQUEUE_DEQUEUE 20130705
12 JOB_API Instance attribute Private Object reference (TYPE REF TO) LIF_JOB_API 20130703
13 LOGGER_API Instance attribute Private Object reference (TYPE REF TO) LIF_LOGGER_API 20130718
14 RTM_API Instance attribute Private Object reference (TYPE REF TO) LIF_RTM_API 20130705
15 SERVER_API Instance attribute Private Object reference (TYPE REF TO) LIF_SERVER_API 20130702
16 TAB_AVAILABLE_SERVER Instance attribute Public See coding 20130705
17 TAB_UNREACHABLE_SERVER Instance attribute Public See coding 20130705
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE_ALL_SERVERS Instance method Public Method 20130711
2 ACTIVATE_SELECTED_SERVERS Instance method Public Method 20130702
3 AUTHORITY_CHECK_FOR_ADMI_FCT Instance method Public Method 20130724
4 AUTHORITY_CHECK_FOR_BTCH_JOB Instance method Public Method 20130724
5 CALL_RTM_API_TO_ACTIVATE Instance method Private Method 20130710
6 COLLECT_FROM_ALL_SERVERS Instance method Public Method 20130715
7 COLLECT_FROM_LOCAL_SERVER Instance method Public Method 20130830
8 CREATE_INSTANCE Static method Public Method 20130702
9 DEACTIVATE_ALL_SERVERS Instance method Public Method 20130705
10 DEACTIVATE_ALL_SERVERS_INT Instance method Private Method 20130718
11 DEACTIVATE_SELECTED_SERVERS Instance method Public Method 20130709
12 DELETE_AND_INSERT_RTM_ACT Instance method Private Method 20130710
13 DELETE_RTM_RECORDS_FOR_TEST Instance method Public Method 20130711
14 DEQUEUE Instance method Public Method 20130702
15 ENQUEUE Instance method Public Method 20130702
16 ENSURE_RTM_JOB Instance method Private Method 20130703
17 ENSURE_UPDATE_DATA_JOB Instance method Private Method 20130703
18 GET_ALL_AVAILABLE_SERVERS Instance method Public Method 20130703
19 GET_ALL_AVAILABLE_TESTS Instance method Public Method 20130708
20 GET_ALL_AVAILABLE_TEST_IDS Static method Public Method 20130725
21 GET_CURRENT_SERVER Instance method Public Method 20130708
22 GET_TEST Instance method Public Method 20130708
23 GET_TEST_ACTIVATION_STATUS Instance method Public Method 20130711
24 LOG_ACTIVITY Instance method Private Method 20130716
25 PREPARE_ACTIVATION Instance method Private Method 20130710
26 SWITH_CHECKS_ON_OR_OFF Instance method Private Method 20130710
27 TEST_TAB_TO_TEST_ID Instance method Private Method 20130710
Events
Class CL_SRTCM_ADMIN has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TYP_SERVER_LIST Public See coding 20130705 typ_server_list type standard table of msxxlist_v6 with default key
2 TYP_STR_JOB Public Type reference (TYPE) TBTCJOB 20130703
3 TYP_STR_RESULT Public See coding 20130702 begin of typ_str_result, cnt_total type i, cnt_ok type i, cnt_failures type i, end of typ_str_result
4 TYP_TAB_JOBS Public See coding 20130703 typ_tab_jobs type standard table of typ_str_job with default key
5 TYP_TAB_RTM_ACT Public See coding 20130705 typ_tab_rtm_act type standard table of srtm_act with default key
6 TYP_TAB_SERVER Public See coding 20130702 typ_tab_server type standard table of msname2 with default key
7 TYP_TAB_TESTS Public See coding 20130708 typ_tab_tests type standard table of ref to if_srtcm_test with non-unique default key
8 TYP_TAB_TEST_IDS Public See coding 20130710 typ_tab_test_ids type standard table of srtcm_d_test_id with default key
9 TY_L_TAB_RTMACT Private See coding 20130710 ty_l_tab_rtmact type standard table of srtm_act with default key
Method Signatures

Method ACTIVATE_ALL_SERVERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DEACTIVATION_DATE Call by reference Type reference (TYPE) SYDATUM 20130716
2 Importing I_DEACTIVATION_TIME Call by reference Type reference (TYPE) SYUZEIT 20130716
3 Importing I_FLG_CHECK_AVAILIBILITY Call by reference Type reference (TYPE) BOOLE_D 20130711
4 Importing I_TAB_TESTS Call by reference Type reference (TYPE) TYP_TAB_TESTS 20130711
5 Returning R_STR_RESULT Value transfer Type reference (TYPE) TYP_STR_RESULT 20130711
# Exception Resumable Description Created on
1 CX_SRTCM_ADMIN_FAILURE 20130716

Method ACTIVATE_SELECTED_SERVERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DEACTIVATION_DATE Call by reference Type reference (TYPE) SYDATUM 20130716
2 Importing I_DEACTIVATION_TIME Call by reference Type reference (TYPE) SYUZEIT 20130716
3 Importing I_FLG_CHECK_AVAILIBILITY Call by reference Type reference (TYPE) BOOLE_D 20130702
4 Importing I_TAB_SERVERS Call by reference Type reference (TYPE) TYP_TAB_SERVER 20130702
5 Importing I_TAB_TESTS Call by reference Type reference (TYPE) TYP_TAB_TESTS 20130710
6 Returning R_STR_RESULT Value transfer Type reference (TYPE) TYP_STR_RESULT 20130702
# Exception Resumable Description Created on
1 CX_SRTCM_ADMIN_FAILURE 20130702

Method AUTHORITY_CHECK_FOR_ADMI_FCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY Call by reference Type reference (TYPE) CSEQUENCE CL_SRTCM_ADMIN=>C_ACTIVITY_READ 20130724
# Exception Resumable Description Created on
1 CX_SRTCM_AUTHORIZATION_FAILURE 20130724

Method AUTHORITY_CHECK_FOR_BTCH_JOB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY_CHANGE Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE 20130917
2 Importing I_ACTIVITY_DELETE Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130912
3 Importing I_ACTIVITY_RELEASE Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130912
4 Importing I_PERIODIC_JOBS Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE 20130724
# Exception Resumable Description Created on
1 CX_SRTCM_AUTHORIZATION_FAILURE 20130726

Method CALL_RTM_API_TO_ACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TAB_SERVERS Call by reference Type reference (TYPE) CL_SRTCM_ADMIN=>TYP_TAB_SERVER 20130710
2 Importing I_ACTIVATION Call by reference Type reference (TYPE) BOOLE_D 20130710
3 Importing I_TAB_TESTS Call by reference Type reference (TYPE) CL_SRTCM_ADMIN=>TYP_TAB_TESTS 20130710
# Exception Resumable Description Created on
1 CX_SRTCM_ADMIN_FAILURE 20130710

Method COLLECT_FROM_ALL_SERVERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ORIGINATOR Call by reference Type reference (TYPE) CSEQUENCE 20131009

Method COLLECT_FROM_ALL_SERVERS on class CL_SRTCM_ADMIN has no exception.

Method COLLECT_FROM_LOCAL_SERVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ORIGINATOR Call by reference Type reference (TYPE) CSEQUENCE 20131009

Method COLLECT_FROM_LOCAL_SERVER on class CL_SRTCM_ADMIN has no exception.

Method CREATE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_SRTCM_ADMIN 20130702

Method CREATE_INSTANCE on class CL_SRTCM_ADMIN has no exception.

Method DEACTIVATE_ALL_SERVERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ORIGINATOR Call by reference Type reference (TYPE) CSEQUENCE 20131009
2 Importing I_TAB_TESTS Call by reference Type reference (TYPE) TYP_TAB_TESTS 20130710
3 Returning R_STR_RESULT Value transfer Type reference (TYPE) TYP_STR_RESULT 20130718
# Exception Resumable Description Created on
1 CX_SRTCM_ADMIN_FAILURE 20130705

Method DEACTIVATE_ALL_SERVERS_INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TAB_TESTS Call by reference Type reference (TYPE) TYP_TAB_TESTS 20130718
2 Returning R_STR_RESULT Value transfer Type reference (TYPE) TYP_STR_RESULT 20130718
# Exception Resumable Description Created on
1 CX_SRTCM_ADMIN_FAILURE 20130718

Method DEACTIVATE_SELECTED_SERVERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FLG_CHECK_AVAILIBILITY Call by reference Type reference (TYPE) BOOLE_D New Input Values 20130709
2 Importing I_TAB_SERVERS Call by reference Type reference (TYPE) TYP_TAB_SERVER 20130709
3 Importing I_TAB_TESTS Call by reference Type reference (TYPE) TYP_TAB_TESTS 20130710
4 Returning R_STR_RESULT Value transfer Type reference (TYPE) TYP_STR_RESULT 20130709
# Exception Resumable Description Created on
1 CX_SRTCM_ADMIN_FAILURE Exception Administration API 20130709

Method DELETE_AND_INSERT_RTM_ACT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TAB_RTM_ACT Call by reference Type reference (TYPE) TYP_TAB_RTM_ACT 20130710
2 Importing I_TAB_TESTS Call by reference Type reference (TYPE) TYP_TAB_TESTS 20130710

Method DELETE_AND_INSERT_RTM_ACT on class CL_SRTCM_ADMIN has no exception.

Method DELETE_RTM_RECORDS_FOR_TEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_TEST Call by reference Object reference (TYPE REF TO) IF_SRTCM_TEST RTM Test Integration Interface 20130711
# Exception Resumable Description Created on
1 CX_SRTCM_FAILURE 20130719

Method DEQUEUE Signature

Method DEQUEUE on class CL_SRTCM_ADMIN has no parameter.
# Exception Resumable Description Created on
1 CX_SRTCM_LOCKING_FAILURE 20130702

Method ENQUEUE Signature

Method ENQUEUE on class CL_SRTCM_ADMIN has no parameter.
# Exception Resumable Description Created on
1 CX_SRTCM_LOCKING_FAILURE 20130702

Method ENSURE_RTM_JOB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) TYP_STR_JOB 20130703
# Exception Resumable Description Created on
1 CX_SRTCM_ADMIN_FAILURE 20130703

Method ENSURE_UPDATE_DATA_JOB Signature

Method ENSURE_UPDATE_DATA_JOB on class CL_SRTCM_ADMIN has no parameter.
# Exception Resumable Description Created on
1 CX_SRTCM_ADMIN_FAILURE 20130703

Method GET_ALL_AVAILABLE_SERVERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FLG_CHECK_AVAILIBILITY Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE 20130705
2 Returning RESULT Value transfer Type reference (TYPE) TYP_TAB_SERVER 20130705

Method GET_ALL_AVAILABLE_SERVERS on class CL_SRTCM_ADMIN has no exception.

Method GET_ALL_AVAILABLE_TESTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TESTS Value transfer Type reference (TYPE) TYP_TAB_TESTS 20130708

Method GET_ALL_AVAILABLE_TESTS on class CL_SRTCM_ADMIN has no exception.

Method GET_ALL_AVAILABLE_TEST_IDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TESTS Value transfer Type reference (TYPE) TYP_TAB_TEST_IDS 20130725

Method GET_ALL_AVAILABLE_TEST_IDS on class CL_SRTCM_ADMIN has no exception.

Method GET_CURRENT_SERVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_SERVER Value transfer Type reference (TYPE) MSNAME2 Application Server Name 20130708

Method GET_CURRENT_SERVER on class CL_SRTCM_ADMIN has no exception.

Method GET_TEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TEST_ID Call by reference Type reference (TYPE) SRTCM_D_TEST_ID 20130708
2 Returning R_TEST Value transfer Object reference (TYPE REF TO) IF_SRTCM_TEST 20130708

Method GET_TEST on class CL_SRTCM_ADMIN has no exception.

Method GET_TEST_ACTIVATION_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ACTIVE_SERVER Call by reference Type reference (TYPE) CL_SRTCM_ADMIN=>TYP_TAB_SERVER 20130711
2 Exporting E_ACTIVE_ON_ALL_SERVERS Call by reference Type reference (TYPE) XFLAG New Input Values 20130711
3 Exporting E_CHANGE_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20130712
4 Importing IO_TEST Call by reference Object reference (TYPE REF TO) IF_SRTCM_TEST RTM Test Integration Interface 20130711
# Exception Resumable Description Created on
1 CX_SRTCM_ADMIN_FAILURE 20130719

Method LOG_ACTIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVITY Call by reference Type reference (TYPE) STRING 20130716
2 Importing I_ORIGINATOR Call by reference Type reference (TYPE) CSEQUENCE 20131009
3 Importing I_TEST Call by reference Object reference (TYPE REF TO) IF_SRTCM_TEST 20130716

Method LOG_ACTIVITY on class CL_SRTCM_ADMIN has no exception.

Method PREPARE_ACTIVATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_STR_RESULT Call by reference Type reference (TYPE) CL_SRTCM_ADMIN=>TYP_STR_RESULT 20130710
2 Exporting E_TAB_RTMACT Call by reference Type reference (TYPE) TY_L_TAB_RTMACT 20130710
3 Exporting E_TAB_SERVERS Call by reference Type reference (TYPE) CL_SRTCM_ADMIN=>TYP_TAB_SERVER 20130710
4 Importing I_FLG_CHECK_AVAILIBILITY Call by reference Type reference (TYPE) BOOLE_D 20130710
5 Importing I_TAB_SERVERS Call by reference Type reference (TYPE) CL_SRTCM_ADMIN=>TYP_TAB_SERVER 20130710
6 Importing I_TAB_TESTS Call by reference Type reference (TYPE) CL_SRTCM_ADMIN=>TYP_TAB_TESTS 20130710

Method PREPARE_ACTIVATION on class CL_SRTCM_ADMIN has no exception.

Method SWITH_CHECKS_ON_OR_OFF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACTIVATION Call by reference Type reference (TYPE) BOOLE_D 20130710
2 Importing I_FLG_CHECK_AVAILIBILITY Call by reference Type reference (TYPE) BOOLE_D 20130710
3 Importing I_TAB_SERVERS Call by reference Type reference (TYPE) TYP_TAB_SERVER 20130710
4 Importing I_TAB_TESTS Call by reference Type reference (TYPE) TYP_TAB_TESTS 20130710
5 Returning R_STR_RESULT Value transfer Type reference (TYPE) TYP_STR_RESULT 20130710
# Exception Resumable Description Created on
1 CX_SRTCM_ADMIN_FAILURE 20130710

Method TEST_TAB_TO_TEST_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TAB_TESTS Call by reference Type reference (TYPE) TYP_TAB_TESTS 20130710
2 Returning RESULT Value transfer Type reference (TYPE) TYP_TAB_TEST_IDS 20130710

Method TEST_TAB_TO_TEST_ID on class CL_SRTCM_ADMIN has no exception.
History
Last changed by/on SAP  20141121 
SAP Release Created in 740