The Easy Graphics Framework (EGF) allows you to work with various interfaces, methods, and function modules.
The following table gives you an overview of the methods in the EGF.
Interface |
Method |
Description |
/SCWM/IF_EGF_SP |
GET_DATA |
Gets chart data from the application. Most charts require a group of row values and a group of data categories as data format. A simple chart, such as a traffic light, only sets the color of the traffic light. |
/SCWM/IF_EGF_SP |
GET_URL |
Gets a URL from the application. This URL forms the link to the graphic that the EGF is to display. |
/SCWM/IF_EGF_SP |
HANDLE_FUNCTION |
If the application receives a function code for a follow-up activity, this interface method enters the function code for the chart. |
SCWM/IF_EGF_CHART |
CREATE_CHART |
Generates graphic of a graphics provider in the EGF, such as for all EGF graphics of class /SCWM/CL_EGF_IGS_SERVICES in interface /SCWM/IF_EGF_CHART. |
You can use these interfaces to do the following:
● Define a source for your chart data
● Define your own graphics provider (see Make Settings for the Easy Graphics Framework)
● Define your own chart types and send them to the EGF using a URL (see Make Settings for the Easy Graphics Framework)
● Define follow-up activities for an EGF object
For more information, see the interface documentation.
The following table gives you an overview of the function modules in the EGF.
Function Module |
Description |
/SCWM/EGF_COCKPIT |
Starts an EGF cockpit implementation. You must enter the cockpit ID as an import parameter. |
/SCWM/EGF_CONTAINER |
You transfer a container instance to the function module, such as to class CL_GUI_CUSTOM_CONTAINER, in which the required EGF object is displayed. |
/SCWM/EGF_POPUP |
The system generates a modeless dialog box in which the required EGF object is displayed. |
/SCWM/EGF_COCKPIT_DYNAMIC |
Starts an EGF cockpit dynamically. All the data required for generating the cockpit is transferred using the interfaces of the function module. No Customizing is required here. |
/SCWM/EGF_CONTAINER_DYNAMIC |
You transfer a container instance to the function module, such as to class CL_GUI_CUSTOM_CONTAINER, in which the required EGF object is displayed. The EGF object definition is done dynamically using the interface of the function module. No Customizing is required here. |
/SCWM/EGF_POPUP_DYNAMIC |
The system generates a modeless dialog box in which the required EGF object is displayed. The EGF object definition is done dynamically using the interface of the function module. No Customizing is required here. |
You can use these function modules to do the following:
● Start an EGF cockpit implementation
● Transfer a container instance to a function module
● Generate a modeless dialog box
You can display a graphic as a subscreen or as a separate modeless dialog box in your application. To do this, in Customizing for EWM, choose Monitoring ® Easy Graphics Framework ® Define Chart Types and Define Cockpits.
For more information, see the function module documentation.