Ansicht
Dokumentation
RSORA_TCS_DEMO - Oracle Graphics: Time Chart Simple Demo Report
CL_GUI_FRONTEND_SERVICES - Frontend Services RFUMSV00 - Advance Return for Tax on Sales/PurchasesDiese Dokumentation steht unter dem Copyright der SAP AG.
Verwendung
This report demonstrates the use of class CL_TIME_CHART_SIMPLE (Simple Simple time chart).
- Basis graphics functionality
For basic graphics functionality (display the chart) the reports processes the following steps:
-
Generate random graphics data in subroutine generate_demo_data
using dictionary type TCS_S_DATA. Columns:
SERIES identifies a group of values (one line / bars with same colour)
TIMESTAMP with format [yyyyymmdd][;hhmmss[ms..]] represents a time on the time axis.
YVALUE is a metered value for a point or a bar. - Call a screen (dynpro 0100) as carrier for the chart (MODULE status_0100)
- Set a status (with valid OKCODES) for this screen (MODULE status_0100)
- Create a container as carrier for the chart (MODULE status_0100)
- Create an instance of class cl_time_chart_simple (MODULE status_0100)
- Transfer the graphics data to the time chart instance by calling method set_data and some customizing information by calling method set_customizing - see online documentation for dictionary type tcs_s_customizing for available settings. (MODULE status_0100)
- Interactive graphics functionality (e.g. zoom, shift, print, settings)
- In general the graphics does not support implicit interactivity. This is achieved by placing buttons / menu entries / application toolbar icons via a GUI status.
- In MODULE user_command_0100 the report processes interactive graphic functions by calling the according method of class cl_time_chart_simple. See the methods and their online documentation for more details.
- Handling events in the graphics
In general the graphics raises 3 different events:
- click - this event is released by a mouse click somewhere within the chart
- value_change - released by a changed value within the chart
- property_change - released by changed chart settings ("chart customizing")
- For handling events the report incloses a local class lcl_tcs_eh as event handler. Within module status_0100 the methods of this class (on_click, on_value_change and on_property_change) are registered as handler methods for the graphic events. In this demo, the methods only display the event's parameters within a message.
Integration
Voraussetzungen
Funktionsumfang
Selektion
Standardvarianten
Ausgabe
Aktivitäten
Beispiel
Addresses (Business Address Services) BAL_S_LOG - Application Log: Log header data
Diese Dokumentation steht unter dem Copyright der SAP AG.
Length: 4638 Date: 20240531 Time: 080033 sap01-206 ( 47 ms )