SAP ABAP Class CL_EHSGWB_ALV_GRID_QUERY (EHS: LWB ALV Grid for Search Query)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   EHS-SAF (Application Component) Product Safety
     CBGLMP_WB (Package) EHS: Labeling Workbench Framework
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_EHSGWB_ALV_GRID_ROOT EHS: LWB ALV Grid Definition 20110914
Properties
Class CL_EHSGWB_ALV_GRID_QUERY  
Short Description EHS: LWB ALV Grid for Search Query    
Super Class CL_EHSGWB_ALV_GRID_ROOT EHS: LWB ALV Grid Definition 
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CBGLMP_WB   EHS: Labeling Workbench Framework 
Created 20110914   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 CL_EHSGBC_CONSTANTS Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_EHSGWB_ALV_GRID_QUERY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 CL_EHSGWB_CONSTANTS Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
5 ESP1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_EHSGWB_ALV_GRID_QUERY has no interface implemented.
Friends
Class CL_EHSGWB_ALV_GRID_QUERY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FIELDNAME_ID Static Attribute Protected Type reference (TYPE) FIELDNAME 'ID' Field Name 20121109
2 GC_ICON_DELETE Constant Private Type reference (TYPE) ICON_D '@18@' Text Field Icon (Alternative Display, Alias) 20130417
3 GC_ICON_INSERT Constant Private Type reference (TYPE) ICON_D '@0Y@' Text Field Icon (Alternative Display, Alias) 20130417
4 GC_OUTPUTLEN_20 Constant Protected Type reference (TYPE) LVC_OUTLEN 20 ALV control: Column width in characters 20111129
5 GC_OUTPUTLEN_30 Constant Protected Type reference (TYPE) LVC_OUTLEN 30 ALV control: Column width in characters 20111129
6 GC_OUTPUTLEN_40 Constant Protected Type reference (TYPE) LVC_OUTLEN 40 ALV control: Column width in characters 20131104
7 GC_OUTPUTLEN_5 Constant Protected Type reference (TYPE) LVC_OUTLEN 5 ALV control: Column width in characters 20111129
8 GC_OUTPUTLEN_55 Constant Protected Type reference (TYPE) LVC_OUTLEN 55 ALV control: Column width in characters 20111129
9 MT_OUTTAB Instance attribute Protected Type reference (TYPE) CCGLD_WB_ALV_QUERY_CRIT_VALUES EHS: LWB Query Criteria Values 20110914
10 MT_QCDV Instance attribute Protected Type reference (TYPE) CCGLD_WB_ALV_QUERY_CRIT_VALUES EHS: LWB Query Criteria Values 20110914
11 MV_ERROR_QC Static Attribute Public Type reference (TYPE) AS4FLAG Error Within Search Criteria 20120307
12 MV_FLG_SET_DEFAULT_VALUES Instance attribute Protected Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110914
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_ROW Instance method Protected Method Handle Appending of New Row 20130417
2 CHECK_VALUE_RANGE_DATA Instance method Protected Method Check Data of Value Ranges for Event "Data Changed" 20110914
3 CONSTRUCTOR Instance method Public Constructor Create an ALV Grid Object for Query Section 20110914
4 CONVERT_ALV_TO_DATA Instance method Private Method Convert ALV Table to Data Table 20120306
5 CONVERT_DATA_TO_ALV Instance method Private Method Convert Data Table to ALV Table 20120306
6 GET_DATA_PROPERTIES Instance method Private Method Determine Properties of Query Criteria Value 20110914
7 GET_INSTANCE_CL Static method Public Method Create an ALV Grid Object for Query Section 20110914
8 GET_QUERY_CRIT_VALUE_FROM_USER Instance method Protected Method Determine Query Criteria Value Default Value from User Param 20110914
9 IS_QUERY_CRIT_VALUE_VALID Instance method Protected Method Check the Entered Query Criteria Value 20110914
10 IS_QUERY_CRIT_VALUE_VALID_SPEC Instance method Protected Method Check the Entered Query Criteria Values 20120329
11 ON_BUTTON_CLICK Instance method Public Event handling method ALV Event Handler: Button Within Grid Clicked 20110914
12 RAISE_EVENT_DO_QUERY Instance method Protected Method Trigger Registered Event Handler to Process Query for BPData 20110914
13 REMOVE_SINGLE_RANGE_VALUE Instance method Private Method Move Single Value from Range in Value 20120307
14 SET_BUTTON_ICONS Instance method Private Method Set Button Icons at Field VR_BUTTON 20110914
15 SET_CELL_STYLE Instance method Private Method Set Cell Style 20120306
16 SET_QUERY_CRIT_DEFAULT_VALUES Instance method Protected Method Set the Query Criteria Default Values to ALV Output Table 20110914
17 SET_QUERY_CRIT_VALUES_EMPTY Instance method Protected Method Set the Search Values to Zero 20111130
Events
# Event Type Visibility Description Created on
1 DO_QUERY Instance Event
(0)
Public
(2)
Start Processing the Query for BP Data 20110914
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_LS_OUTTAB_CHECK Protected See coding 20121113 BEGIN OF ty_ls_outtab_check, id TYPE cbgle_wb_query_crit_id, value TYPE cbgle_wb_query_crit_value, row_id TYPE int4, fieldname TYPE lvc_fname, END OF ty_ls_outtab_check
2 TY_LT_OUTTAB_CHECK Protected See coding 20121113 ty_lt_outtab_check TYPE STANDARD TABLE OF ty_ls_outtab_check
Method Signatures

