SAP ABAP Class CL_TIME_CHART_SIMPLE (Simple time chart (based on chart engine))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-MON-ORA (Application Component) Oracle Database Monitors
     S_DBMON_ORA_COCKPIT (Package) Database Monitor for Oracle in Cockpit Framework
Properties
Class CL_TIME_CHART_SIMPLE  
Short Description Simple time chart (based on chart engine)    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_DBMON_ORA_COCKPIT   Database Monitor for Oracle in Cockpit Framework 
Created 20051110   SAP 
Last change 20070911   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_TIME_CHART_SIMPLE has no forward declaration.
Interfaces
Class CL_TIME_CHART_SIMPLE has no interface implemented.
Friends
Class CL_TIME_CHART_SIMPLE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_FALSE Constant Private Type reference (TYPE) C ' ' false 20051205
2 C_TRUE Constant Private Type reference (TYPE) C 'X' true 20051205
3 GS_CUSTOMIZING Instance attribute Private Type reference (TYPE) TCS_S_CUSTOMIZING Customizing data structure 20051206
4 GS_GDFILTER Instance attribute Private Type reference (TYPE) TCS_S_DFILTER Data filter 20051206
5 GT_GDATA Instance attribute Private Type reference (TYPE) TCS_T_DATA Table with raw graphics data 20051206
6 GT_GDATA_FILTERED Instance attribute Private Type reference (TYPE) TCS_T_DATA Table with filtered raw graphics data 20051206
7 G_CE_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in the Screen Area 20051110
8 G_CE_FLG_WIN Instance attribute Private Type reference (TYPE) XFELD Flag: CE runs on windows frontend 20051205
9 G_CE_VIEWER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CHART_ENGINE Control for Chart Engine 20051110
10 G_CE_VIEWER_WIN Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CHART_ENGINE_WIN Control to Win CE (if Windows Frontend) 20051205
11 G_CUSTSTRING Instance attribute Private Type reference (TYPE) XSTRING String with XML-prepared customizing 20051206
12 G_CUST_MODE Instance attribute Private Type reference (TYPE) C Switch for customizing (/design) mode 20051206
13 G_DATASTRING Instance attribute Private Type reference (TYPE) XSTRING String with XML-prepared data 20051206
14 G_GDATA_TSMAX Instance attribute Private Type reference (TYPE) STRING Max. timestamp of available data 20051207
15 G_GDATA_TSMIN Instance attribute Private Type reference (TYPE) STRING Min. timestamp of available data 20051207
16 G_IXML_MF Instance attribute Private Object reference (TYPE REF TO) IF_IXML IXML main factory 20051110
17 G_IXML_SF Instance attribute Private Object reference (TYPE REF TO) IF_IXML_STREAM_FACTORY IXML stream factory 20051110
Methods
# Method Level Visibility Method type Description Created on
1 ADD_SECONDS_TO_TIMESTAMP Static method Public Method Utility: Add a number of seconds to a timestamp 20051206
2 CALC_TIMEFRAME_LENGTH_SEC Static method Public Method Utility: Calculate the length (diff.) between to timestamps 20051207
3 CONSTRUCTOR Instance method Public Constructor Constructor 20051110
4 CREATE_CUSTOMIZING_IXMLDOC Instance method Private Method Create an XML document from raw customizing structure 20060313
5 CREATE_CUSTOMIZING_IXMLD_SAVE Instance method Private Method Create an XML document for saving image (NOT USED!) 20060313
6 CREATE_DATA_IXML Instance method Private Method Create an XML document from raw data table 20060313
7 CREATE_TIMESTAMP Static method Public Method Utility: Create timestamp for time chart 20051206
8 DELETE_CUSTOMIZING_DB Instance method Public Method Delete (full) chart customizing from a database table 20051208
9 FILTER_DATA_TOP_N Instance method Public Method Filter graphics data to top N series 20051206
10 GET_CURR_CUST_ENRICH_SAVEPAR Instance method Private Method Get CE customizing, create iXML doc., enrich "Save" elements 20060313
11 LOAD_CUSTOMIZING_DB Instance method Public Method Load (full) chart customizing from a database table 20051208
12 LOAD_CUSTOMIZING_FRONTEND Instance method Public Method Load (full) chart customizing from a frontend file 20051208
13 PASS_EVENT_CLICK Instance method Private Event handling method Passes Click Event from Chart Engine to TCS User 20060309
14 PASS_EVENT_PROPERTY_CHANGE Instance method Private Event handling method Passes Property Change Event from Chart Engine to TCS User 20060309
15 PASS_EVENT_VALUE_CHANGE Instance method Private Event handling method Passes Value Change Event from Chart Engine to TCS User 20060309
16 PRINT_CHART Instance method Public Method Print graphics / chart 20051206
17 REFRESH_GDISPLAY Instance method Private Method Filter data, Render as XML-String and Refresh chart 20051207
18 RENDER_CUSTOMIZING Instance method Private Method Render a XML customizing string from raw customizing struct. 20051206
19 RENDER_DATASTRING Instance method Private Method Render a XML data string from raw data table 20051206
20 SAVE_CHART Instance method Public Method Save graphics / chart to a frontend file 20060309
21 SAVE_CUSTOMIZING_DB Instance method Public Method Save current (full) chart customizing to a database table 20051208
22 SAVE_CUSTOMIZING_FRONTEND Instance method Public Method Save current (full) chart customizing to a frontend file 20051208
23 SCROLL_LEFT Instance method Public Method Scroll left by x % 20051207
24 SCROLL_LEFT_BORDER Instance method Public Method Scroll to left border 20051207
25 SCROLL_RIGHT Instance method Public Method Scroll right by x % 20051207
26 SCROLL_RIGHT_BORDER Instance method Public Method Scroll to right border 20051207
27 SET_CUSTOMIZING Instance method Public Method Set graphics customizing 20051206
28 SET_DATA Instance method Public Method Set graphics data 20051205
29 TOGGLE_CUSTOMIZING_MODE Instance method Public Method Toggle customizing / design mode (switch on / off) 20051206
30 UNPACK_TIMESTAMP Static method Public Method Utility: Unpack timestamp to date, time, msec 20051206
31 ZOOM_IN Instance method Public Method Zoom in by x % 20051207
32 ZOOM_OUT Instance method Public Method Zoom out by x % 20051207
Events
# Event Type Visibility Description Created on
1 CLICK Instance Event
(0)
Public
(2)
Click on the Object 20051205
2 PROPERTY_CHANGE Instance Event
(0)
Public
(2)
Customizing Change 20051205
3 VALUE_CHANGE Instance Event
(0)
Public
(2)
Value Change (*** Currently not available! ***) 20051205
Types
Class CL_TIME_CHART_SIMPLE has no local type.
Method Signatures

