SAP ABAP Class CL_EHSGBC_POPUP (EHS: Popups)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   EHS-SAF (Application Component) Product Safety
     CBGLMP_API (Package) EHS: API Implementations
Properties
Class CL_EHSGBC_POPUP  
Short Description EHS: Popups    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CBGLMP_API   EHS: API Implementations 
Created 20110914   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_EHSGBC_CONSTANTS Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_EHSGBC_POPUP has no interface implemented.
Friends
Class CL_EHSGBC_POPUP has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_OKCODE_CANCEL Constant Public Type reference (TYPE) SY-UCOMM 'CANCEL' Function Code that PAI Triggered 20110914
2 GC_OKCODE_OK Constant Public Type reference (TYPE) SY-UCOMM 'OK' Function Code that PAI Triggered 20110914
3 MC_HEIGHT_MAX Constant Private Type reference (TYPE) I 300 20110914
4 MC_HEIGHT_MIN Constant Private Type reference (TYPE) I 112 20110914
5 MC_HEIGHT_ROW Constant Private Type reference (TYPE) I 19 20110914
6 MC_WIDTH_LETTER Constant Private Type reference (TYPE) I 7 20110914
7 MC_WIDTH_MARGIN_LEFT Constant Private Type reference (TYPE) I 24 20110914
8 MC_WIDTH_MAX Constant Private Type reference (TYPE) I 1024 20110914
9 MC_WIDTH_MIN Constant Private Type reference (TYPE) I 170 20110914
10 MC_WIDTH_TITLE_MARGIN_RIGHT Constant Private Type reference (TYPE) I 85 20110914
11 MO_ALV Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_ALV_GRID SAP List Viewer 20110914
12 MO_CUSTCONT Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in the Screen Area 20110914
13 MO_DIALOGBOX Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_DIALOGBOX_CONTAINER Container for Custom Controls in the Screen Area 20110914
14 MR_DATA Instance attribute Protected Object reference (TYPE REF TO) DATA 20110914
15 MR_SELECTED Instance attribute Protected Object reference (TYPE REF TO) DATA 20110914
16 MS_LAYOUT Instance attribute Protected Type reference (TYPE) LVC_S_LAYO ALV Control: Layout Structure 20110914
17 MS_ROW_NO Instance attribute Protected Type reference (TYPE) LVC_S_ROID Assignment of Line Number to Line ID 20110914
18 MT_ACTIVE_BUTTONS Instance attribute Protected Type reference (TYPE) UI_FUNCTIONS Function Code Table 20110914
19 MT_FIELDCAT Instance attribute Protected Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20110914
20 MT_SORT_FOR_FIELDCAT Static Attribute Public Type reference (TYPE) LVC_T_FCAT Sort for Field Catalog -> Set External 20130424
21 MT_TOOLBAR Instance attribute Protected Type reference (TYPE) UI_FUNCTIONS Function Code Table 20110914
22 MV_FLG_CANCELLED Instance attribute Protected Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110914
23 MV_FLG_CUSTOM_CONTAINER Instance attribute Protected Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110914
24 MV_FLG_ONCE Instance attribute Protected Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110914
25 MV_STRUCTURE_NAME Instance attribute Protected Type reference (TYPE) TABNAME Table Name 20110914
26 MV_TITLE Instance attribute Protected Type reference (TYPE) STRING 20110914
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_SIZE Instance method Private Method Adjust Size of Popup Depending on Data to Be Displayed 20110914
2 BUFFER_SELECTED_ENTRIES Instance method Private Method Buffer the Selected Entries 20110914
3 CONSTRUCTOR Instance method Public Constructor Create Popup Object 20110914
4 FREE_OBJECTS Instance method Private Method Destroy ALV and Dialog Box 20110914
5 GET_SELECTED_VALUES Instance method Public Method Get the Values Selected by the User 20110914
6 GET_STATE Instance method Public Method Get Status of Popup 20110914
7 GET_TITLE Instance method Public Method Get Popup Title 20110914
8 ON_DOUBLE_CLICK Instance method Private Event handling method Event Handler for DOUBLE_CLICK Event of ALV 20110914
9 ON_POPUP_CLOSE Instance method Private Event handling method Event Handler for CLOSE Event of Dialog Box 20110914
10 ON_TOOLBAR Instance method Private Event handling method Event Handler for TOOLBAR Event of ALV 20110914
11 ON_USER_COMMAND Instance method Private Event handling method Event Handler for USER COMMAND Event of ALV 20110914
12 POPUP_TO_CONFIRM_CL Static method Public Method Display a Decision Popup to the User 20110914
13 POPUP_TO_SELECT Instance method Public Method Display Data 20110914
14 POPUP_TO_SELECT_CL Static method Public Method Display Data in Own Screen 20110914
15 SET_SORT_FOR_FIELDCAT Static method Public Method Set Sort for Field Cat. 20130424
16 SET_STANDARD_BUTTONS Instance method Private Method Set Availability of ALV Standard Buttons 20110914
Events
Class CL_EHSGBC_POPUP has no event.
Types
Class CL_EHSGBC_POPUP has no local type.
Method Signatures

