SAP ABAP Class CL_DBA_TEST_HANDLER (DBA: Test Data Handler)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB (Application Component) Database Interface, Database Platforms
     SDBA_TEST (Package) DBA Cockpit: Test Framework
Properties
Class CL_DBA_TEST_HANDLER  
Short Description DBA: Test Data Handler    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SDBA_TEST   DBA Cockpit: Test Framework 
Created 20110308   SAP 
Last change 20130531   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_DBA_TEST_HANDLER has no interface implemented.
Friends
Class CL_DBA_TEST_HANDLER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_CAT_COMP_BLDR Constant Public Type reference (TYPE) DBA_TEST_KEY-CATEGORY 'COMP_BLDR' DBA: Category like COMPONENT_BUILDER, RDI 20110523
2 CO_CAT_COVERAGE Constant Public Type reference (TYPE) DBA_TEST_KEY-CATEGORY 'COVERAGE' DBA: Category like COMPONENT_BUILDER, RDI 20110523
3 CO_CAT_DCF Constant Public Type reference (TYPE) DBA_TEST_KEY-CATEGORY 'DCF' DBA: Category like COMPONENT_BUILDER, RDI 20110504
4 CO_CAT_DPW_EXTRACTOR Constant Public Type reference (TYPE) DBA_TEST_KEY-CATEGORY 'DPW_EXTRACTOR' DBA: Category like COMPONENT_BUILDER, RDI 20110323
5 CO_CAT_RDI_META Constant Public Type reference (TYPE) DBA_TEST_KEY-CATEGORY 'RDI_META' DBA: Category like COMPONENT_BUILDER, RDI 20110322
6 CO_CAT_RDI_QRY Constant Public Type reference (TYPE) DBA_TEST_KEY-CATEGORY 'RDI_QRY' DBA: Category like COMPONENT_BUILDER, RDI 20110316
7 CO_CAT_RDI_QRY_AD_HOC Constant Public Type reference (TYPE) DBA_TEST_KEY-CATEGORY 'RDI_QRY_AD_HOC' DBA: Category like COMPONENT_BUILDER, RDI 20110505
8 CO_CAT_RDI_SCREEN_CHK Constant Public Type reference (TYPE) DBA_TEST_KEY-CATEGORY 'SCREEN_CHK' DBA: Category like COMPONENT_BUILDER, RDI 20110506
9 CO_CAT_SCREEN_RECORDED Constant Public Type reference (TYPE) DBA_TEST_KEY-CATEGORY 'SCREEN_RECORDED' DBA: Category like COMPONENT_BUILDER, RDI 20110920
10 CO_TEST_MODE_MANAGE Constant Public Type reference (TYPE) STRING 'MANAGE' 20110309
11 CO_TEST_MODE_NONE Constant Public Type reference (TYPE) STRING 'NONE' 20110309
12 CO_TEST_MODE_RECORD Constant Public Type reference (TYPE) STRING 'RECORD' 20110309
13 CO_TEST_MODE_REPLAY Constant Public Type reference (TYPE) STRING 'REPLAY' 20110309
14 CO_TEST_RESULT_ERROR Constant Public Type reference (TYPE) I 3 20110316
15 CO_TEST_RESULT_OK Constant Public Type reference (TYPE) I 0 20110316
16 CO_TEST_RESULT_UNKNOWN Constant Public Type reference (TYPE) I 1 20110317
17 CO_TEST_RESULT_WARNING Constant Public Type reference (TYPE) I 2 20110316
18 MS_TEST_SET Instance attribute Public Type reference (TYPE) DBA_TEST_SET DBA: Test Header Data 20110309
19 MT_TEST_DRIVERS Instance attribute Private Type reference (TYPE) TT_TEST_DRIVERS 20110315
20 SYS_REF Instance attribute Private Object reference (TYPE REF TO) CL_DB6_SYS DB6: Remote System Administration 20110308
21 TEST_KEY Instance attribute Private Type reference (TYPE) DBA_TEST_KEY DBA: Key for Data Cluster 20110318
22 TEST_MODE Instance attribute Public Type reference (TYPE) STRING 20110308
23 _INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_DBA_TEST_HANDLER DBA: Test Data Handler 20110322
Methods
# Method Level Visibility Method type Description Created on
1 ADD_TEST_DRIVER Instance method Private Method 20110315
2 CHECK_AUTO_TESTS Instance method Public Method 20110323
3 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20110308
4 CONVERT_SINGLE_TEST_RUN2REF Instance method Public Method 20110621
5 CONV_RESULT_CODE_TO_ICON Static method Public Method 20110322
6 DROP_SINGLE_TEST Static method Public Method 20110324
7 DROP_TEST_SET Static method Public Method 20110318
8 GENERATE_AUTO_TESTS Instance method Public Method 20110323
9 GET_CHECK_RESULTS Instance method Public Method 20110323
10 GET_INSTANCE Static method Public Method 20110322
11 GET_REF_DRIVER_DATA Instance method Public Method 20110322
12 GET_REF_TEST_DATA Instance method Public Method 20110322
13 GET_RUN_DRIVER_DATA Instance method Public Method 20110322
14 GET_RUN_TEST_DATA Instance method Public Method 20110322
15 GET_TEST_DRIVER Instance method Public Method 20110315
16 GET_TEST_RESULTS_OVERVIEW Static method Public Method 20110318
17 GET_TEST_RESULTS_SET_DETAILS Static method Public Method 20110318
18 GET_TEST_SYSTEMS Instance method Public Method 20110318
19 HANDLE_DATA Instance method Public Method 20110308
20 HAS_CHECK_RESULTS Instance method Public Method 20110323
21 HAS_DRIVER_DATA Instance method Public Method 20110322
22 HAS_TEST_DATA Instance method Public Method 20110322
23 RESET_RUNTIME Instance method Public Method 20110719
24 RUN Instance method Public Method 20110317
25 RUN_SINGLE_TEST Instance method Public Method 20110621
26 SET_TEST_MODE Instance method Public Method CONSTRUCTOR 20110308
Events
Class CL_DBA_TEST_HANDLER has no event.
Types
Class CL_DBA_TEST_HANDLER has no local type.
Method Signatures