Method ADD_SECONDS_TO_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SECONDS Value transfer Type reference (TYPE) I Number of seconds to be added 20051206
2 Importing I_TIMESTAMP Call by reference Type reference (TYPE) STRING Original timestamp 20051206
3 Returning R_TIMESTAMP Value transfer Type reference (TYPE) STRING Calculated new timestamp 20051206
# Exception Resumable Description Created on
1 INVALID_TIMESTAMP Invalid timestamp (does not fit defined format) 20051206

Method CALC_TIMEFRAME_LENGTH_SEC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TIMESTAMP_FROM Call by reference Type reference (TYPE) STRING Timestamp 1 20051207
2 Importing I_TIMESTAMP_TO Call by reference Type reference (TYPE) STRING Timestamp 2 20051207
3 Returning R_SECONDS Value transfer Type reference (TYPE) I Length in seconds 20051207
# Exception Resumable Description Created on
1 NOT_A_VALID_TIMEFRAME Parameter values describe not a valid time frame 20051207

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Custom controls container for chart 20051110

Method CONSTRUCTOR on class CL_TIME_CHART_SIMPLE has no exception.

Method CREATE_CUSTOMIZING_IXMLDOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IXML_CUSTOMIZING_DOC Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT iXML document containing the customizing 20060313
2 Importing IS_CUSTOMIZING Call by reference Type reference (TYPE) TCS_S_CUSTOMIZING Customizing structure 20060313

