WRITE - Output as symbol
Effect
You can output certain characters as symbols using the
addition ... AS SYMBOL . You should only address these characters
with their system-defined names. The include <SYMBOL> (or
the more comprehensive include <LIST> ) contains the
relevant identifiers as constants, e.g. SYM_PHONE ,
SYM_CIRCLE .
Example
-
INCLUDE <SYMBOL>.
WRITE: / SYM_RIGHT_HAND AS SYMBOL, " output as symbol
'Tip, Note',
SYM_LEFT_HAND AS SYMBOL. " output as symbol
Note
An output length of one character is enough for most
symbols, but some (e.g. SYM_FAX ) are twice as long.
You can determine the length of a symbol with
DESCRIBE FIELD SYM_... OUTPUT-LENGTH ...
Index
© SAP AG 1996