SAP ABAP Class IDREPFW_CL_DYNAMIC_SEL (Dynamic Selection Handler)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-LOC (Application Component) Localization
     ID-REP_FRWK (Package) International Development: Reporting Framework
Properties
Class IDREPFW_CL_DYNAMIC_SEL  
Short Description Dynamic Selection Handler    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package ID-REP_FRWK   International Development: Reporting Framework 
Created 20120504   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)
2 IDREPFW_CL_CO Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class IDREPFW_CL_DYNAMIC_SEL has no interface implemented.
Friends
Class IDREPFW_CL_DYNAMIC_SEL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_DEF_LANG Instance attribute Public Type reference (TYPE) SYLANGU 'E' Language Key 20120829
2 CO_DISPLAY_HIDDEN Instance attribute Public Type reference (TYPE) TS_PARAMETERS-TYPE_DISPLAY '3' Display Type - Hidden 20120504
3 CO_DISPLAY_MANDATORY Instance attribute Public Type reference (TYPE) TS_PARAMETERS-TYPE_DISPLAY '1' Display Type - Mandatory 20120504
4 CO_DISPLAY_NOT_USED Instance attribute Public Type reference (TYPE) TS_PARAMETERS-TYPE_DISPLAY '4' Display Type - Not Used 20120504
5 CO_DISPLAY_OPTIONAL Instance attribute Public Type reference (TYPE) TS_PARAMETERS-TYPE_DISPLAY '' Display Type - Optional 20120504
6 CO_DISPLAY_READ_ONLY Instance attribute Public Type reference (TYPE) TS_PARAMETERS-TYPE_DISPLAY '2' Display Type - Read Only 20120504
7 CO_MAX_LETTERS Constant Public Type reference (TYPE) I 16 Max Parameters per Tab for Dyn.Sel. 20120504
8 CO_MAX_TABS Constant Public Type reference (TYPE) I 4 Max Tabs for Dyn.Sel. 20120504
9 CO_PREFIX Constant Public Type reference (TYPE) T_PARAMETERS 'P' Useful Constants for Parameters 20120504
10 CO_SHOW_LETTERS Constant Public Type reference (TYPE) CHAR20 'ABCDEFGHJKMNPQRS' Char 20 20120504
11 CO_SUFFIX Constant Public Type reference (TYPE) T_PARAMETERS 'S' Useful Constants for Parameters 20120504
12 CO_TYPE_CHECKBOX Constant Public Type reference (TYPE) T_PARAMETERS 'C' Useful Constants for Parameters 20120504
13 CO_TYPE_PAR Constant Public Type reference (TYPE) T_PARAMETERS 'PAR' Useful Constants for Parameters 20120504
14 CO_TYPE_RANGE Constant Public Type reference (TYPE) T_PARAMETERS 'R' Useful Constants for Parameters 20120504
15 CO_TYPE_RANGE_BOXED Constant Public Type reference (TYPE) T_PARAMETERS 'R[]' Useful Constants for Parameters 20120504
16 CO_TYPE_VALUE Constant Public Type reference (TYPE) T_PARAMETERS 'V' Useful Constants for Parameters 20120504
17 MO_DB_MOCK_OBJECT Instance attribute Private Object reference (TYPE REF TO) OBJECT 20120504
18 MS_PAR_SETS Instance attribute Private Type reference (TYPE) TS_PAR_SETS Par. Set for Dyn.Sel. (Struc.) 20120504
19 MT_DEF_RANGE_VAL Instance attribute Private Type reference (TYPE) TT_DEF_RANGE_VAL Dynamic Sel.: Selection Parameters, default range values 20121105
20 MT_PARAMETERS Instance attribute Private Type reference (TYPE) TT_PARAMETERS Parameters for Dyn.Sel. (Table) 20120504
21 MT_PAR_ELEMS Instance attribute Private Type reference (TYPE) TT_PAR_ELEMS Par. Elements for Dyn.Sel. (Table) 20120504
22 MT_PAR_SETS Instance attribute Private Type reference (TYPE) TT_PAR_SETS Par. Set for Dyn.Sel. (Table) 20120504
23 MT_PAR_TEXTS Instance attribute Private Type reference (TYPE) TT_PAR_TEXTS Par. Texts for Dyn.Sel. (Table) 20120504
24 MT_TAB_PAGES Instance attribute Private Type reference (TYPE) TT_TAB_PAGES Tab Pages for Dyn.Sel. (Table) 20120504
25 M_ELEMENTS_SET Instance attribute Private Type reference (TYPE) T_ELEMENTS_SET Name of Parameter Set 20120504
26 M_LANGU Instance attribute Private Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20120504
27 M_SEL_AREA Instance attribute Private Type reference (TYPE) T_SEL_AREA Selection Area 20120504
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_SEL_AREA Instance method Public Method Change Selection Area 20120531
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120504
3 DATA_VALUE_CONVERT Static method Public Method Convert Content of Variable By Domain/Data Element 20121113
4 DISPLAY_F1_HELP_BY_NAME Instance method Public Method Display F1 Help by Parameter Name (No TDD) 20120504
5 DISPLAY_F4_VALUES_BY_NAME Instance method Public Method Get F4 Values by Parameter Name (No TDD) 20120504
6 FILL_DTEL_TEXTS Instance method Private Method Fill Missing Texts with DTEL Descriptions 20130211
7 FIND_SELPARAM_VALUE Static method Public Method Get Value from Dynamic Selection Value and Change Range 20120611
8 GET_ALL_ELEMENTS Instance method Public Method Get All Elements in DB Tables 20120504
9 GET_ALL_NAMES Instance method Public Method Get All Names of Selection Screen Parameters 20120504
10 GET_ATTRIBUTES_BY_ID Instance method Public Method Get Attributes of Parameter by Identification 20120504
11 GET_ATTRIBUTES_BY_NAME Instance method Public Method Get Attributes of Parameter by Parameter Name 20120504
12 GET_DEF_VALUES Instance method Public Method Get Default Values (Low&High) for ID or Name 20120504
13 GET_ID_2_PARAM_NAME Instance method Public Method Change Identification to Selection Screen Parameter Name 20120504
14 GET_PARAMETER_SETS Instance method Public Method Get All Parameter Sets for Selection Area 20120504
15 GET_PARAM_NAME_2_ID Instance method Public Method Change Selection Screen Parameter Name to Identification 20120504
16 IS_VISIBLE Instance method Public Method Is Parameter Visible ('X' ~ yes, '' ~ no) 20120504
17 LOAD_CUSTOMIZING Instance method Public Method Load Customizing for Elements Set from View Cluster 20120504
18 READ_DTEL_TEXT Instance method Private Method Read Data Element Texts 20130211
19 REFRESH_DATA_BY_LANGU Instance method Private Method Refresh Data if Language has Been Changed 20120504
20 SELECT_DATA Instance method Private Method Select Data from DB or from Mock Object 20120504
Events
Class IDREPFW_CL_DYNAMIC_SEL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_DEF_RANGE_VAL Public Type reference (TYPE) IDREPFW_SEDEF_C Dynamic Sel.: Selection Parameters, default range values 20121105
2 TS_PARAMETERS Public See coding Selection Parameters for Dyn.Sel. (Struc.) 20120504 begin of ts_parameters. include type ts_par_elems. types: def_value_low type ts_def_range_val-def_value_low, def_value_high type ts_def_range_val-def_value_high. types: end of ts_parameters
3 TS_PAR_ELEMS Public Type reference (TYPE) IDREPFW_SEELM_C Data Elements for Dyn.Sel. (Struc.) 20120504
4 TS_PAR_SETS Public Type reference (TYPE) IDREPFW_SESET_T Par. Set for Dyn.Sel. (Struc.) 20120504
5 TS_PAR_TEXTS Public Type reference (TYPE) IDREPFW_SEELM_T Parameter Texts for Dyn.Sel. (Struc.) 20120504
6 TT_DEF_RANGE_VAL Public Type reference (TYPE) IDREPFW_TAB_SEDEF_VALUES Dynamic Sel.: Selection Parameters, default range values 20121105
7 TT_PARAMETERS Public See coding Parameters for Dyn.Sel. (Table) 20120504 tt_parameters TYPE TABLE OF ts_parameters
8 TT_PARAM_NAMES Public See coding List of Names/Parameters on Selection Screen (Table) 20120504 tt_param_names TYPE TABLE OF t_param_name
9 TT_PAR_ELEMS Public See coding Par. Elements for Dyn.Sel. (Table) 20120504 tt_par_elems TYPE TABLE OF idrepfw_seelm_c
10 TT_PAR_SETS Public See coding Par. Set for Dyn.Sel. (Table) 20120504 tt_par_sets TYPE TABLE OF ts_par_sets
11 TT_PAR_TEXTS Public See coding Par. Texts for Dyn.Sel. (Table) 20120504 tt_par_texts TYPE TABLE OF idrepfw_seelm_t
12 TT_TAB_PAGES Public See coding Tab Pages for Dyn.Sel. (Table) 20120504 tt_tab_pages TYPE TABLE OF idrepfw_setab_t
13 T_ELEMENTS_SET Public Type reference (TYPE) IDREPFW_SE_ELEMENTS_SET Name of Parameter Set 20120504
14 T_PARAMETERS Public See coding Useful Constants for Parameters 20120504 t_parameters TYPE c LENGTH 3
15 T_PARAM_NAME Public See coding Name of Parameter on Selection Screen 20120504 t_param_name TYPE c LENGTH 20
16 T_SEL_AREA Public Type reference (TYPE) IDREPFW_SE_SEL_AREA Selection Area 20120504
17 T_TEXT Public See coding Useful Constants for Parameters 20120504 t_text TYPE c LENGTH 10
Method Signatures

