SAP ABAP Class CL_CBESH_KEYFACTS_OVERVIEW_UI (Maintenance of Keyfacts)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CA-GTF-CBN-ODT (Application Component) Contextual Business Navigation OData Backend Adaptation lay.
     CBESH_ODATA_ANF_GEN (Package) C'est BON OData Annotation file generator
Properties
Class CL_CBESH_KEYFACTS_OVERVIEW_UI  
Short Description Maintenance of Keyfacts    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CBESH_ODATA_ANF_GEN   C'est BON OData Annotation file generator 
Created 20130904   SAP 
Last change 20131127   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_CBN_ES_MODEL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_CBESH_KEYFACTS_OVERVIEW_UI has no interface implemented.
Friends
Class CL_CBESH_KEYFACTS_OVERVIEW_UI has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ICON_DETAIL Constant Private Type reference (TYPE) STRING '@0E@' 20130910
2 GC_ICON_MAINTAIN Constant Private Type reference (TYPE) STRING '@0Z@' 20130910
3 GC_OUTPUT_STRUC_NAME Constant Private Type reference (TYPE) STRUKNAME 'CBESH_S_MAINTKF_ALV' Name of the ALV output structure 20130905
4 GC_UCOMM_CBN_DUMMY Constant Private Type reference (TYPE) SY-UCOMM 'CBN_DUMMY_PAI' Dummy 20130909
5 GC_UCOMM_CRT_KEY_FACT Constant Private Type reference (TYPE) SY-UCOMM 'CBN_KF_CRT' Create a new key fact 20130909
6 GC_UCOMM_DEL_KEY_FACT Constant Private Type reference (TYPE) SY-UCOMM 'CBN_KF_DEL' Delete a key fact 20130909
7 GC_UCOMM_SAVE Constant Private Type reference (TYPE) SY-UCOMM 'CBN_KF_SAVE' Save Key Facts (only for test) 20130910
8 GO_GRID Instance attribute Private Object reference (TYPE REF TO) CL_GUI_ALV_GRID Key Fact overview ALV 20130905
9 GO_GRID_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for ALV key fact overview 20130905
10 GO_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_CBESH_KEYFACTS_OVERVIEW_UI Maintenance of Keyfacts 20130904
11 GS_LAYOUT Instance attribute Private Type reference (TYPE) LVC_S_LAYO Layout information 20130905
12 GT_DECIMALS Instance attribute Private Type reference (TYPE) DD07V_TAB Table for DD07V 20130913
13 GT_ENTITY_METADATA Instance attribute Private Type reference (TYPE) CL_CBN_ES_MODEL=>LTTY_ENTITY_METADATA 20130913
14 GT_FLDCAT Instance attribute Private Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20130905
15 GT_KEY_FACTS Instance attribute Private Type reference (TYPE) CBESH_T_KF_MAINT Maintenance of Key Types 20130905
16 GT_KEY_FACTS_ALV Instance attribute Private Type reference (TYPE) CBESH_T_MAINTKF_ALV Table Type of ALV key fact list 20130905
17 GT_KF_TYPES Instance attribute Private Type reference (TYPE) DD07V_TAB Table for DD07V 20130911
18 GV_CURRENT_KF Instance attribute Private Type reference (TYPE) CBESH_KF_POSITION 20130909
19 GV_DUMMY_PAI Instance attribute Private Type reference (TYPE) ABAP_BOOL 20130916
20 GV_SERVICE_NAME Instance attribute Private Type reference (TYPE) /IWBEP/MED_EXTERNAL_NAME external name of a meta model element 20130905
21 GV_SET_TFD Instance attribute Private Type reference (TYPE) C 20130905
22 GV_TEMPLATE_ID Instance attribute Private Type reference (TYPE) ESH_E_IF_TEMPLATE_ID Search Connector Template ID 20130905
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20130904
2 CREATE_KEY_FACT Instance method Private Method Create a new key fact 20130910
3 DELETE_KEY_FACT Instance method Private Method Delete Key Fact 20130909
4 DISPLAY_ALV Instance method Public Method Display the ALV 20130905
5 DISPLAY_DETAILS Instance method Private Method Raise Event for displaying the details 20130905
6 FILL_KEY_FACT_TABLE Instance method Private Method Fill global key fact and ALV table 20130911
7 GET_DECIMALS_TEXT Instance method Private Method Get the Decimals text 20130913
8 GET_DOMVALUES Instance method Private Method Determine fixed domaine values 20130913
9 GET_EXCL_FUNCT Instance method Private Method Determine those ALV buttons to be hidden 20130909
10 GET_EXISTING_KF_POSITIONS Instance method Public Method Get the existing KF positions 20130910
11 GET_FLDCAT Instance method Private Method Get field catalog of ALV output structure 20130905
12 GET_INSTANCE Static method Public Method Get an instance of the class 20130904
13 GET_KEY_FACTS Instance method Private Method Determine the Key Facts from DB 20130905
14 GET_KF_DETAILS Instance method Public Method Get details of a key fact or limit 20130905
15 GET_LAYOUT Instance method Private Method Define ALV Grid layout 20130905
16 GET_OTR_TEXT Instance method Private Method Determine an OTR text from its alis 20130910
17 GET_TYPE_TEXT Instance method Private Method Get the KF type text 20130911
18 HANDLE_TOOLBAR Instance method Private Event handling method Define the toolbar of the ALV 20130909
19 HANDLE_USER_COMMAND Instance method Private Event handling method Handle the key fact specific ALV user commands 20130909
20 ON_HOTSPOT_CLICK Instance method Private Event handling method Event Handler for hotspot click 20130905
21 SAVE_KEY_FACTS Instance method Public Method Save all key facts 20130910
22 SET_KF_DETAILS Instance method Public Method Set details of a key fact or limit 20130909
Events
Class CL_CBESH_KEYFACTS_OVERVIEW_UI has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_S_EXISTING_KF_POSITION Public See coding 20130910 begin of TY_S_EXISTING_KF_POSITION, position type CBESH_KF_POSITION, current_detail_pos type abap_bool, end of TY_S_EXISTING_KF_POSITION
2 TY_T_EXISTING_KF_POSITIONS Public See coding 20130910 TY_t_EXISTING_KF_POSITIONs type standard table of ty_s_existing_kf_position
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ENTITY_METADATA Call by reference Type reference (TYPE) CL_CBN_ES_MODEL=>LTTY_ENTITY_METADATA 20130913
2 Importing IV_CONTAINER Call by reference Type reference (TYPE) SCRFNAME Name eines Dynproelementes 20130904
3 Importing IV_SERVICE_NAME Call by reference Type reference (TYPE) /IWBEP/MED_EXTERNAL_NAME external name of a meta model element 20130905
4 Importing IV_TEMPLATE_ID Call by reference Type reference (TYPE) ESH_E_IF_TEMPLATE_ID Search Connector Template ID 20130905

