Example of a data container
A definition of a data container for business graphics is provided below. Business graphics can obtain their data from various data containers because the concept of a data container interface is very flexible and can be realized in many ways. For information on the programming interface for data containers, see Data Containers Supported.
The business graphics data container provided by SAP is based on the data structure GFWDCPRES.
The first column is reserved for the object ID because it must be possible to access every object to be displayed in a graphic.
The second column for the group reference ID splits up the objects into groups that can be assigned their own customizing object and so have their own layout. In the case of a business graphic these could be curves or segments of a pie chart for example.
To highlight objects within a group an object reference ID is also specified (customizing object-specific). For example, you could specify the minimum value, the median value or the maximum value for a curve. In the graphics proxy these points are then assigned their own customizing objects and as a result have different display attributes.
The next column can contain a filter indicator to be evaluated by a graphics proxy. This filter means that the data is available for several graphics proxies at the same time and yet they are distinguishable. In this way several graphics proxies (with different quantities of data) can be subscribed to the data container without having to create a separate data container for each graphics proxy. The data type i (integer) was specified because the filter must have a data type that can be used by all the graphics proxies. For more information, see Filter.
The next three columns contain the coordinates of the objects. The final column contains a descriptive data field for every column. For example, you can use this to enter an additional text for each point on a curve.