Anfang des Inhaltsbereichs

Funktionsdokumentation Item Customizing  Dokument im Navigationsbaum lokalisieren

Use

Items are sub-objects of points (nodes). A single node can have several items. Customizing for items is in the class CL_CU_ITEM.

You can specify the following item types using CL_CU_ITEM=>CO_TYPE:

You write the icon in the format @**@ in the data container field - for example, @0A@ for a red traffic light.

The first character for the value in the data container is reserved for the status of the checkbox - that is, whether or not it is selected.

You can add an icon in a text for the checkbox by adding the icon name to the text. The icon can be inserted either as a prefix or as a suffix to the text, but not in the middle of the text.
Example: Leaf1@0A@

Integration

An item customizing object can only be assigned to a graphics proxy as a (numbered) sub-object of a point customizing object (see method ADD_CU_BUNDLE in the interface IF_GRAPHIC_PROXY).

Features

To define a ToolTip (a short text describing a function) use the attribute CO_TOOLTIP.

To specify whether an item is editable use the attribute CO_EDITABLE.

To define column headings in SAP Tree use the attribute CO_TITLE (without a variant key). For more information on column headings, see CO_ITEM_ORDER.

For more information on item customizing, see the documentation in CL_CU_ITEM in the class builder.

For more information, see Creating and Parametrizing Items.

For more information, see Item List and CUOBJ_LIST.

For more information on specifying the order in which items are displayed, see CO_ITEM_ORDER.