SAP ABAP Class CL_APL_ECATT_ALL_PAIRS (Generation of AllPairs Test Variants)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-TWB-TST-ECA (Application Component) eCATT Extended Computer Aided Test Tool
     SECATT_ALL_PAIRS_APL (Package) Implementation of Methodology
Properties
Class CL_APL_ECATT_ALL_PAIRS  
Short Description Generation of AllPairs Test Variants    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SECATT_ALL_PAIRS_APL   Implementation of Methodology 
Created 20120425   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_APL_ECATT_ALL_PAIRS has no forward declaration.
Interfaces
Class CL_APL_ECATT_ALL_PAIRS has no interface implemented.
Friends
Class CL_APL_ECATT_ALL_PAIRS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 AT_ALL_PAIRS_DISPLAY Instance attribute Private Type reference (TYPE) CTY_INT_INT_TAB 20120425
2 AT_ALL_POSSIBLE_PAIRS Instance attribute Private See coding 20120808
3 AT_LEGAL_VALUES Instance attribute Private Type reference (TYPE) CTY_INT_INT_TAB 20120425
4 AT_PARAMETER_POSITIONS Instance attribute Private Type reference (TYPE) CTY_INT_TAB 20120425
5 AT_PARAMETER_VALUES Instance attribute Private Type reference (TYPE) CTY_STRING_TAB 20120425
6 AT_PARAMS_AND_VALUES Instance attribute Private See coding 20120425
7 AT_TEST_SETS Instance attribute Private Type reference (TYPE) CTY_INT_INT_TAB 20120425
8 AT_UNUSED_COUNTS Instance attribute Private Type reference (TYPE) CTY_INT_TAB 20120425
9 AT_UNUSED_PAIRS Instance attribute Private Type reference (TYPE) CTY_INT_INT_TAB 20120425
10 AT_UNUSED_PAIRS_SEARCH Instance attribute Private Type reference (TYPE) CTY_INT_INT_TAB 20120425
11 A_NUMBER_PAIRS Instance attribute Private Type reference (TYPE) I Number of Parameters 20120425
12 A_NUMBER_PARAMETERS Instance attribute Private Type reference (TYPE) I Number of Parameters 20120425
13 A_NUMBER_PARAMETER_VALUES Instance attribute Private Type reference (TYPE) I Number of Parameters 20120425
14 A_POOLSIZE Instance attribute Private Type reference (TYPE) I 20 Number of Parameters 20120425
Methods
# Method Level Visibility Method type Description Created on
1 CALL_PICT Static method Public Method Call of PICT Program 20120514
2 CREATE_PICT_FROM_PARAMS Static method Public Method Create PICT Text File from eCATT Params Object 20130508
3 ECATT_TO_PICT Static method Private Method Create PICT Text File from eCATT Variables 20120905
4 INIT_DATA Instance method Private Method Set Data 20120425
5 NUMBER_PAIRS_CAPTURED Static method Private Method Number of Unused Pairs 20120425
6 PICT_TO_ECATT Static method Private Method Transfer of Results from PICT to eCATT 20120905
7 SET_VARIANTS_TO_PARAMS Static method Public Method Transfer of Variants to an eCATT Params Object 20130508
8 SIMPLE_PARAM_TO_PICT Static method Private Method Create PICT Entry for a Variable 20130508
9 TEXT_CHECK_EXISTENCE Static method Public Method Check whether text exists 20130805
10 TEXT_DELETE_DATA Static method Public Method Delete Text Data/Lines 20130812
11 TEXT_DELETE_HEAD_LINE Static method Public Method Delete Header Data 20130812
12 TEXT_GET_DATA Static method Public Method Load Text Data/Rows 20130612
13 TEXT_GET_HEAD_LINES Static method Public Method Get header data for existing texts for eCATT object 20121010
14 TEXT_GET_LAST_USED Static method Public Method Last changed text names for eCATT object and user 20121010
15 TEXT_SAVE_DATA Static method Public Method Save Text Data/Lines 20130805
16 TEXT_SAVE_HEAD_LINE Static method Public Method Save Header Data 20130805
17 TEXT_SAVE_LAST_USED Static method Public Method Save Text Data/Lines 20130805
Events
Class CL_APL_ECATT_ALL_PAIRS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 CTY_INT_INT_TAB Private See coding 20120425 cty_int_int_tab TYPE TABLE OF cty_int_tab WITH DEFAULT KEY
2 CTY_INT_TAB Private See coding 20120425 cty_int_tab TYPE TABLE OF i WITH DEFAULT KEY
3 CTY_ONE_PAIR Private See coding 20120530 BEGIN OF cty_one_pair, val_1 TYPE i, val_2 TYPE i, used_count TYPE i, END OF cty_one_pair
4 CTY_ONE_PARAM Private See coding 20120530 BEGIN OF cty_one_param, par_name TYPE string, par_values TYPE cty_string_tab, END OF cty_one_param
5 CTY_PAIR_TAB Private See coding 20120530 BEGIN OF cty_pair_tab, par_1 TYPE i, par_val_count_1 type i, par_2 TYPE i, par_val_count_2 type i, pairs_count type i, values TYPE cty_tab_of_pairs, END OF cty_pair_tab
6 CTY_STRING_TAB Private See coding 20120425 cty_string_tab TYPE TABLE OF string WITH DEFAULT KEY
7 CTY_TAB_OF_PAIRS Private See coding 20120604 cty_tab_of_pairs TYPE SORTED TABLE OF cty_one_pair WITH NON-UNIQUE KEY primary_key COMPONENTS used_count
Method Signatures