Method APPEND_ROW Signature

Method APPEND_ROW on class CL_EHSGWB_ALV_GRID_QUERY has no parameter.
Method APPEND_ROW on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method CHECK_VALUE_RANGE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20110914
2 Importing IV_FLG_AS_INFO Call by reference Type reference (TYPE) AS4FLAG ABAP_TRUE Error messages as warning messages 20110914
3 Importing IV_FLG_SUPPRESS_RECORDLIST Call by reference Type reference (TYPE) AS4FLAG ABAP_FALSE 'X': suppress popup F4 20120228
4 Importing IV_QUERY_CRIT_ID Call by reference Type reference (TYPE) CBGLE_WB_QUERY_CRIT_ID Query criteria ID 20110914
5 Importing IV_ROW_ID Call by reference Type reference (TYPE) LVC_S_ROID-ROW_ID Natural Number 20110914
6 Changing XT_VR_TABLE Call by reference Type reference (TYPE) CCGLD_WB_QUERY_CRIT_VR_TAB EHS: LWB query criteria value range table 20110914

Method CHECK_VALUE_RANGE_DATA on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in the Screen Area 20110914
2 Importing IT_DATA Call by reference Type reference (TYPE) CCGLD_WB_QUERY_CRIT_VALUES EHS: LWB query criteria values 20110914
3 Importing IV_BP_ID Call by reference Type reference (TYPE) CBGLE_WB_BP_ID Business Process ID 20110914
4 Importing IV_OUTTAB_STRUCTURE Call by reference Type reference (TYPE) CBGLE_WB_STRUCTURE_NAME 'CCGLS_WB_ALV_QUERY_CRIT' ABAP Dictionary name of structure 20110914
5 Importing IV_SCREEN_ID Call by reference Type reference (TYPE) CBGLE_WB_SCREEN_ID Screen ID 20110914
6 Importing IV_TAB_ID Call by reference Type reference (TYPE) CBGLE_WB_TAB_ID Tab ID 20110914
# Exception Resumable Description Created on
1 CX_EHSGWB_EXCEPTION 20110914

Method CONVERT_ALV_TO_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) CCGLD_WB_QUERY_CRIT_VALUES ALV zu LWB Suchkriterien 20120306
2 Importing IT_ALV_DATA Call by reference Type reference (TYPE) CCGLD_WB_ALV_QUERY_CRIT_VALUES EHS: LWB Suchkriterien 20120306

Method CONVERT_ALV_TO_DATA on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method CONVERT_DATA_TO_ALV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ALV_DATA Call by reference Type reference (TYPE) CCGLD_WB_ALV_QUERY_CRIT_VALUES ALV zu LWB Suchkriterien 20120306
2 Importing IT_DATA Call by reference Type reference (TYPE) CCGLD_WB_QUERY_CRIT_VALUES EHS: LWB Suchkriterien 20120306

Method CONVERT_DATA_TO_ALV on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method GET_DATA_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_PROPERTIES Call by reference Type reference (TYPE) DFIES DD Interface: Table Fields for DDIF_FIELDINFO_GET 20110914
2 Exporting EV_FLG_NO_CHECK Call by reference Type reference (TYPE) CBGLE_WB_FLG_NO_AUTOCHECK Switch off auto check of field value at screen 20110914
3 Importing IV_QUERY_CRIT_ID Call by reference Type reference (TYPE) CBGLE_WB_QUERY_CRIT_ID Query criteria ID 20110914

Method GET_DATA_PROPERTIES on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method GET_INSTANCE_CL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in the Screen Area 20110914
2 Importing IT_DATA Call by reference Type reference (TYPE) CCGLD_WB_QUERY_CRIT_VALUES EHS: LWB query criteria values 20110914
3 Importing IV_BP_ID Call by reference Type reference (TYPE) CBGLE_WB_BP_ID Business Process ID 20110914
4 Importing IV_OUTTAB_STRUCTURE Call by reference Type reference (TYPE) CBGLE_WB_STRUCTURE_NAME 'CCGLS_WB_ALV_QUERY_CRIT' ABAP Dictionary name of structure 20110914
5 Importing IV_SCREEN_ID Call by reference Type reference (TYPE) CBGLE_WB_SCREEN_ID Screen ID 20110914
6 Importing IV_TAB_ID Call by reference Type reference (TYPE) CBGLE_WB_TAB_ID Tab ID 20110914
7 Returning RO_ALV_GRID Value transfer Object reference (TYPE REF TO) CL_EHSGWB_ALV_GRID_QUERY EHS: LWB ALV grid for query section 20110914
# Exception Resumable Description Created on
1 CX_EHSGWB_EXCEPTION 20110914

