Anfang des Inhaltsbereichs

Funktionsdokumentation Filters  Dokument im Navigationsbaum lokalisieren

Use

A data container can contain filter attributes so that graphics proxies read only data relevant to them. When the graphics proxy subscribes to the data container it is specified whether it can read all the data in the data container or just the data for objects where certain filters are set.

The application defines data relevant for a graphics proxy by first sending the filter list to the graphics proxy. The data type I (integer) was specified for filters because the filter list must have a data type that can be used by all the graphics proxies.

Example

The application sets the filters when filling the data container:

OBJ-OBJID = '1'.

OBJ-GRPID = TEXT-G01.

OBJ-Y_VAL = '30'.

OBJ-FILTER = 1.

CALL METHOD DC_INSTANCE -> SET_OBJ_VALUES…

The application tells the graphics proxy which filters to use:

REFRESH FILTER_LIST.

APPEND 1 TO FILTER_LIST.

CALL METHOD GP -> INIT

EXPORTING…

FILTER_LIST = FILTER_LIST.

Integration

Diese Grafik wird im zugehörigen Text erklärt

As shown in the figure above the application sets the filters for the data container.

The application in the figure above specifies filters 1 and 3 for one graphics proxy and filter 2 for the other. The graphics proxies subscribe to the same data container and access different sets of data from it.