You are on page 1of 1

*&

---------------------------------------------------------------------*
*& Report Z01_LISTCOLORS
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT Z01_LISTCOLORS.
DATA i TYPE i VALUE 0.
DATA col(15) TYPE c.
FORMAT COLOR COL_HEADING.
WRITE: / 'Color', sy-vline,
AT 9 'INT = 1 INV = 0', sy-vline,
AT 27 'INT = 1 INV = 1', sy-vline,
AT 45 'INT = 0 INV = 0', sy-vline,
AT 63 'INT = 0 INV = 1', sy-vline.
WRITE: /(79) sy-uline.
FORMAT COLOR OFF INTENSIFIED ON.
WHILE i < 8.
CASE i.
WHEN 0. col = 'COL_BACKGROUND '.
WHEN 1. col = 'COL_HEADING '.
WHEN 2. col = 'COL_NORMAL '.
WHEN 3. col = 'COL_TOTAL '.
WHEN 4. col = 'COL_KEY '.
WHEN 5. col = 'COL_POSITIVE '.
WHEN 6. col = 'COL_NEGATIVE '.
WHEN 7. col = 'COL_GROUP '.
ENDCASE.
* write: INTENSIFIED COLOR = i.
WRITE: /(4) i, AT 7 sy-vline,
col COLOR = i INTENSIFIED ON INVERSE OFF,sy-vline,
col COLOR = i INTENSIFIED ON INVERSE ON ,sy-vline,
col COLOR = i INTENSIFIED OFF INVERSE OFF, sy-vline,
col COLOR = i INTENSIFIED OFF INVERSE ON, sy-vline.
i = i + 1.
ENDWHILE.
WRITE: /(79) sy-uline.
*