Creating and Parametrizing ItemsCreate a reference variable for an item
Syntax
DATA: CU_ITEM TYPE REF TO CL_CU_ITEMCreate an instance of the item
Syntax
CREATE OBJECT CU_ITEM
EXPORTING INSTANCE_ID = <unique name>.The INSTANCE_ID must be unique for all item customizing objects.
For more information, see Creating Customizing Bundles.
Syntax
Call the SET method in IF_CUSTOMIZING
CALL METHOD CU_ITEM -> IF_CUSTOMIZING~SET
EXPORTING
ATTR_ID = CL_CU_ITEM => CO_TYPE "type of item
VALUE = 1 "icon
IMPORTING
RETVAL = RETVAL.You have to call the SET method every time you want to assign an attribute to an item.