Show TOC

Interfaces for the Chart UIBBLocate this document in the navigation structure

Description of the various interfaces and methods used when configuring a Chart component.

IF_FPM_GUIBB_CHART
The data model for the FPM Chart GUIBB can be accessed through the feeder class interface IF_FPM_GUIBB_CHART. This interface includes the interface IF_FPM_GUIBB. The application developer must implement at least the following methods:
  • GET_DEFINITION

    In this method, the application developer decides on a data model (for example, a Table Model) by calling the appropriate method on the received model factory instance.

  • GET_DATA

    In this method, the selected data model instance is supplied with the appropriate data.

For a full list of the methods of this interface, see the interface documentation for other GUIBB components.
Model Factory Interfaces
There are two Model Factory interfaces:
  • IF_FPM_CHART_MODEL_FACTORY

    Exposed by the feeder class method IF_FPM_GUIBB_CHART~GET_DEFINITION. Its method GET_TABLE_MODEL provides an instance on the Table Model through interface IF_FPM_CHART_TABLE_MODEL.

  • IF_FPM_CHART_DATA_FACTORY

    Exposed by the feeder class method IF_FPM_GUIBB_CHART~GET_DATA. Its method GET_TABLE_MODEL provides an instance on the Table Model through interface IF_FPM_CHART_TABLE_DATA.

Both interfaces provide access to the selected data model and are implemented by class CL_FPM_CHART_MODEL_FACTORY.

Table Model Interfaces

In a first version of the Chart UIBB, the Table Model is offered as the only data model of the FPM Chart UIBB. The Table Model can be consumed easily by the application developer as it can be derived from any DDIC table type.

There are three Table Model interfaces:
  • IF_FPM_CHART_TABLE_MODEL

    Exposed by the Model Factory interface IF_FPM_CHART_MODEL_FACTORY~GET_TABLE_MODEL. It is typically accessed in the feeder class methods GET_DEFINITION and GET_DATA. Its method SET_DEFINITION defines the Table Model by setting a field catalogue, and field descriptions.

  • IF_FPM_CHART_TABLE_DATA

    Exposed by the Model Factory interface IF_FPM_CHART_DATA_FACTORY~GET_TABLE_MODEL. It is typically accessed in the feeder class methods GET_DEFINITION and GET_DATA. Its method SET_DATA sets the Table Model data.

  • IF_FPM_CHART_TABLE_SELECTION

    Exposed by the event parameter FPM_CHART_SELECTION of FPM event FPM_CHART_SELECT. It is typically accessed in the feeder class methods PROCESS_EVENT and GET_DATA. Its method GET_CURRENT_SELECTION returns the selected indices from the current round trip.

Using interface IF_FPM_CHART_TABLE_DATA, the application developer sets the current chart data set (method SET_DATA ). Methods GET_DIMENSIONS and GET_MEASURES may be used to enable (respectively, optimize) the selection of data in the feeder class.

All three interfaces are implemented by the class CL_FPM_CHART_TABLE_MODEL.

Configuration Interface IF_FPM_GUIBB_CHART_CONFIG

The Configuration API IF_FPM_GUIBB_CHART_CONFIG is derived from the explicit configuration context of Chart UIBB runtime component FPM_CHART_UIBB. The Configuration API IF_FPM_GUIBB_CHART_CONFIG can be accessed, for example, through the feeder class interface method IF_FPM_GUIBB_CHART~GET_DEFAULT_CONFIG. It is used to create pre-configured chart configurations during the FPM design time, as well as complete dynamic configuration contexts during the FPM runtime .

The Configuration API is implemented by class CL_FPM_GUIBB_CHART_MODEL_CONFIG.