sapdev logo background
sapdev logo sapdev logo
Comments

ABAP WRITE EXT OPTIONS Statement syntax, information and example SAP source code



Return to Statement index



WRITE - ext_format_options

Short Reference

ABAP Syntax ... [COLOR {[=]{color [ON]}|OFF}|{= col}]

[INTENSIFIED [{ON|OFF}|{= flag}]]
[INVERSE [{ON|OFF}|{= flag}]]
[HOTSPOT [{ON|OFF}|{= flag}]]
[INPUT [{ON|OFF}|{= flag}]]
[FRAMES [{ON|OFF}|{= flag}]]
[RESET] ... .

What does it do? The meaning of the additions is the same as for the statement FORMAT , with the difference that they only affect the output of the current WRITE statement. If the additions are not specified, the standard settings described in
FORMAT or the settings set by the previous FORMAT statements are used.

Latest notes: The use of such an addition in the WRITE statement overrides the standard settings or the formats set by the previous
FORMAT statements for exactly one output and for exactly the property concerned. All the other properties and the subsequent WRITE statements are not affected.

Example ABAP Coding Changes the background color for output of the data object sum . All the other outputs and spaces between the outputs have the background color that is set in the FORMAT statement.
DATA sum TYPE i.

FORMAT COLOR COL_NORMAL.

DO 10 TIMES.
WRITE / sy-index.
sum = sum + sy-index.
WRITE sum COLOR COL_TOTAL.
ENDDO.
ULINE.
WRITE sum UNDER sum COLOR COL_GROUP.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




WRITE-
WRITE_INT_OPTIONS




comments powered by Disqus