Show TOC Entering content frame

Background documentation Color of ALV Output, Columns, and Cells  Locate the document in its SAP Library structure

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

·        ALV output

You can choose between two variants:

¡        Standard colors

All rows and columns have the same color

¡        Alternate

The rows of the ALV output are alternate between light and dark

Note

You only have these options if write-protection has been activated (see Write-Protection and Activation).

·        Column

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

Note

You only have these options if write-protection has been activated (see Write-Protection and Activation).

·        Cell variants

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

Note

You only have these options if write-protection has been activated (see Write-Protection and Activation).

·        Cell

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

Note

You also have this option in the editable ALV.

Methods for Changing the Colors

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 or
SET_CELL_DESIGN_FIELDNAME

GET_CELL_DESIGN or
GET_CELL_DESIGN_FIELDNAME

Cell

CL_SALV_WD_
UIE_TEXT_VIEW

SET_SEMANTIC_COLOR or
SET_SEMANTIC_COLOR_FIELDNAME

GET_SEMANTIC_COLOR or
GET_ SEMANTIC_COLOR_FIELDNAME

 

 

Leaving content frame