Method CHANGE_SEL_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SEL_AREA Call by reference Type reference (TYPE) T_SEL_AREA Selection Area 20120531
# Exception Resumable Description Created on
1 DATA_NOT_FOUND Element Set Not in Database 20120531

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_MOCK_OBJECT Call by reference Object reference (TYPE REF TO) OBJECT Any Mock Object 20120504
2 Importing IM_SEL_AREA Call by reference Type reference (TYPE) T_SEL_AREA Selection Area 20120504

Method CONSTRUCTOR on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method DATA_VALUE_CONVERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_VALUE Call by reference Type reference (TYPE) ANY Converted Value 20121113
2 Importing IM_DATA_ELEMENT Call by reference Type reference (TYPE) DATEL Data element 20121113
3 Importing IM_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20121113
4 Importing IM_MSG_TYPE Call by reference Type reference (TYPE) SYST-MSGTY IDREPFW_CL_CO=>MESSAGE_TYPE_I Message Type 20121206
5 Importing IM_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20121113
6 Importing IM_VALUE Call by reference Type reference (TYPE) ANY Original Value 20121113

Method DATA_VALUE_CONVERT on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method DISPLAY_F1_HELP_BY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PARAM_NAME Call by reference Type reference (TYPE) T_PARAM_NAME Name of Parameter on Selection Screen 20120504
2 Importing IM_TITLE Call by reference Type reference (TYPE) STRING Title of Search Help 20120504