Method ADD_TEST_DRIVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CATEGORY Call by reference Type reference (TYPE) DBA_TEST_KEY-CATEGORY DBA: Category like COMPONENT_BUILDER, RDI 20110315
2 Importing CLASS_NAME Call by reference Type reference (TYPE) STRING 20110315
3 Importing SUBCATEGORY Call by reference Type reference (TYPE) DBA_TEST_KEY-SUBCATEGORY DBA: Subcategories like SELECT, EXTRAC_FOR_BI 20110315

Method ADD_TEST_DRIVER on class CL_DBA_TEST_HANDLER has no exception.

Method CHECK_AUTO_TESTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning STATUS Value transfer Type reference (TYPE) I 20110323
2 Importing TEST_SET_ID Call by reference Type reference (TYPE) I DBA: Test Set ID 20110323
# Exception Resumable Description Created on
1 CX_DBA_TEST DBA-RDI: General Back-end Error 20110323

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_DBA_TEST_HANDLER has no parameter.
Method CONSTRUCTOR on class CL_DBA_TEST_HANDLER has no exception.

Method CONVERT_SINGLE_TEST_RUN2REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Test Set ID 20110621
# Exception Resumable Description Created on
1 CX_DBA_TEST DBA-RDI: General Back-end Error 20110621

Method CONV_RESULT_CODE_TO_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ICON Value transfer Type reference (TYPE) STRING 20110322
2 Importing RESULT_CODE Call by reference Type reference (TYPE) I 20110322

Method CONV_RESULT_CODE_TO_ICON on class CL_DBA_TEST_HANDLER has no exception.

Method DROP_SINGLE_TEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Test Set ID 20110324

Method DROP_SINGLE_TEST on class CL_DBA_TEST_HANDLER has no exception.

Method DROP_TEST_SET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TEST_SET_ID Call by reference Type reference (TYPE) DBA_TEST_KEY-TEST_SET_ID DBA: Test Set ID 20110318
# Exception Resumable Description Created on
1 CX_DBA_TEST DBA-RDI: General Back-end Error 20110503

