You can use the method CL_GUI_GP_PRES®CREATE_CUSTOMIZING to generate attractive customizing settings with a minimum of effort.
Graphic with Customizing generated using CREATE_CUSTOMIZING
There are three options with respect to Customizing with the Graphical Framework:
The application cannot access the normal default objects, for example using the methods mentioned in the section Features.
CREATE_CUSTOMIZING is only available for business graphics.
Changing and saving Customizing settings
You can change the settings generated by CREATE_CUSTOMIZING using the methods:
You can also save changes to / load settings from the database using the methods:
INSTANCE_ID: You specify an instance ID and the graphics proxy ensures that if there are several instances of a class (for example, CL_CU_AXIS) they each have a different ID.
GRPIDS: You specify a list of group IDs and the method creates an instance for each entry in the list.
POINTIDS: You specify a list of point IDs and the method creates an instance for each entry in the list.
For more information, see the class builder documentation.
* Define variable for list of group IDs
DATA: GROUPS TYPE GFW_GRPID_LIST.
* Add group IDs to list
APPEND <first group ID> TO GROUPS.
APPEND <next group ID> TO GROUPS.
* Call method
CALL METHOD <instance of graphics proxy>®CREATE_CUSTOMIZING
EXPORTING INSTANCE_ID = '<any unique instance ID>'
GRPIDS = GROUPS
IMPORTING RETVAL = RETVAL.