Method DISPLAY_F1_HELP_BY_NAME on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method DISPLAY_F4_VALUES_BY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_RETURN_VALUE Call by reference Type reference (TYPE) ANY Return Value of F4 Selection 20120504
2 Importing IM_PARAM_NAME Call by reference Type reference (TYPE) T_PARAM_NAME Name of Parameter on Selection Screen 20120504
# Exception Resumable Description Created on
1 F4_HELP_NOT_FOUND F4 Search Help Now Found 20120504

Method FILL_DTEL_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PAR_TEXTS Call by reference Type reference (TYPE) TT_PAR_TEXTS Par. Texts for Dyn.Sel. (Table) 20130211
2 Importing IT_PARAMETERS Call by reference Type reference (TYPE) TT_PARAMETERS Parameters for Dyn.Sel. (Table) 20130211

Method FILL_DTEL_TEXTS on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method FIND_SELPARAM_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_TAB_SELRANGE Call by reference Type reference (TYPE) ANY TABLE Range with Selection Parameters 20120611
2 Importing IM_STR_SELPARAM Call by reference Type reference (TYPE) IDREPFW_STR_SELPARAMS Rep.framework: Dynamic Selection Criteria 20120611

Method FIND_SELPARAM_VALUE on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method GET_ALL_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PAR_SETS Call by reference Type reference (TYPE) TS_PAR_SETS Par. Set for Dyn.Sel. (Struc.) 20120504
2 Exporting ET_DEF_RANGE_VAL Call by reference Type reference (TYPE) TT_DEF_RANGE_VAL Dynamic Sel.: Selection Parameters, default range values 20121105
3 Exporting ET_PARAMETERS Call by reference Type reference (TYPE) TT_PARAMETERS Parameters for Dyn.Sel. (Table) 20120504
4 Exporting ET_PAR_ELEMS Call by reference Type reference (TYPE) TT_PAR_ELEMS Par. Elements for Dyn.Sel. (Table) 20120504
5 Exporting ET_PAR_TEXTS Call by reference Type reference (TYPE) TT_PAR_TEXTS Par. Texts for Dyn.Sel. (Table) 20120504
6 Exporting ET_TAB_PAGES Call by reference Type reference (TYPE) TT_TAB_PAGES Tab Pages for Dyn.Sel. (Table) 20120504
7 Exporting EX_ELEMENTS_SET Call by reference Type reference (TYPE) T_ELEMENTS_SET Name of Parameter Set 20120504