Method GENERATE_AUTO_TESTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TEST_SET_ID Call by reference Type reference (TYPE) I DBA: Test Set ID 20110323
# Exception Resumable Description Created on
1 CX_DBA_TEST DBA-RDI: General Back-end Error 20110323

Method GET_CHECK_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ALV_FIELDDESCR Call by reference Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20110323
2 Exporting CHECK_RESULTS Call by reference Type reference (TYPE) ANY 20110323
3 Exporting CTAB_FNAME Call by reference Type reference (TYPE) LVC_CTFNM ALV control: Field name with complex cell color coding 20110323
4 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Key for Data Cluster 20110323

Method GET_CHECK_RESULTS on class CL_DBA_TEST_HANDLER has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TEST_HANDLER Value transfer Object reference (TYPE REF TO) CL_DBA_TEST_HANDLER DBA: Test Data Handler 20110322

Method GET_INSTANCE on class CL_DBA_TEST_HANDLER has no exception.

Method GET_REF_DRIVER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ALV_FIELDDESCR Call by reference Type reference (TYPE) LVC_T_FCAT 20110323
2 Exporting CTAB_FNAME Call by reference Type reference (TYPE) LVC_CTFNM ALV control: Field name with complex cell color coding 20110322
3 Exporting REF_DRIVER_DATA Call by reference Type reference (TYPE) ANY 20110322
4 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Key for Data Cluster 20110322

Method GET_REF_DRIVER_DATA on class CL_DBA_TEST_HANDLER has no exception.

Method GET_REF_TEST_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ALV_FIELDDESCR Call by reference Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20110323
2 Exporting CTAB_FNAME Call by reference Type reference (TYPE) LVC_CTFNM ALV control: Field name with complex cell color coding 20110323
3 Exporting REF_TEST_DATA Call by reference Type reference (TYPE) ANY 20110322
4 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Key for Data Cluster 20110322

Method GET_REF_TEST_DATA on class CL_DBA_TEST_HANDLER has no exception.

Method GET_RUN_DRIVER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ALV_FIELDDESCR Call by reference Type reference (TYPE) LVC_T_FCAT 20110323
2 Exporting CTAB_FNAME Call by reference Type reference (TYPE) LVC_CTFNM ALV control: Field name with complex cell color coding 20110322
3 Exporting RUN_DRIVER_DATA Call by reference Type reference (TYPE) ANY 20110322
4 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Key for Data Cluster 20110322

Method GET_RUN_DRIVER_DATA on class CL_DBA_TEST_HANDLER has no exception.

Method GET_RUN_TEST_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ALV_FIELDDESCR Call by reference Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20110323
2 Exporting CTAB_FNAME Call by reference Type reference (TYPE) LVC_CTFNM ALV control: Field name with complex cell color coding 20110323
3 Exporting RUN_TEST_DATA Call by reference Type reference (TYPE) ANY 20110322
4 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Key for Data Cluster 20110322

Method GET_RUN_TEST_DATA on class CL_DBA_TEST_HANDLER has no exception.

Method GET_TEST_DRIVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CATEGORY Call by reference Type reference (TYPE) DBA_TEST_KEY-CATEGORY DBA: Category like COMPONENT_BUILDER, RDI 20110315
2 Importing SUBCATEGORY Call by reference Type reference (TYPE) DBA_TEST_KEY-SUBCATEGORY '*' DBA: Subcategories like SELECT, EXTRAC_FOR_BI 20110315
3 Returning TEST_DRIVER_REF Value transfer Object reference (TYPE REF TO) IF_DBA_TEST_DRIVER DBA-TST: Test Driver 20110315

Method GET_TEST_DRIVER on class CL_DBA_TEST_HANDLER has no exception.

Method GET_TEST_RESULTS_OVERVIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TEST_RESULTS Value transfer Type reference (TYPE) DBA_TST_RESULTS_TAB DBA-TST: Test Systems 20110318

Method GET_TEST_RESULTS_OVERVIEW on class CL_DBA_TEST_HANDLER has no exception.

Method GET_TEST_RESULTS_SET_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TEST_RESULT_SETS Value transfer Type reference (TYPE) DBA_TST_RESULTS_SET_TAB DBA-TST: Test Systems 20110318
2 Importing TEST_SET_ID Call by reference Type reference (TYPE) DBA_TEST_KEY-TEST_SET_ID DBA: Test Set ID 20110318

