SAP ABAP Class CL_EAML_GRAPHICS (Class for BAdI Impl.: BADI_EAML_MULTILEVEL_GRAPHICS)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PM-EQM (Application Component) Technical Objects
     EAML (Package) EAM: Linear Feature Extension - unswitched
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20091113
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EX_BADI_EAM_LIST_FCODE Interface for Additional Function Codes in Lists 20091113
Properties
Class CL_EAML_GRAPHICS  
Short Description Class for BAdI Impl.: BADI_EAML_MULTILEVEL_GRAPHICS    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package EAML   EAM: Linear Feature Extension - unswitched 
Created 20091113   SAP 
Last change 20110908   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_EAML_MULTILEVEL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20091113
2 IF_EX_BADI_EAM_LIST_FCODE Interface for Additional Function Codes in Lists 20091113
Friends
Class CL_EAML_GRAPHICS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_CATEGORIES Instance attribute Private Type reference (TYPE) GTY_T_CATEGORIES 20091116
2 GT_SERIES Instance attribute Private Type reference (TYPE) GTY_T_SERIES 20091116
3 GV_END Instance attribute Private Type reference (TYPE) EAML_GRAPHICS_VALUE Value for Graphics 20091116
4 GV_OBJECT Instance attribute Private Type reference (TYPE) GTY_OBJECT 20091116
5 GV_START Instance attribute Private Type reference (TYPE) EAML_GRAPHICS_VALUE Value for Graphics 20091116
6 GV_UNIT Instance attribute Private Type reference (TYPE) EAML_LINEAR_UNIT Unit of Measurement for Linear Data 20100128
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_TABLE_LFE_BARS Instance method Private Method Prepare table of linear data for number of bars 20091126
2 CHANGE_TABLE_LFE_TEXT Instance method Private Method Prepare table of linear data for text of series 20091126
3 CREATE_TABLES_GRAPHICS Instance method Private Method Create the tables for graphics 20091116
4 CREATE_TABLE_LFE Instance method Private Method Create the table of linear data 20091113
5 CREATE_TABLE_LFE_DATA Instance method Private Method Create the table of linear data 20091126
6 GET_TEXT_ELEMENT Static method Public Method Get text element 20101007
7 PREPARE_TEXT Instance method Private Method Prepare the text for lines, bars, message, tooltip and color 20100224
8 UNIT_CONVERSION Instance method Public Method Convert in an other unit 20100128
Events
Class CL_EAML_GRAPHICS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_OBJECT Private See coding Multilevel Object type 20091116 gty_object(60) TYPE c
2 GTY_S_CHARA_KEY Private See coding Structure for Key of characteristics 20100311 begin of gty_s_chara_key, key1 TYPE string, "class key2 TYPE string, "characteristics key3 TYPE string, "value end of gty_s_chara_key
3 GTY_S_OBJECTS_LFE Private See coding Structure for Linear Data 20091113 BEGIN OF gty_s_objects_lfe , level TYPE i, "level of alv-tree point_id TYPE string, chara_key type gty_s_chara_key, sort_number TYPE syindex, start_value TYPE eaml_graphics_value, end_value TYPE eaml_graphics_value, object_key(04) TYPE c, "LFE or LFEC series_number TYPE syindex,"number of bar-seg.*2 object_id TYPE string, category_text TYPE string, label_text TYPE string, "label-text in bar segm. series_tooltip_text1 TYPE string, "tooltip part1 series_tooltip_text2 TYPE string, "tooltip: start/end END OF gty_s_objects_lfe
4 GTY_S_OBJECT_KEY Private See coding Structure for Multilevel Object type with key 20091113 BEGIN OF gty_s_object_key , key(4) TYPE c, data(56) TYPE c, END OF gty_s_object_key
5 GTY_S_SERIES Public See coding Structure for Series in Graphics 20091113 BEGIN OF gty_s_series, label_id TYPE string, id TYPE string, values_tab type gty_t_values, END OF gty_s_series
6 GTY_S_VALUES Public Type reference (TYPE) EAML_S_GRAPHICS_VALUES Structure for Values in Graphics 20091116
7 GTY_T_CATEGORIES Public See coding Table type for Categories in Graphics 20091116 gty_t_categories TYPE STANDARD TABLE OF string
8 GTY_T_OBJECTS_LFE Private See coding Table type for Linear Data 20091113 gty_t_objects_lfe TYPE STANDARD TABLE OF gty_s_objects_lfe
9 GTY_T_SERIES Public See coding Table type for Series in Graphics 20091116 gty_t_series TYPE STANDARD TABLE OF gty_s_series
10 GTY_T_VALUES Public Type reference (TYPE) EAML_T_GRAPHICS_VALUES Table type for Values in Graphics 20091113
Method Signatures

Method CHANGE_TABLE_LFE_BARS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OBJ_LFE Call by reference Type reference (TYPE) GTY_T_OBJECTS_LFE Table of Linear Data 20091126
2 Changing CV_END Call by reference Type reference (TYPE) EAML_GRAPHICS_VALUE End Point of Graphics 20091207
3 Changing CV_START Call by reference Type reference (TYPE) EAML_GRAPHICS_VALUE Start Point of Graphics 20091207
4 Exporting EV_SERIES_TOTAL Call by reference Type reference (TYPE) SY-TABIX Total Series Number 20091126

Method CHANGE_TABLE_LFE_BARS on class CL_EAML_GRAPHICS has no exception.

Method CHANGE_TABLE_LFE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_OBJ_LFE Call by reference Type reference (TYPE) GTY_T_OBJECTS_LFE Table of Linear Data 20091126
2 Importing IV_END Call by reference Type reference (TYPE) EAML_GRAPHICS_VALUE End Point of Graphics 20091126
3 Importing IV_START Call by reference Type reference (TYPE) EAML_GRAPHICS_VALUE Start Point of Graphics 20091126