Method GET_ALL_ELEMENTS on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method GET_ALL_NAMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PARAM_NAMES Call by reference Type reference (TYPE) TT_PARAM_NAMES List of Names/Parameters on Selection Screen (Table) 20120504

Method GET_ALL_NAMES on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method GET_ATTRIBUTES_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PARAMETERS Call by reference Type reference (TYPE) TS_PARAMETERS Selection Parameters for Dyn.Sel. (Struc.) 20120504
2 Exporting ES_PAR_ELEMS Call by reference Type reference (TYPE) TS_PAR_ELEMS Data Elements for Dyn.Sel. (Struc.) 20120504
3 Exporting ES_PAR_TEXTS Call by reference Type reference (TYPE) TS_PAR_TEXTS Parameter Texts for Dyn.Sel. (Struc.) 20120504
4 Importing IM_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU Language Key of Current Text Environment 20120504
5 Importing IS_PARAMETERS Call by reference Type reference (TYPE) TS_PARAMETERS Selection Parameters for Dyn.Sel. (Struc.) 20120504
# Exception Resumable Description Created on
1 PARAM_NOT_FOUND Parameter Not Found - Attributes Cann't Be Assigned 20120504
2 PARAM_NOT_UNIQUE Parameter Is Not Unique - DB Error 20120504

Method GET_ATTRIBUTES_BY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PARAMETERS Call by reference Type reference (TYPE) TS_PARAMETERS Selection Parameters for Dyn.Sel. (Struc.) 20120504
2 Exporting ES_PAR_ELEMS Call by reference Type reference (TYPE) TS_PAR_ELEMS Data Elements for Dyn.Sel. (Struc.) 20120504
3 Exporting ES_PAR_TEXTS Call by reference Type reference (TYPE) TS_PAR_TEXTS Parameter Texts for Dyn.Sel. (Struc.) 20120504
4 Exporting ET_DEF_RANGE_VAL Call by reference Type reference (TYPE) TT_DEF_RANGE_VAL Dynamic Sel.: Selection Parameters, default range values 20121105
5 Importing IM_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU Language Key of Current Text Environment 20120504
6 Importing IM_PARAM_NAME Call by reference Type reference (TYPE) T_PARAM_NAME Name of Parameter on Selection Screen 20120504
# Exception Resumable Description Created on
1 PARAM_NOT_FOUND Parameter Not Found - Attributes Cann't Be Assigned 20120504
2 PARAM_NOT_UNIQUE Parameter Is Not Unique - DB Error 20120504