Method CALL_PICT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_GENERATED_VARIANTS Call by reference Type reference (TYPE) ETPAR_VARI_TABTYPE Tabelle für Varianten von Parameterwerten 20130508
2 Exporting E_RESULT_TEXT Call by reference Type reference (TYPE) STANDARD TABLE 20130508
3 Importing I_SOURCE_TEXT Call by reference Type reference (TYPE) STANDARD TABLE 20130508

Method CALL_PICT on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method CREATE_PICT_FROM_PARAMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PICT_TAB Call by reference Type reference (TYPE) STRINGTAB Table of Strings 20130508
2 Importing IP_PARAMS Call by reference Object reference (TYPE REF TO) CL_APL_ECATT_PARAMS Parameter object 20130508
3 Importing IT_SELECTED_PARAMS Call by reference Type reference (TYPE) STRINGTAB Selected parameters 20130508
4 Importing I_WITH_ALL_VARIANT_VALUES Call by reference Type reference (TYPE) ETONOFF SPACE Include values from all existing variant 20130508
5 Importing I_WITH_DEFAULT_VALUES Call by reference Type reference (TYPE) ETONOFF SPACE Values from ECATTDEFAULT variant 20130508
6 Importing I_WITH_OUT_OF_RANGE_VALUES Call by reference Type reference (TYPE) ETONOFF SPACE Incorrect values: i.e. min - 1, max + 1, 20130508
7 Importing I_WITH_STD_VALUES Call by reference Type reference (TYPE) ETONOFF SPACE Correct values: i.e. min, max, 'after clear' 20130508

Method CREATE_PICT_FROM_PARAMS on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method ECATT_TO_PICT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_PICT_TAB Call by reference Type reference (TYPE) STRINGTAB Tabelle mit Strings 20120905
2 Importing IT_PARAMS_DEF Call by reference Type reference (TYPE) ETPAR_DEF_TABTYPE Tabelle zur Parameterdefinition 20130417
3 Importing IT_PARAMS_VALUES Call by reference Type reference (TYPE) ETPAR_VARI_TABTYPE Tabelle für Varianten von Parameterwerten 20130417
4 Importing IT_SELECTED_PARAMS Call by reference Type reference (TYPE) STRINGTAB Tabelle mit Strings 20130417
5 Importing I_WITH_ALL_VARIANT_VALUES Call by reference Type reference (TYPE) ETONOFF SPACE eCATT Schalter Ein/Aus 20130320
6 Importing I_WITH_DEFAULT_VALUES Call by reference Type reference (TYPE) ETONOFF SPACE eCATT Schalter Ein/Aus 20120905
7 Importing I_WITH_OUT_OF_RANGE_VALUES Call by reference Type reference (TYPE) ETONOFF SPACE eCATT Schalter Ein/Aus 20130417
8 Importing I_WITH_STD_VALUES Call by reference Type reference (TYPE) ETONOFF SPACE eCATT Schalter Ein/Aus 20120905

Method ECATT_TO_PICT on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method INIT_DATA Signature

Method INIT_DATA on class CL_APL_ECATT_ALL_PAIRS has no parameter.
Method INIT_DATA on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method NUMBER_PAIRS_CAPTURED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TESTSET Call by reference Type reference (TYPE) CTY_INT_TAB 20120425
2 Importing IT_UNUSED_PAIRS_SEARCH Call by reference Type reference (TYPE) CTY_INT_INT_TAB 20120425
3 Returning RE_NUMBER Value transfer Type reference (TYPE) I Ganze Zahl mit Vorzeichen 20120425

Method NUMBER_PAIRS_CAPTURED on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method PICT_TO_ECATT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PAR_VARI Call by reference Type reference (TYPE) ETPAR_VARI_TABTYPE Tabelle für Varianten von Parameterwerten 20120905
2 Importing IT_PICT_RESULT Call by reference Type reference (TYPE) STANDARD TABLE 20120905

Method PICT_TO_ECATT on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method SET_VARIANTS_TO_PARAMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_PARAMS Call by reference Object reference (TYPE REF TO) CL_APL_ECATT_PARAMS Parameter-Objekt 20130508
2 Importing IT_NEW_VARIANTS Call by reference Type reference (TYPE) ETPAR_VARI_TABTYPE Tabelle mit Werten für Varianten 20130508
3 Importing IT_SELECTED_VARIANTS Call by reference Type reference (TYPE) STRINGTAB Tabelle mit Variantennamen 20130508
4 Importing I_KEEP_OLD_VARIANTS Call by reference Type reference (TYPE) ETONOFF SPACE Vorhandene Varianten erhalten? 20130508