Method CHANGE_TABLE_LFE_TEXT on class CL_EAML_GRAPHICS has no exception.

Method CREATE_TABLES_GRAPHICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CATEGORIES Call by reference Type reference (TYPE) GTY_T_CATEGORIES Table of Categories 20091116
2 Exporting ET_SERIES Call by reference Type reference (TYPE) GTY_T_SERIES Table of Series 20091116
3 Importing IT_OBJ_LFE Call by reference Type reference (TYPE) GTY_T_OBJECTS_LFE Table of Linear Data 20091125
4 Importing IV_SERIES_TOTAL Call by reference Type reference (TYPE) SY-INDEX Total Series Number 20091116

Method CREATE_TABLES_GRAPHICS on class CL_EAML_GRAPHICS has no exception.

Method CREATE_TABLE_LFE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJ_LFE Call by reference Type reference (TYPE) GTY_T_OBJECTS_LFE Table of Linear Data 20091113
2 Exporting EV_END Call by reference Type reference (TYPE) EAML_GRAPHICS_VALUE End Point of Graphics 20091125
3 Exporting EV_SERIES_TOTAL Call by reference Type reference (TYPE) SY-INDEX Total Series Number 20091116
4 Exporting EV_START Call by reference Type reference (TYPE) EAML_GRAPHICS_VALUE Start Point of Graphics 20091125
5 Exporting EV_UNIT Call by reference Type reference (TYPE) EAML_LINEAR_UNIT Unit of Measurement of Graphics 20100128
6 Importing IT_SELECTED_OBJECTS Call by reference Type reference (TYPE) STANDARD TABLE Table of Multilevel Report 20091113
7 Importing IV_INDEX Call by reference Type reference (TYPE) SY-TABIX Index of selected Line 20091113
# Exception Resumable Description Created on
1 CONVERSION_FAILED Conversion from Start or End Point failed 20091208

Method CREATE_TABLE_LFE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJ_LFE Call by reference Type reference (TYPE) GTY_T_OBJECTS_LFE Table of Linear Data 20091126
2 Exporting EV_END Call by reference Type reference (TYPE) EAML_GRAPHICS_VALUE End Point of Graphics 20091204
3 Exporting EV_START Call by reference Type reference (TYPE) EAML_GRAPHICS_VALUE Start Point of Graphics 20091204
4 Exporting EV_UNIT Call by reference Type reference (TYPE) EAML_LINEAR_UNIT Unit of Measurement of Graphics 20100128
5 Importing IT_SELECTED_OBJECTS Call by reference Type reference (TYPE) STANDARD TABLE Table of Multilevel Report 20091126
6 Importing IV_INDEX Call by reference Type reference (TYPE) SY-TABIX Index of selected Line 20091126
# Exception Resumable Description Created on
1 CONVERSION_FAILED Conversion from Start or End Point failed 20091208

Method GET_TEXT_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NUM Call by reference Type reference (TYPE) CHAR3 Internal number of text element 20101007
2 Returning R_TEXT Value transfer Type reference (TYPE) CHAR40 Text 20101007

Method GET_TEXT_ELEMENT on class CL_EAML_GRAPHICS has no exception.

Method PREPARE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CATEGORIE Call by reference Type reference (TYPE) STRING Categories-text 20100312
2 Exporting EV_LABEL_TEXT Call by reference Type reference (TYPE) STRING Label-text for Values in Series 20100315
3 Exporting EV_MESSAGE Call by reference Type reference (TYPE) STRING Message-text 20100226
4 Exporting EV_POINT_ID Call by reference Type reference (TYPE) STRING Point ID for Colour 20100224
5 Exporting EV_TOOLTIP Call by reference Type reference (TYPE) STRING Tooltip-text (Part1) 20100312
6 Importing IS_LFE Call by reference Type reference (TYPE) EAML_S_LFE_DATA_ALV_KEYS Linear Feature Extension -ALV with KEY1, KEY2 20100312
7 Importing IS_LFEC Call by reference Type reference (TYPE) EAML_RIHCLDA Reporting struct. for characteristics with linear data 20100312
8 Importing IS_OBJECT Call by reference Type reference (TYPE) GTY_S_OBJECT_KEY Multilevel Object Type 20100224
9 Importing IV_PRE_KEY Call by reference Type reference (TYPE) GTY_S_OBJECT_KEY-KEY Multilevel Predecessor 20100224

Method PREPARE_TEXT on class CL_EAML_GRAPHICS has no exception.

Method UNIT_CONVERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_POINT Call by reference Type reference (TYPE) CL_EAML_MULTILEVEL=>GTY_S_LFE_DATA-START_POINT convert value of Start/End Point 20100128
2 Exporting EV_VALUE Call by reference Type reference (TYPE) EAML_GRAPHICS_VALUE Value of Start/End Point 20100128
3 Importing IV_INPUT_UNIT Call by reference Type reference (TYPE) EAML_LINEAR_UNIT Unit of Measurement for Linear Data 20100128
4 Importing IV_OUTPUT_UNIT Call by reference Type reference (TYPE) EAML_LINEAR_UNIT Unit of Measurement for Linear Data 20100128
5 Importing IV_POINT Call by reference Type reference (TYPE) CL_EAML_MULTILEVEL=>GTY_S_LFE_DATA-START_POINT Value of Start/End Point 20100128
# Exception Resumable Description Created on
1 CONVERSION_FAILED Conversion from Start or End Point failed 20100128
History
Last changed by/on SAP  20110908 
SAP Release Created in 605