Method CREATE_CUSTOMIZING_IXMLDOC on class CL_TIME_CHART_SIMPLE has no exception.

Method CREATE_CUSTOMIZING_IXMLD_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IXML_CUSTOMIZING_DOC Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT iXML document containing the customizing 20060313
2 Importing IS_CUSTOMIZING Call by reference Type reference (TYPE) TCS_S_CUSTOMIZING Customizing structure 20060313
3 Importing I_FILETYPE Call by reference Type reference (TYPE) STRING Required file type (optional: BMP, JPG, GIF) 20060313
4 Importing I_HEIGHT Call by reference Type reference (TYPE) STRING Image height 20060313
5 Importing I_WIDTH Call by reference Type reference (TYPE) STRING Image width 20060313

Method CREATE_CUSTOMIZING_IXMLD_SAVE on class CL_TIME_CHART_SIMPLE has no exception.

Method CREATE_DATA_IXML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IXML_DATA_DOC Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT iXML document containing the data 20060313
2 Importing IT_GDATA Call by reference Type reference (TYPE) TCS_T_DATA Table containing raw graphics data 20060313

Method CREATE_DATA_IXML on class CL_TIME_CHART_SIMPLE has no exception.

Method CREATE_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATE Call by reference Type reference (TYPE) CHAR8 Date (SPACE if undefined) 20051206
2 Importing I_MILLI Call by reference Type reference (TYPE) CHAR3 millisec (SPACE if undefined) 20051206
3 Importing I_TIME Call by reference Type reference (TYPE) CHAR6 Time (SPACE if undefined) 20051206
4 Returning R_TIMESTAMP Value transfer Type reference (TYPE) STRING Timestamp [yyyymmdd][;hhmmss[msec]] 20051206

Method CREATE_TIMESTAMP on class CL_TIME_CHART_SIMPLE has no exception.

Method DELETE_CUSTOMIZING_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_GRAPHID Call by reference Type reference (TYPE) TCS_GRAPH_ID TimeChartSimple: ID of graphic for which settings are stored 20051208
# Exception Resumable Description Created on
1 NOT_AVAILABLE Function not available (normally due to GUI) 20051208

Method FILTER_DATA_TOP_N Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TOP_N Call by reference Type reference (TYPE) I Number of top series that have to be displayed 20051206

Method FILTER_DATA_TOP_N on class CL_TIME_CHART_SIMPLE has no exception.

Method GET_CURR_CUST_ENRICH_SAVEPAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IXML_CUSTOMIZING_DOC Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT iXML document containing the current customizing 20060313
2 Importing I_FILETYPE Call by reference Type reference (TYPE) STRING Required file type (optional: BMP, JPG, GIF) 20060313
3 Importing I_HEIGHT Call by reference Type reference (TYPE) STRING Image height 20060313
4 Importing I_WIDTH Call by reference Type reference (TYPE) STRING Image width 20060313
# Exception Resumable Description Created on
1 NOT_AVAILABLE Function not available (usually depending on GUI) 20060313
2 PARSE_ERROR Parse errors in customizing XML sequence 20060313

Method LOAD_CUSTOMIZING_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_GRAPHID Call by reference Type reference (TYPE) TCS_GRAPH_ID TimeChartSimple: ID of graphic for which settings are stored 20051208
# Exception Resumable Description Created on
1 NOT_AVAILABLE Function not available (normally due to GUI) 20051208

Method LOAD_CUSTOMIZING_FRONTEND Signature