Method SET_VARIANTS_TO_PARAMS on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method SIMPLE_PARAM_TO_PICT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_PICT_TAB Call by reference Type reference (TYPE) STRINGTAB Tabelle mit Strings 20130508
2 Importing IS_PARAM_DEF Call by reference Type reference (TYPE) ETPAR_DEF Tabelle zur Parameterdefinition 20130508
3 Importing IT_PARAM_VARIANT_VALUES Call by reference Type reference (TYPE) ETPAR_VALS_TABTYPE Tabelle für Werte 20130508
4 Importing I_PARAM_DEFAULT_VALUE Call by reference Type reference (TYPE) STRING SPACE 20130508
5 Importing I_WITH_OUT_OF_RANGE_VALUES Call by reference Type reference (TYPE) ETONOFF SPACE eCATT Schalter Ein/Aus 20130508
6 Importing I_WITH_STD_VALUES Call by reference Type reference (TYPE) ETONOFF SPACE eCATT Schalter Ein/Aus 20130508

Method SIMPLE_PARAM_TO_PICT on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method TEXT_CHECK_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HEAD Call by reference Type reference (TYPE) ETALLPAIRS_HEAD Headerdaten zu den AllPairs Objekten 20130805
2 Returning R_EXISTS Value transfer Type reference (TYPE) ETONOFF 'X' = Textdaten sind vorhanden; '' sind nicht vorhanden 20130805

Method TEXT_CHECK_EXISTENCE on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method TEXT_DELETE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA Call by reference Type reference (TYPE) ETALLPAIRS_DATA Daten der AllPairs Objekte 20130812

Method TEXT_DELETE_DATA on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method TEXT_DELETE_HEAD_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HEAD Call by reference Type reference (TYPE) ETALLPAIRS_HEAD Headerdaten zu den AllPairs Objekten 20130812

Method TEXT_DELETE_HEAD_LINE on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method TEXT_GET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ALLPAIRS_DATA Call by reference Type reference (TYPE) ETALLPAIRS_DATA_TABTYPE Daten der AllPairs Objekte 20130612
2 Exporting ET_PICT_TAB Call by reference Type reference (TYPE) STRINGTAB Tabelle mit Strings 20130805
3 Importing I_SOURCE_OBJECT Call by reference Type reference (TYPE) ETOBJ_NAME eCATT Objekt 20130612
4 Importing I_SOURCE_OBJECT_TYP Call by reference Type reference (TYPE) ETOBJ_TYPE eCATT Objekttyp (Testdaten, Skript, Konfiguration etc.) 20130612
5 Importing I_TEXTNAME Call by reference Type reference (TYPE) ETOBJ_NAME eCATT Objekt 20130612

Method TEXT_GET_DATA on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method TEXT_GET_HEAD_LINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ETALLPAIRS_HEAD Call by reference Type reference (TYPE) ETALLPAIRS_HEAD_TABTYPE Headerdaten zu den AllPairs Objekten 20121010
2 Importing I_SOURCE_OBJECT Call by reference Type reference (TYPE) ETOBJ_NAME eCATT Objekt 20121010
3 Importing I_SOURCE_OBJECT_TYP Call by reference Type reference (TYPE) ETOBJ_TYPE eCATT Objekttyp (Testdaten, Skript, Konfiguration etc.) 20121010

Method TEXT_GET_HEAD_LINES on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method TEXT_GET_LAST_USED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ETALLPAIRS_USAGE Call by reference Type reference (TYPE) ETALLPAIRS_USAGE_TABTYPE Info zu dem zuletzt verwendeten AllPairs-Objekt 20121010
2 Importing I_SOURCENAME Call by reference Type reference (TYPE) ETOBJ_NAME eCATT Objekt 20121010
3 Importing I_SOURCETYP Call by reference Type reference (TYPE) ETOBJ_TYPE eCATT Objekttyp (Testdaten, Skript, Konfiguration etc.) 20121010
4 Importing I_USERNAME Call by reference Type reference (TYPE) HIER_FUSER Ersteller 20121010

Method TEXT_GET_LAST_USED on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method TEXT_SAVE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA Call by reference Type reference (TYPE) ETALLPAIRS_DATA Daten der AllPairs Objekte 20130805
2 Importing I_TEXT Call by reference Type reference (TYPE) STRING Text 20130805

Method TEXT_SAVE_DATA on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method TEXT_SAVE_HEAD_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HEAD Call by reference Type reference (TYPE) ETALLPAIRS_HEAD Headerdaten zu den AllPairs Objekten 20130805

Method TEXT_SAVE_HEAD_LINE on class CL_APL_ECATT_ALL_PAIRS has no exception.

Method TEXT_SAVE_LAST_USED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_USAGE Call by reference Type reference (TYPE) ETALLPAIRS_USAGE Info zu dem zuletzt verwendeten AllPairs-Objekt 20130805

Method TEXT_SAVE_LAST_USED on class CL_APL_ECATT_ALL_PAIRS has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740