... [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] ... .
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.
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.
Changing the background color for output of the data oject 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.