Method GET_DEF_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_DEF_VALUE_HIGH Call by reference Type reference (TYPE) TS_PARAMETERS-DEF_VALUE_HIGH Default Value of Selection Parameter: High 20120504
2 Exporting EX_DEF_VALUE_LOW Call by reference Type reference (TYPE) TS_PARAMETERS-DEF_VALUE_LOW Default Value of Selection Parameter: Low 20120504
3 Importing IM_PARAM_NAME Call by reference Type reference (TYPE) T_PARAM_NAME Name of Parameter on Selection Screen 20120504
4 Importing IS_PARAMETERS Call by reference Type reference (TYPE) TS_PARAMETERS Selection Parameters for Dyn.Sel. (Struc.) 20120504

Method GET_DEF_VALUES on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method GET_ID_2_PARAM_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PARAMETERS Call by reference Type reference (TYPE) TS_PARAMETERS Selection Parameters for Dyn.Sel. (Struc.) 20120504
2 Returning RE_PARAM_NAME Value transfer Type reference (TYPE) T_PARAM_NAME Name of Parameter on Selection Screen 20120504

Method GET_ID_2_PARAM_NAME on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method GET_PARAMETER_SETS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_TAB_PAR_SETS Call by reference Type reference (TYPE) TT_PAR_SETS Par. Set for Dyn.Sel. (Table) 20120504
# Exception Resumable Description Created on
1 DATA_NOT_FOUND Element Set Not in Database 20120504

Method GET_PARAM_NAME_2_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PARAM_NAME Call by reference Type reference (TYPE) T_PARAM_NAME Name of Parameter on Selection Screen 20120504
2 Returning RS_PARAMETERS Value transfer Type reference (TYPE) TS_PARAMETERS Selection Parameters for Dyn.Sel. (Struc.) 20120504

Method GET_PARAM_NAME_2_ID on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method IS_VISIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PARAM_NAME Call by reference Type reference (TYPE) T_PARAM_NAME Name of Parameter on Selection Screen 20120504
2 Returning RE_IS_VISIBLE Value transfer Type reference (TYPE) ABAP_BOOL Is Parameter Visible ('X' ~ yes, '' ~ no) 20120504

Method IS_VISIBLE on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method LOAD_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ELEMENTS_SET Value transfer Type reference (TYPE) T_ELEMENTS_SET Name of Parameter Set 20120504
# Exception Resumable Description Created on
1 DATA_NOT_FOUND Element Set Not in Database 20120504

Method READ_DTEL_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20130211
2 Importing IM_LANGU Call by reference Type reference (TYPE) SYLANGU Language Key 20130211
3 Importing IM_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130211
4 Returning RE_SCRTEXT_L Value transfer Type reference (TYPE) SCRTEXT_L Long Field Label 20130211

Method READ_DTEL_TEXT on class IDREPFW_CL_DYNAMIC_SEL has no exception.

Method REFRESH_DATA_BY_LANGU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20120504
# Exception Resumable Description Created on
1 DATA_NOT_FOUND Element Set Not in Database 20120504

Method SELECT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PAR_SETS Call by reference Type reference (TYPE) TS_PAR_SETS Par. Set for Dyn.Sel. (Struc.) 20120504
2 Exporting ET_DEF_RANGE_VAL Call by reference Type reference (TYPE) TT_DEF_RANGE_VAL Pre-defined values for Parameter ranges 20121105
3 Exporting ET_PARAMETERS Call by reference Type reference (TYPE) TT_PARAMETERS Parameters for Dyn.Sel. (Table) 20120504
4 Exporting ET_PAR_ELEMS Call by reference Type reference (TYPE) TT_PAR_ELEMS Par. Elements for Dyn.Sel. (Table) 20120504
5 Exporting ET_PAR_SETS Call by reference Type reference (TYPE) TT_PAR_SETS Par. Set for Dyn.Sel. (Table) 20120504
6 Exporting ET_PAR_TEXTS Call by reference Type reference (TYPE) TT_PAR_TEXTS Par. Texts for Dyn.Sel. (Table) 20120504
7 Exporting ET_TAB_PAGES Call by reference Type reference (TYPE) TT_TAB_PAGES Tab Pages for Dyn.Sel. (Table) 20120504
8 Importing IM_ELEMENTS_SET Call by reference Type reference (TYPE) T_ELEMENTS_SET Name of Parameter Set 20120504

Method SELECT_DATA on class IDREPFW_CL_DYNAMIC_SEL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 607