Method LOAD_CUSTOMIZING_FRONTEND on class CL_TIME_CHART_SIMPLE has no parameter.
# Exception Resumable Description Created on
1 NOT_AVAILABLE Function not available (normally due to GUI) 20051208

Method PASS_EVENT_CLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ELEMENT Call by reference Attribute reference (LIKE) 20060309
2 Importing POINT Call by reference Attribute reference (LIKE) 20060309
3 Importing SERIES Call by reference Attribute reference (LIKE) 20060309

Method PASS_EVENT_CLICK on class CL_TIME_CHART_SIMPLE has no exception.

Method PASS_EVENT_PROPERTY_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ELEMENT Call by reference Attribute reference (LIKE) 20060309
2 Importing NAME Call by reference Attribute reference (LIKE) 20060309
3 Importing VALUE Call by reference Attribute reference (LIKE) 20060309

Method PASS_EVENT_PROPERTY_CHANGE on class CL_TIME_CHART_SIMPLE has no exception.

Method PASS_EVENT_VALUE_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing POINT Call by reference Attribute reference (LIKE) 20060309
2 Importing SERIES Call by reference Attribute reference (LIKE) 20060309
3 Importing VALUE Call by reference Attribute reference (LIKE) 20060309

Method PASS_EVENT_VALUE_CHANGE on class CL_TIME_CHART_SIMPLE has no exception.

Method PRINT_CHART Signature

Method PRINT_CHART on class CL_TIME_CHART_SIMPLE has no parameter.
# Exception Resumable Description Created on
1 NOT_AVAILABLE Function not available (normally due to GUI) 20051206

Method REFRESH_GDISPLAY Signature

Method REFRESH_GDISPLAY on class CL_TIME_CHART_SIMPLE has no parameter.
Method REFRESH_GDISPLAY on class CL_TIME_CHART_SIMPLE has no exception.

Method RENDER_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CUSTOMIZING Call by reference Type reference (TYPE) TCS_S_CUSTOMIZING Customizing structure 20051206
2 Returning R_CUSTSTRING Value transfer Type reference (TYPE) XSTRING String with XML-prepared customizing 20051206

Method RENDER_CUSTOMIZING on class CL_TIME_CHART_SIMPLE has no exception.

Method RENDER_DATASTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_GDATA Call by reference Type reference (TYPE) TCS_T_DATA Table containing raw graphics data 20051206
2 Returning R_DATASTRING Value transfer Type reference (TYPE) XSTRING String with XML-prepared data 20051206

Method RENDER_DATASTRING on class CL_TIME_CHART_SIMPLE has no exception.

Method SAVE_CHART Signature

Method SAVE_CHART on class CL_TIME_CHART_SIMPLE has no parameter.
# Exception Resumable Description Created on
1 ERROR_DURING_IMAGE_CREATION Error occured during image creation 20060309
2 NOT_AVAILABLE Function not available (usually depending on GUI) 20060309

Method SAVE_CUSTOMIZING_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_GRAPHID Call by reference Type reference (TYPE) TCS_GRAPH_ID TimeChartSimple: ID of graphic for which settings are stored 20051208
# Exception Resumable Description Created on
1 NOT_AVAILABLE Function not available (normally due to GUI) 20051208

Method SAVE_CUSTOMIZING_FRONTEND Signature

Method SAVE_CUSTOMIZING_FRONTEND on class CL_TIME_CHART_SIMPLE has no parameter.
# Exception Resumable Description Created on
1 NOT_AVAILABLE Function not available (normally due to GUI) 20051208

Method SCROLL_LEFT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PERCENTAGE Call by reference Type reference (TYPE) I percentage (1..x); 100% = 1 page 20051207
# Exception Resumable Description Created on
1 INVALID_PERCENTAGE Percentage is not valid (should be >= 1) 20051207

Method SCROLL_LEFT_BORDER Signature

