Customizing: From Database to Graphic
Use
A group of display attributes for the graphic is created and then transferred to the graphic.
Process
The graphic shows what happens when customizing data is transferred from the database to the graphic. The order of events can be read vertically down the graphic:
-
The application creates the customizing object. In this example it has the ID 4711.
CREATE OBJECT <drawing area> EXPORTING
INSTANCE_ID = "4711".
-
The application loads the attribute values from the database.
CALL METHOD <drawing area > IF_CUSTOMIZING~LOAD.
-
Data is read from the database.
-
Using the method ADD_CU_BUNDLE the application notifies the graphics proxy about the customizing object and at which port it is to be used.
CALL METHOD <graphics proxy > IF_GRAPHIC_PROXY~ADD_CU_BUNDLE
EXPORTING PORT = IF_GRAPHIC_ PROXY=> CO_PORT...
BUNDLE = <drawing area>
IMPORTING RETVAL = <return value>.
-
After all the customizing steps have been completed the graphics proxy has to be activated.
CALL METHOD <graphics proxy > ACTIVATE
IMPORTING RETVAL = <return value>.
-
The graphic is displayed with the display attributes specified in the customizing object. The label 6:#ยง&:-) is to indicate that the method call to the graphic is product-specific.