Show TOC

add_iconLocate this document in the navigation structure

Use this method to add an SAP icon to your dynamic document.

CALL METHOD valid_reference->add_icon
        EXPORTING sap_icon      = sap_icon
                sap_size        = sap_size
                sap_style       = sap_style
                sap_color       = sap_color.
         

Parameter and Type

Opt.

Description

sap_icon

TYPE ICONNAME

The name of the icon that you want to display (in the form ICON_* )

sap_size

TYPE SDYDO_ATTRIBUTE

X

The size of the icon. Use an appropriate value from the constants defined in class cl_dd_area .

sap_style

TYPE SDYDO_ATTRIBUTE

X

The style of the icon. Use an appropriate value from the constants defined in class cl_dd_area .

sap_color

TYPE SDYDO_ATTRIBUTE

X

The color of the icon. Use an appropriate value from the constants defined in class cl_dd_area .