SAP ABAP Class CL_EAML_GB_GRAPHIC (Gantt Bar Graphic - JNET)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PM-EQM (Application Component) Technical Objects
     EAML (Package) EAM: Linear Feature Extension - unswitched
Properties
Class CL_EAML_GB_GRAPHIC  
Short Description Gantt Bar Graphic - JNET    
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 20101006   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_EAML_MULTILEVEL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_EAML_GB_GRAPHIC has no interface implemented.
Friends
Class CL_EAML_GB_GRAPHIC has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_COL_EQUI Constant Private Type reference (TYPE) EAML_JNET_COLOR_HEX '#ADFF2F' Hex Value for EQUI 20101202
2 GC_COL_FLOC Constant Private Type reference (TYPE) EAML_JNET_COLOR_HEX '#87CEFA' Hex Value for FLOC 20101202
3 GC_COL_MARKER Constant Private Type reference (TYPE) EAML_JNET_COLOR_HEX '#FF0000' Hex Value for Marker 20101118
4 GC_MAX_MARKER Static Attribute Private Type reference (TYPE) I 1000 20110809
5 GC_UNIT_SIZE Constant Private Type reference (TYPE) STRING '80' 20101028
6 GS_ABS_MAX Static Attribute Private Type reference (TYPE) GTY_S_ABS_MAX 20101115
7 GS_ML_RANGE Instance attribute Private Type reference (TYPE) TY_DS_RANGE_STR 20101027
8 GS_TXT Instance attribute Private Type reference (TYPE) TY_TXT 20101214
9 GT_COLOR Instance attribute Private Type reference (TYPE) EAML_T_JNET_COLORS Table type EAML_JNET_COLORS 20101006
10 GT_GANTT_NODE Instance attribute Private Type reference (TYPE) TY_T_GANTT_NODE 20101006
11 GT_JNET_COLOR Instance attribute Private Type reference (TYPE) TY_T_JNET_COLOR 20101027
12 GT_ROW_ID Instance attribute Private Type reference (TYPE) TY_T_ROW_ID 20101027
13 GV_DISP_UNIT Static Attribute Public Type reference (TYPE) EAML_LINEAR_UNIT Unit of Measurement for Linear Data 20101123
14 GV_ROWIDS Instance attribute Private Type reference (TYPE) STRING 20101027
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20101006
2 CONV_LINPOINT_2_DATE Static method Private Method 20101006
3 GET_COLORS Instance method Private Method 20101103
4 GET_DS_XML Instance method Public Method DynSeg XML 20101006
5 GET_DYNSEG Instance method Private Method Calculate Dynamic Segmentation 20101006
6 GET_DYNSEG_FOR_ATTR Instance method Private Method Calculate Dynamic Segmentation per attribute 20101006
7 GET_GANTT_FROM_DYNSEG Instance method Private Method Gather information needed for Gantt from dynamic seg 20101006
8 GET_GANTT_FROM_ML Instance method Private Method Gather information needed for Gantt from multilevel data 20101006
9 GET_LABEL_TXT Instance method Private Method Get label text 20110217
10 GET_MAX_VALUE Static method Public Method 20101119
11 GET_ML_XML Instance method Public Method Multilevel List XML 20101006
12 GET_NW_TECOBJ_LFE Instance method Private Method 20101118
13 GET_RELOAD_XML Instance method Public Method Call transformation for reloading GANTT timescale 20101028
14 GET_UOM_TXT Instance method Private Method 20110217
15 SET_MAX_VALUE Static method Public Method 20101115
Events
Class CL_EAML_GB_GRAPHIC has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_S_ABS_MAX Public See coding 20101115 BEGIN OF gty_s_abs_max, value TYPE eaml_start_point_alv, unit TYPE meinh, END OF gty_s_abs_max
2 TY_ATTR Public See coding 20101006 BEGIN OF ty_attr, evtid TYPE eaml_evt_id, attr TYPE eaml_evt_attr, attr_uom TYPE eaml_evt_attr_uom, attr_val TYPE eaml_evt_attr_val, END OF ty_attr
3 TY_DS_RANGE Public See coding 20101006 BEGIN OF ty_ds_range, start TYPE eaml_start_point, end TYPE eaml_end_point, uom TYPE eaml_linear_unit, END OF ty_ds_range
4 TY_DS_RANGE_STR Public See coding 20101006 BEGIN OF ty_ds_range_str, start TYPE string, end TYPE string, uom TYPE string, unit_size TYPE string, END OF ty_ds_range_str
5 TY_DYNSEG Public See coding 20101006 BEGIN OF ty_dynseg, evtid TYPE eaml_evt_id, netid TYPE netid, obj_type TYPE eaml_evt_obj_type, obj_type_t TYPE eaml_evt_otype_txt, object TYPE eaml_evt_object, object_txt TYPE eaml_evt_obj_txt, start TYPE eaml_start_point, end TYPE eaml_end_point, attr_tab TYPE eaml_t_evt_atval, evt_x TYPE abap_bool, "line with event data, not dynseg data, becomes child in GANTT END OF ty_dynseg
6 TY_EVT_COLOR Public See coding 20101029 BEGIN OF ty_evt_color, evtid TYPE eaml_evt_id, color_type TYPE string, END OF ty_evt_color
7 TY_GANTT_NODE Private See coding 20101006 BEGIN OF ty_gantt_node, row_id TYPE string, node_id TYPE string, color_type TYPE string, label TYPE string, tooltip TYPE string, start_date TYPE string, "(currently yyyyyyMMDDhhmmss) end_date TYPE string, "(currently yyyyyyMMDDhhmmss) evtid TYPE string, "In order to relate node_id to EVTID markerx TYPE string, "marker END OF ty_gantt_node
8 TY_JNET_COLOR Private See coding 20101006 BEGIN OF ty_jnet_color, type TYPE string, node_color TYPE string, END OF ty_jnet_color
9 TY_ROW_ID Private See coding 20101006 BEGIN OF ty_row_id, rowid TYPE string, label TYPE string, parent_ex TYPE string, "has parent parent_row_id TYPE string, "for multilevel list END OF ty_row_id
10 TY_TXT Private See coding 20101214 BEGIN OF ty_txt, lin_unit TYPE string, dis_obj TYPE string, cha_obj TYPE string, size TYPE string, END OF ty_txt
11 TY_T_ATTR Public See coding 20101006 ty_t_attr TYPE STANDARD TABLE OF ty_attr
12 TY_T_DYNSEG Public See coding 20101006 ty_t_dynseg TYPE STANDARD TABLE OF ty_dynseg
13 TY_T_EVT_COLOR Public See coding 20101028 ty_t_evt_color TYPE SORTED TABLE OF ty_evt_color WITH KEY evtid
14 TY_T_GANTT_NODE Private See coding 20101006 ty_t_gantt_node TYPE STANDARD TABLE OF ty_gantt_node
15 TY_T_JNET_COLOR Private See coding 20101006 ty_t_jnet_color TYPE STANDARD TABLE OF ty_jnet_color
16 TY_T_ROW_ID Private See coding 20101006 ty_t_row_id TYPE STANDARD TABLE OF ty_row_id
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_EAML_GB_GRAPHIC has no parameter.
Method CONSTRUCTOR on class CL_EAML_GB_GRAPHIC has no exception.