Method CONSTRUCTOR on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method CREATE_KEY_FACT Signature

Method CREATE_KEY_FACT on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no parameter.
Method CREATE_KEY_FACT on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method DELETE_KEY_FACT Signature

Method DELETE_KEY_FACT on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no parameter.
Method DELETE_KEY_FACT on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method DISPLAY_ALV Signature

Method DISPLAY_ALV on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no parameter.
Method DISPLAY_ALV on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method DISPLAY_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ROW_NO Call by reference Type reference (TYPE) INT4 Natural number 20130905

Method DISPLAY_DETAILS on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method FILL_KEY_FACT_TABLE 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 20130911
2 Importing IV_TYPE Call by reference Type reference (TYPE) CBESH_KF_TYPE Key Fact Type 20130911

Method FILL_KEY_FACT_TABLE on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_DECIMALS_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NOFD Call by reference Type reference (TYPE) CBESH_KF_NOF_DIGITS Number of Digits 20130913
2 Returning RV_DDTEXT Value transfer Type reference (TYPE) DDTEXT Explanatory short text 20130913

Method GET_DECIMALS_TEXT on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_DOMVALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOMNAME Call by reference Type reference (TYPE) DD07L-DOMNAME Domain name 20130913
2 Returning RT_DD07V Value transfer Type reference (TYPE) DD07V_TAB Table for DD07V 20130913

