WRITE ( Output as icon ) is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details.
WRITE – Output as icon
can output certain characters as icons using the addition …AS ICON .
You should only address these characters with their system-defined
names. The include (or the more comprehensive include ) contains the
relevant identifiers as constants, e.g. ICON_OKAY (see List of icons ).
WRITE: / ICON_OKAY AS ICON, “output as icon
an output length of 2 characters is enough for most icons, some (e.g.
the traffic light icons ICON_RED_LIGHT , …) have a greater output
You can determine the length of an icon with DESCRIBE FIELD ICON_… output length … .
You cannot print out all list icons. The printable icons are flagged as such in the ‘list of icons’ mentioned above.