Method CONV_LINPOINT_2_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) STRING 20101006
2 Importing IV_POINT Call by reference Type reference (TYPE) EAML_START_POINT Start Point 20101006

Method CONV_LINPOINT_2_DATE on class CL_EAML_GB_GRAPHIC has no exception.

Method GET_COLORS Signature

Method GET_COLORS on class CL_EAML_GB_GRAPHIC has no parameter.
Method GET_COLORS on class CL_EAML_GB_GRAPHIC has no exception.

Method GET_DS_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110809
2 Exporting EV_XML Call by reference Type reference (TYPE) XSTRING 20101006
3 Importing IT_NETID Call by reference Type reference (TYPE) EAML_T_NETID EAML: table type for NETID 20101006
# Exception Resumable Description Created on
1 CONV_ERR 20101006
2 MAX_REACHED 20101115
3 NO_DS_DATA 20101006

Method GET_DYNSEG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DS_RANGE Call by reference Type reference (TYPE) TY_DS_RANGE 20101006
2 Exporting ET_DYNSEG Call by reference Type reference (TYPE) TY_T_DYNSEG 20101006
3 Importing IV_LINEAR_UNIT Call by reference Type reference (TYPE) EAML_LINEAR_UNIT Unit of Measurement for Linear Data 20101006
4 Importing IV_NETID Call by reference Type reference (TYPE) NETID Network identification 20101006

Method GET_DYNSEG on class CL_EAML_GB_GRAPHIC has no exception.

Method GET_DYNSEG_FOR_ATTR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DYNSEG Call by reference Type reference (TYPE) TY_T_DYNSEG 20101006
2 Importing IT_ATVAL Call by reference Type reference (TYPE) EAML_T_EVT_ATVAL EAML: table type for event attribute value 20101006
3 Importing IT_EVENT_LFE Call by reference Type reference (TYPE) EAML_T_EVT_LFE EAML: Table Type for EAML_S_EVT_LFE 20101006

Method GET_DYNSEG_FOR_ATTR on class CL_EAML_GB_GRAPHIC has no exception.