Method SCROLL_LEFT_BORDER on class CL_TIME_CHART_SIMPLE has no parameter.
Method SCROLL_LEFT_BORDER on class CL_TIME_CHART_SIMPLE has no exception.

Method SCROLL_RIGHT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PERCENTAGE Call by reference Type reference (TYPE) I percentage (1..x); 100% = 1 page 20051207
# Exception Resumable Description Created on
1 INVALID_PERCENTAGE Percentage is not valid (should be >= 1) 20051207

Method SCROLL_RIGHT_BORDER Signature

Method SCROLL_RIGHT_BORDER on class CL_TIME_CHART_SIMPLE has no parameter.
Method SCROLL_RIGHT_BORDER on class CL_TIME_CHART_SIMPLE has no exception.

Method SET_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CUSTOMIZING Call by reference Type reference (TYPE) TCS_S_CUSTOMIZING Raw customizing information 20051206

Method SET_CUSTOMIZING on class CL_TIME_CHART_SIMPLE has no exception.

Method SET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_GDATA Call by reference Type reference (TYPE) TCS_T_DATA Raw data 20051206

Method SET_DATA on class CL_TIME_CHART_SIMPLE has no exception.

Method TOGGLE_CUSTOMIZING_MODE Signature

Method TOGGLE_CUSTOMIZING_MODE on class CL_TIME_CHART_SIMPLE has no parameter.
# Exception Resumable Description Created on
1 NOT_AVAILABLE Function not available (normally due to GUI) 20051206

Method UNPACK_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATE Call by reference Type reference (TYPE) CHAR8 date (SPACE if undefined) 20051206
2 Exporting E_MILLI Call by reference Type reference (TYPE) CHAR3 milliseconds (SPACE if undefined) 20051206
3 Exporting E_TIME Call by reference Type reference (TYPE) CHAR6 time (SPACE if undefined) 20051206
4 Importing I_TIMESTAMP Call by reference Type reference (TYPE) STRING Timestamp (format [yyyymmdd][;hhmmss[msec]] 20051206
# Exception Resumable Description Created on
1 INVALID_TIMESTAMP Invalid timestamp (does not fit defined format) 20051206

Method ZOOM_IN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ZOOMFACTOR Call by reference Type reference (TYPE) I Zoom factor as percentage (1..100) 20051207
# Exception Resumable Description Created on
1 INVALID_ZOOMFACTOR Percentage is not valid (should be 1..100) 20051207

Method ZOOM_OUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ZOOMFACTOR Call by reference Type reference (TYPE) I Zoom factor as percentage (1..100) 20051207
# Exception Resumable Description Created on
1 INVALID_ZOOMFACTOR Percentage is not valid (should be 1..100) 20051207
Event Signatures

Event CLICK Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 CLICKED_ENTRY Exporting Value transfer Type reference (TYPE) TCS_S_DATA Klicked entry, if point selected 20051208
2 CLICKED_SERIES Exporting Value transfer Type reference (TYPE) TCS_SERIES Klicked series, if series in legend selected 20051208
3 ELEMENT Exporting Value transfer Type reference (TYPE) STRING Chart Element 20051205
4 POINT_NR Exporting Value transfer Type reference (TYPE) I Data Point 20051208
5 SERIES_NR Exporting Value transfer Type reference (TYPE) I Data Row 20051208

Event PROPERTY_CHANGE Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 ELEMENT Exporting Value transfer Type reference (TYPE) STRING Property Element 20051205
2 NAME Exporting Value transfer Type reference (TYPE) STRING Property Name 20051205
3 VALUE Exporting Value transfer Type reference (TYPE) STRING Property Value 20051205

Event VALUE_CHANGE Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 POINT_NR Exporting Value transfer Type reference (TYPE) I Data Point 20051208
2 SERIES_NR Exporting Value transfer Type reference (TYPE) I Data Row 20051208
3 VALUE Exporting Value transfer Type reference (TYPE) F Data Value 20051205
History
Last changed by/on SAP  20070911 
SAP Release Created in 710