Color of ALV Output, Columns, and Cells

You can specify the color of various areas of the ALV output. The following options are available:

  • ALV output:

    You can choose from the following variants:

    • Standard Color Assignment

      All rows and columns have the same color.

    • Alternating

      The rows of the ALV output alternate between light and dark

    • Transparent

      The background is transparent. The individual cells are displayed without gridlines.

  • Column

    You can change the background color for a column. You can use pre-configured semantic colors for this (see TableColumn Properties ).

  • Cell variant

    You can specify a background color for a cell variant. You can use pre-configured semantic colors for this (see TableColumn Properties ).

  • Cell

    The only UI element whose color you can change is the cell editor TEXT_VIEW. You can choose the combination of background and text color that you want to use (see TextView Properties , under SemanticColor ).

  • ToolBar

    You can choose from the following variants:

    • Standard Color Assignment

    • Colored

    • Transparent

      Area

      Class

      Method

      ALV output

      IF_SALV_WD_TABLE_SETTINGS

      SET_DESIGN

      GET_DESIGN

      Column

      CL_SALV_WD_COLUMN

      SET_CELL_DESIGN

      GET_CELL_DESIGN

      Cell variant

      CL_SALV_WD_CV_STANDARD

      SET_CELL_DESIGN orSET_CELL_DESIGN_FIELDNAME

      GET_CELL_DESIGN orGET_CELL_DESIGN_FIELDNAME

      Cell

      CL_SALV_WD_UIE_TEXT_VIEW

      SET_SEMANTIC_COLOR orSET_SEMANTIC_COLOR_FIELDNAME

      GET_SEMANTIC_COLOR orGET_SEMANTIC_COLOR_FIELDNAME

      ToolBar

      IF_SALV_WD_ FUNCTION_SETTINGS

      SET_DESIGN

      GET_DESIGN