Method GET_TEST_RESULTS_SET_DETAILS on class CL_DBA_TEST_HANDLER has no exception.

Method GET_TEST_SYSTEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning TEST_SYSTEMS Value transfer Type reference (TYPE) DBA_TEST_SYSTEM_TAB DBA-TST: Test Systems 20110318

Method GET_TEST_SYSTEMS on class CL_DBA_TEST_HANDLER has no exception.

Method HANDLE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CATEGORY Call by reference Type reference (TYPE) DBA_TEST_KEY-CATEGORY DBA: Category like COMPONENT_BUILDER, RDI 20110309
2 Importing DRIVER_REF Call by reference Object reference (TYPE REF TO) IF_DBA_TEST_DRIVER DBA-TST: Test Driver 20110316
3 Importing LOCATION Call by reference Type reference (TYPE) DBA_TEST_KEY-LOCATION DBA: Location Type like SCREEN, DPW 20110309
4 Importing OBJECT Call by reference Type reference (TYPE) DBA_TEST_KEY-OBJECT DBA: Object Name 20110309
5 Importing SUBCATEGORY Call by reference Type reference (TYPE) DBA_TEST_KEY-SUBCATEGORY DBA: Subcategories like SELECT, EXTRAC_FOR_BI 20110309
6 Importing SUBLOCATION Call by reference Type reference (TYPE) DBA_TEST_KEY-SUBLOCATION DBA: Location 20110309
7 Importing SUBOBJECT Call by reference Type reference (TYPE) DBA_TEST_KEY-SUBOBJECT DBA: Object Subname 20110309
8 Changing TEST_DATA Call by reference Type reference (TYPE) ANY 20110316
9 Importing TEST_RUNTIME Call by reference Type reference (TYPE) I 20110719

Method HANDLE_DATA on class CL_DBA_TEST_HANDLER has no exception.

Method HAS_CHECK_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning HAS_CHECK_RESULTS Value transfer Type reference (TYPE) ABAP_BOOL 20110323
2 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Key for Data Cluster 20110323

Method HAS_CHECK_RESULTS on class CL_DBA_TEST_HANDLER has no exception.

Method HAS_DRIVER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning HAS_DRIVER_DATA Value transfer Type reference (TYPE) ABAP_BOOL 20110322
2 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Key for Data Cluster 20110322

Method HAS_DRIVER_DATA on class CL_DBA_TEST_HANDLER has no exception.

Method HAS_TEST_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning HAS_TEST_DATA Value transfer Type reference (TYPE) ABAP_BOOL 20110322
2 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Key for Data Cluster 20110322

Method HAS_TEST_DATA on class CL_DBA_TEST_HANDLER has no exception.

Method RESET_RUNTIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Test Set ID 20110719
# Exception Resumable Description Created on
1 CX_DBA_TEST DBA-RDI: General Back-end Error 20110719

Method RUN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SYSID Call by reference Type reference (TYPE) DBA_TEST_SET-SYSID Name of the SAP System 20110317

Method RUN on class CL_DBA_TEST_HANDLER has no exception.

Method RUN_SINGLE_TEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEBUG Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110804
2 Importing TEST_KEY Call by reference Type reference (TYPE) DBA_TEST_KEY DBA: Test Set ID 20110621
# Exception Resumable Description Created on
1 CX_DBA_TEST DBA-RDI: General Back-end Error 20110621

Method SET_TEST_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SYS_REF Call by reference Object reference (TYPE REF TO) CL_DB6_SYS DB6: Remote System Administration 20110308
2 Importing TEST_MODE Call by reference Type reference (TYPE) STRING 20110308
3 Importing TIME_FROM Call by reference Type reference (TYPE) DB6TSTAMP DB6: Timestamp (Format: YYYYMMDDHHMMSS) 20110308
4 Importing TIME_TO Call by reference Type reference (TYPE) DB6TSTAMP DB6: Timestamp (Format: YYYYMMDDHHMMSS) 20110308
# Exception Resumable Description Created on
1 CX_DBA_TEST DBA-RDI: General Back-end Error 20110323
History
Last changed by/on SAP  20130531 
SAP Release Created in 731