Method GET_QUERY_CRIT_VALUE_FROM_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_QUERY_CRIT_ID Call by reference Type reference (TYPE) CBGLE_WB_QUERY_CRIT_ID Query criteria ID 20110914
2 Returning RV_VALUE Value transfer Type reference (TYPE) CBGLE_WB_QUERY_CRIT_VALUE Query criteria value 20110914

Method GET_QUERY_CRIT_VALUE_FROM_USER on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method IS_QUERY_CRIT_VALUE_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_QUERY_CRIT_VALUE Call by reference Type reference (TYPE) CBGLE_WB_QUERY_CRIT_VALUE Query criteria value 20110914
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20110914
3 Exporting EV_FLG_CHECK_FAILED Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110914
4 Exporting EV_FLG_IS_VALID Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110914
5 Importing IV_FLG_SUPPRESS_RECORDLIST Call by reference Type reference (TYPE) AS4FLAG ABAP_FALSE 'X': suppress popup f4-Help 20120228
6 Importing IV_QUERY_CRIT_ID Call by reference Type reference (TYPE) CBGLE_WB_QUERY_CRIT_ID Query criteria ID 20110914

Method IS_QUERY_CRIT_VALUE_VALID on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method IS_QUERY_CRIT_VALUE_VALID_SPEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAL_T_MSG Anwendungs-Log: Tabelle mit Messages 20121112
2 Exporting EV_FLG_IS_VALID Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20120329
3 Importing IR_DATA_CHANGED Call by reference Object reference (TYPE REF TO) CL_ALV_CHANGED_DATA_PROTOCOL Message Protokoll für Dataentry 20121113
4 Importing IT_OUTTAB_CHECK Call by reference Type reference (TYPE) TY_LT_OUTTAB_CHECK Prüftabelle 20121113

Method IS_QUERY_CRIT_VALUE_VALID_SPEC on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method ON_BUTTON_CLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ES_COL_ID Value transfer Attribute reference (LIKE) 20110914
2 Importing ES_ROW_NO Value transfer Attribute reference (LIKE) 20110914

Method ON_BUTTON_CLICK on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method RAISE_EVENT_DO_QUERY Signature

Method RAISE_EVENT_DO_QUERY on class CL_EHSGWB_ALV_GRID_QUERY has no parameter.
Method RAISE_EVENT_DO_QUERY on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method REMOVE_SINGLE_RANGE_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_OUTTAB Call by reference Type reference (TYPE) CCGLS_WB_ALV_QUERY_CRIT ALV zu LWB Suchkriterien 20120307

Method REMOVE_SINGLE_RANGE_VALUE on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method SET_BUTTON_ICONS Signature

Method SET_BUTTON_ICONS on class CL_EHSGWB_ALV_GRID_QUERY has no parameter.
Method SET_BUTTON_ICONS on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method SET_CELL_STYLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CELL_STYLE Call by reference Type reference (TYPE) LVC_T_STYL ALV-Control: Styletabelle für Zellen 20120306
2 Importing IT_CELL_STYLE Call by reference Type reference (TYPE) LVC_T_STYL ALV-Control: Styletabelle für Zellen 20120306
3 Importing IT_QUERY_CRIT Call by reference Type reference (TYPE) CCGLD_WB_QUERY_CRITERIA_DEF 20130212
4 Importing IV_FIELDNAME Call by reference Type reference (TYPE) LVC_FNAME ALV-Control: Feldname internes Tabellenfeld 20120306
5 Importing IV_FLG_OVERWRITE Call by reference Type reference (TYPE) AS4FLAG 'X' Flag: überschreibe Cell Style für das Feld iv_fieldname 20120306
6 Importing IV_ID Call by reference Type reference (TYPE) CBGLE_WB_QUERY_CRIT_ID Suchkriterium 20121219
7 Importing IV_STYLE Call by reference Type reference (TYPE) LVC_STYLE ALV-Control: Style 20120306

Method SET_CELL_STYLE on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method SET_QUERY_CRIT_DEFAULT_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FLG_REFRESH_QUERY_CRIT Call by reference Type reference (TYPE) AS4FLAG ABAP_TRUE Initialisiere die Suchwerte 20120516

Method SET_QUERY_CRIT_DEFAULT_VALUES on class CL_EHSGWB_ALV_GRID_QUERY has no exception.

Method SET_QUERY_CRIT_VALUES_EMPTY Signature

Method SET_QUERY_CRIT_VALUES_EMPTY on class CL_EHSGWB_ALV_GRID_QUERY has no parameter.
Method SET_QUERY_CRIT_VALUES_EMPTY on class CL_EHSGWB_ALV_GRID_QUERY has no exception.
Event Signatures

Event DO_QUERY Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 IV_BP_ID Exporting Value transfer Type reference (TYPE) CBGLE_WB_BP_ID Business Process ID 20110914
2 IV_SCREEN_ID Exporting Value transfer Type reference (TYPE) CBGLE_WB_SCREEN_ID Screen ID 20110914
History
Last changed by/on SAP  20130531 
SAP Release Created in 607