Method ADJUST_SIZE Signature

Method ADJUST_SIZE on class CL_EHSGBC_POPUP has no parameter.
Method ADJUST_SIZE on class CL_EHSGBC_POPUP has no exception.

Method BUFFER_SELECTED_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ROW_NO Call by reference Type reference (TYPE) LVC_S_ROID Assignment of line number to line ID 20110914
2 Returning RV_FLG_COLUMNS_SELECTED Value transfer Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110914

Method BUFFER_SELECTED_ENTRIES on class CL_EHSGBC_POPUP has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ACTIVE_BUTTONS Call by reference Type reference (TYPE) UI_FUNCTIONS Function Code Table 20110914
2 Importing IT_FIELDS_NO_OUT Call by reference Type reference (TYPE) CCGLD_FIELDNAMES EHS: Table of fieldnames 20110914
3 Importing IV_CONTAINER_NAME Call by reference Type reference (TYPE) SCRFNAME Name of a Screen Element 20110914
4 Importing IV_FLG_MULTIPLE_SELECTION Call by reference Type reference (TYPE) AS4FLAG CL_EHSGBC_CONSTANTS=>GC_TRUE Flag (X or Blank) 20110914
5 Importing IV_FLG_ZEBRA Call by reference Type reference (TYPE) AS4FLAG CL_EHSGBC_CONSTANTS=>GC_TRUE Flag (X or Blank) 20110914
6 Importing IV_HEIGHT Call by reference Type reference (TYPE) I 200 20110914
7 Importing IV_LEFT Call by reference Type reference (TYPE) I 50 20110914
8 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20110914
9 Importing IV_TITLE Call by reference Type reference (TYPE) C 20110914
10 Importing IV_TOP Call by reference Type reference (TYPE) I 50 20110914
11 Importing IV_WIDTH Call by reference Type reference (TYPE) I 500 20110914

Method CONSTRUCTOR on class CL_EHSGBC_POPUP has no exception.

Method FREE_OBJECTS Signature

Method FREE_OBJECTS on class CL_EHSGBC_POPUP has no parameter.
Method FREE_OBJECTS on class CL_EHSGBC_POPUP has no exception.

Method GET_SELECTED_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SELECTED_VALUES Call by reference Type reference (TYPE) STANDARD TABLE 20110914

Method GET_SELECTED_VALUES on class CL_EHSGBC_POPUP has no exception.

Method GET_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLG_CANCELLED Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110914
2 Exporting EV_FLG_SELECTED Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20110914

Method GET_STATE on class CL_EHSGBC_POPUP has no exception.

Method GET_TITLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_TITLE Value transfer Type reference (TYPE) STRING 20110914

Method GET_TITLE on class CL_EHSGBC_POPUP has no exception.

Method ON_DOUBLE_CLICK Signature

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

Method ON_DOUBLE_CLICK on class CL_EHSGBC_POPUP has no exception.

Method ON_POPUP_CLOSE Signature

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

