Anfang des Inhaltsbereichs

Funktionsdokumentation Assigning Customizing Bundles to Proxies  Dokument im Navigationsbaum lokalisieren

Use

To display the customizing settings in the graphic the customizing bundles have to be assigned to ports in the graphics proxy. You use the method IF_GRAPHIC_PROXY~ADD_CU_BUNDLE to make this assignment.

Integration

If the graphic is not yet active (the method IF_GRAPHIC_PROXY~ACTIVATE has not been called yet) the new setting is saved and takes effect when the graphic is activated. If the graphic is already active the new setting takes effect immediately (with the next call of the data container method IF_DC_MANAGEMENT~DISTRIBUTE_CHANGES).

The graphics proxy tells the multiplexer that the new object is to be included in its customizing settings. It is then informed of all subsequent changes to this object.

Prerequisites

The method INIT has already been called.

Features

Depending on the implementation of the graphics proxy certain customizing objects should be assigned to specific ports. For information on the possible combinations of customizing objects and ports, see the documentation in the relevant graphics proxy.

IF_GRAPHIC_PROXY~DEL_CU_BUNDLE

This method is the counterpart to ADD_CU_BUNDLE. It does not delete attribute values from the database. Instead it deletes the graphic proxy's reference to the customizing bundle.

For more information, see the documentation on DEL_CU_BUNDLE and ADD_CU_BUNDLE in the class builder.

Activities

CALL METHOD GP->IF_GRAPHIC_PROXY~ADD_CU_BUNDLE EXPORTING

PORT = IF_GRAPHIC_PROXY=>(name of port)

KEY = (variant key, if required)

BUNDLE = (customizing bundle)

CUOBJ_LIST = (list of items for hierarchy graphics).

For more information on the method ADD_CU_BUNDLE, see the documentation in the class builder.

For more information, see Ports.

For more information, see Variant Keys.

For more information, see Customizing Objects and Attribute Bundles.