Method GET_GANTT_FROM_DYNSEG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DS_RANGE Call by reference Type reference (TYPE) TY_DS_RANGE_STR 20101006
2 Exporting ET_GANTT_NODE Call by reference Type reference (TYPE) TY_T_GANTT_NODE 20101006
3 Exporting ET_JNET_COLOR Call by reference Type reference (TYPE) TY_T_JNET_COLOR 20101006
4 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110809
5 Exporting ET_ROW_ID Call by reference Type reference (TYPE) TY_T_ROW_ID 20101006
6 Exporting EV_ROWIDS Call by reference Type reference (TYPE) STRING 20101006
7 Importing IS_DS_RANGE Call by reference Type reference (TYPE) TY_DS_RANGE 20101006
8 Importing IT_DYNSEG Call by reference Type reference (TYPE) TY_T_DYNSEG 20101006
9 Importing IV_NETID Call by reference Type reference (TYPE) NETID Network identification 20101118
# Exception Resumable Description Created on
1 MAX_REACHED 20101115

Method GET_GANTT_FROM_ML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ML_RANGE Call by reference Type reference (TYPE) TY_DS_RANGE_STR Range of graphic 20101027
2 Exporting ET_GANTT_NODE Call by reference Type reference (TYPE) TY_T_GANTT_NODE ITAB node information 20101006
3 Exporting ET_JNET_COLOR Call by reference Type reference (TYPE) TY_T_JNET_COLOR ITAB colour definition 20101006
4 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110809
5 Exporting ET_ROW_ID Call by reference Type reference (TYPE) TY_T_ROW_ID ITAB node IDs 20101006
6 Exporting EV_ROWIDS Call by reference Type reference (TYPE) STRING String with node IDs 20101006
7 Importing IT_OBJECTS Call by reference Type reference (TYPE) ANY TABLE Objects of multilevel list 20101006
8 Importing IV_GRAPH_TYPE Call by reference Type reference (TYPE) CHAR6 Character field of length 6 20101006
# Exception Resumable Description Created on
1 MAX_REACHED 20101111

Method GET_LABEL_TXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJ Call by reference Type reference (TYPE) STRING 20110217
2 Returning RV_LBL_TXT Value transfer Type reference (TYPE) STRING 20110217

Method GET_LABEL_TXT on class CL_EAML_GB_GRAPHIC has no exception.

Method GET_MAX_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_ABS_MAX Value transfer Type reference (TYPE) GTY_S_ABS_MAX 20101119

Method GET_MAX_VALUE on class CL_EAML_GB_GRAPHIC has no exception.

Method GET_ML_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110809
2 Exporting EV_XML Call by reference Type reference (TYPE) XSTRING 20101006
3 Importing IT_OBJECTS Call by reference Type reference (TYPE) ANY TABLE 20101006
4 Importing IV_GRAPH_TYPE Call by reference Type reference (TYPE) CHAR6 Character field of length 6 20101006
# Exception Resumable Description Created on
1 CONV_ERR 20101006
2 MAX_REACHED 20101111

Method GET_NW_TECOBJ_LFE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EQUI_LFE_DATA Call by reference Type reference (TYPE) EAML_T_LFE_DATA_ALV_MULTI 20101118
2 Exporting ET_FLOC_LFE_DATA Call by reference Type reference (TYPE) EAML_T_LFE_DATA_ALV_MULTI 20101118
3 Importing IV_NETID Call by reference Type reference (TYPE) NETID Network identification 20101118

Method GET_NW_TECOBJ_LFE on class CL_EAML_GB_GRAPHIC has no exception.

Method GET_RELOAD_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_XML Call by reference Type reference (TYPE) XSTRING 20101028
2 Importing IV_APPL Call by reference Type reference (TYPE) SYCHAR02 CHAR02 data element for SYST 20101115
3 Importing IV_ZOOM_CODE Call by reference Type reference (TYPE) CHAR30 30 Characters 20101028

Method GET_RELOAD_XML on class CL_EAML_GB_GRAPHIC has no exception.

Method GET_UOM_TXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UNIT Call by reference Type reference (TYPE) STRING 20110217
2 Returning RS_TXT Value transfer Type reference (TYPE) TY_TXT 20110217

Method GET_UOM_TXT on class CL_EAML_GB_GRAPHIC has no exception.

Method SET_MAX_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MAX_VALUE Call by reference Type reference (TYPE) EAML_START_POINT_ALV Start Point 20101115
2 Importing IV_UNIT Call by reference Type reference (TYPE) EAML_LINEAR_UNIT Unit of Measurement for Linear Data 20101115

Method SET_MAX_VALUE on class CL_EAML_GB_GRAPHIC has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606