Ansicht
Dokumentation

ABAPWRITE_SYMBOL - WRITE SYMBOL

ABAPWRITE_SYMBOL - WRITE SYMBOL

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

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. (List of symbols, Proposals for use).

Example

INCLUDE .
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 ...

Additional help

List Creation






BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1515 Date: 20240328 Time: 145620     sap01-206 ( 25 ms )