Method GET_DOMVALUES on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_EXCL_FUNCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_EXCLUDE Value transfer Type reference (TYPE) UI_FUNCTIONS Function Code Table 20130909

Method GET_EXCL_FUNCT on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_EXISTING_KF_POSITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EXISTING_POSITIONS Value transfer Type reference (TYPE) CL_CBESH_KEYFACTS_OVERVIEW_UI=>TY_T_EXISTING_KF_POSITIONS 20130910

Method GET_EXISTING_KF_POSITIONS on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_FLDCAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_FLDCAT Value transfer Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20130905

Method GET_FLDCAT on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ENTITY_METADATA Call by reference Type reference (TYPE) CL_CBN_ES_MODEL=>LTTY_ENTITY_METADATA 20130913
2 Importing IV_CONTAINER Call by reference Type reference (TYPE) SCRFNAME Name eines Dynproelementes 20130904
3 Importing IV_SERVICE_NAME Call by reference Type reference (TYPE) /IWBEP/MED_EXTERNAL_NAME external name of a meta model element 20130905
4 Importing IV_TEMPLATE_ID Call by reference Type reference (TYPE) ESH_E_IF_TEMPLATE_ID Search Connector Template ID 20130905
5 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_CBESH_KEYFACTS_OVERVIEW_UI Maintenance of Keyfacts 20130904

Method GET_INSTANCE on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_KEY_FACTS Signature

Method GET_KEY_FACTS on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no parameter.
Method GET_KEY_FACTS on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_KF_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_KF_DATA Call by reference Type reference (TYPE) CBESH_S_KF_MAINT_DETAIL Structure of table CBESH_ANNO_KF 20130905
2 Exporting EV_KF_TYPE Call by reference Type reference (TYPE) CBESH_KF_TYPE Key Fact Type 20130905
3 Exporting EV_NO_DATAPOINT Call by reference Type reference (TYPE) ABAP_BOOL X: No datapoint is defined 20130910

Method GET_KF_DETAILS on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_LAYOUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_LAYOUT Value transfer Type reference (TYPE) LVC_S_LAYO ALV control: Layout structure 20130905

Method GET_LAYOUT on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_OTR_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ALIAS Call by reference Type reference (TYPE) SOTR_ALIAS Unique Alias Name for OTR Concept 20130910
2 Returning RV_TEXT Value transfer Type reference (TYPE) SOTR_TXT Text Field in the OTR 20130910

Method GET_OTR_TEXT on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method GET_TYPE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TYPE Call by reference Type reference (TYPE) CBESH_KF_TYPE Key Fact Type 20130911
2 Returning RV_DDTEXT Value transfer Type reference (TYPE) DDTEXT Explanatory short text 20130911

Method GET_TYPE_TEXT on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method HANDLE_TOOLBAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_INTERACTIVE Call by reference Attribute reference (LIKE) 20130909
2 Importing E_OBJECT Call by reference Attribute reference (LIKE) 20130909

Method HANDLE_TOOLBAR on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method HANDLE_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) 20130909

Method HANDLE_USER_COMMAND on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method ON_HOTSPOT_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) 20130905
2 Importing E_COLUMN_ID Value transfer Attribute reference (LIKE) 20130905
3 Importing E_ROW_ID Value transfer Attribute reference (LIKE) 20130905

Method ON_HOTSPOT_CLICK on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method SAVE_KEY_FACTS Signature

Method SAVE_KEY_FACTS on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no parameter.
Method SAVE_KEY_FACTS on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.

Method SET_KF_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_KF_DATA Call by reference Type reference (TYPE) CBESH_S_KF_MAINT_DETAIL Structure of table CBESH_ANNO_KF 20130909

Method SET_KF_DETAILS on class CL_CBESH_KEYFACTS_OVERVIEW_UI has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 617