CREATE_CUSTOMIZING

Use

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

Integration

There are three options with respect to Customizing with the Graphical Framework:

  • If you make no Customizing settings the graphics proxy automatically generates default customizing. This involves a minimum of effort but the Customizing settings are rather bland.

The application cannot access the normal default objects, for example using the methods mentioned in the section Features.

  • You can use the method CL_GUI_GP_PRES®CREATE_CUSTOMIZING.
  • You can make individual settings using the Graphical Framework's powerful Customizing concept. This provides great flexibility but is more time-consuming.
  • A mixture of the last two point as in the example program GFW_PROG_CREATE_CUSTOMIZING.

Prerequisites

CREATE_CUSTOMIZING is only available for business graphics.

Features

Changing and saving Customizing settings

You can change the settings generated by CREATE_CUSTOMIZING using the methods:

  • IF_GRAPHIC_PROXY~GET_CU_BUNDLE
  • IF_GRAPHIC_PROXY~DEL_CU_BUNDLE

You can also save changes to / load settings from the database using the methods:

  • IF_GRAPHIC_PROXY~LOAD_CUSTOMIZING
  • IF_GRAPHIC_PROXY~SAVE_CUSTOMIZING

Parameters

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.

Activities

* 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.