Method ON_POPUP_CLOSE on class CL_EHSGBC_POPUP has no exception.

Method ON_TOOLBAR Signature

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

Method ON_TOOLBAR on class CL_EHSGBC_POPUP has no exception.

Method ON_USER_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_UCOMM Call by reference Attribute reference (LIKE) 20110914

Method ON_USER_COMMAND on class CL_EHSGBC_POPUP has no exception.

Method POPUP_TO_CONFIRM_CL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PRESSED_BUTTON Call by reference Type reference (TYPE) C 20110914
2 Importing IV_BUTTON1_ICON Call by reference Type reference (TYPE) ICON-NAME 'ICON_OKAY' Name of an Icon 20110914
3 Importing IV_BUTTON1_TEXT Call by reference Type reference (TYPE) CHAR12 'YES' Character Field of Length 12 20110914
4 Importing IV_BUTTON2_ICON Call by reference Type reference (TYPE) ICON-NAME 'ICON_CANCEL' Name of an Icon 20110914
5 Importing IV_BUTTON2_TEXT Call by reference Type reference (TYPE) CHAR12 'NO' Character Field of Length 12 20110914
6 Importing IV_BUTTON_WITH_FOCUS Call by reference Type reference (TYPE) C '1' 20110914
7 Importing IV_QUESTION Call by reference Type reference (TYPE) CBGLE_TEXT400 Text 400 20110914
8 Importing IV_TITLE Call by reference Type reference (TYPE) CBGLE_TEXT60 Text 60 20110914

Method POPUP_TO_CONFIRM_CL on class CL_EHSGBC_POPUP has no exception.

Method POPUP_TO_SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20110914
2 Importing IV_FLG_ADJUST_SIZE Call by reference Type reference (TYPE) AS4FLAG CL_EHSGBC_CONSTANTS=>GC_TRUE Flag (X or Blank) 20110914

Method POPUP_TO_SELECT on class CL_EHSGBC_POPUP has no exception.

Method POPUP_TO_SELECT_CL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SELECTED_VALUES Call by reference Type reference (TYPE) STANDARD TABLE 20110914
2 Importing IT_ACTIVE_BUTTONS Call by reference Type reference (TYPE) UI_FUNCTIONS Function Code Table 20110914
3 Importing IT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20110914
4 Importing IT_FIELDS_NO_OUT Call by reference Type reference (TYPE) CCGLD_FIELDNAMES EHS: Table of fieldnames 20110914
5 Importing IV_FLG_MULTIPLE_SELECTION Call by reference Type reference (TYPE) AS4FLAG CL_EHSGBC_CONSTANTS=>GC_TRUE Flag (X or Blank) 20110914
6 Importing IV_FLG_ZEBRA Call by reference Type reference (TYPE) AS4FLAG CL_EHSGBC_CONSTANTS=>GC_TRUE Flag (X or Blank) 20110914
7 Importing IV_HEIGHT Call by reference Type reference (TYPE) I 20 20110914
8 Importing IV_LEFT Call by reference Type reference (TYPE) I 2 20110914
9 Importing IV_STRUCTURE_NAME Call by reference Type reference (TYPE) TABNAME Table Name 20110914
10 Importing IV_TITLE Call by reference Type reference (TYPE) C 20110914
11 Importing IV_TOP Call by reference Type reference (TYPE) I 2 20110914
12 Importing IV_WIDTH Call by reference Type reference (TYPE) I 130 20110914

Method POPUP_TO_SELECT_CL on class CL_EHSGBC_POPUP has no exception.

Method SET_SORT_FOR_FIELDCAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SORT_FOR_FIELDCAT Call by reference Type reference (TYPE) LVC_T_FCAT sort for fieldcat 20130424

Method SET_SORT_FOR_FIELDCAT on class CL_EHSGBC_POPUP has no exception.

Method SET_STANDARD_BUTTONS Signature

Method SET_STANDARD_BUTTONS on class CL_EHSGBC_POPUP has no parameter.
Method SET_STANDARD_BUTTONS on class CL_EHSGBC_POPUP has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in