
Coloring Rows
Purpose
You can change the color of rows in the grid control to highlight data in the list.

The column color can be set using field
Process Flow
DATA: BEGIN OF GT_OUTTAB OCCURS 0.
INCLUDE STRUCTURE <DDIC-Struktur>.
DATA: linecolor(4) type c. "Color for corresponding line
DATA: END OF GT_OUTTAB.

For more information on color codes, see field

If you do not want to color the cells for the first display, postpone step 4 and refresh the output table with method refresh_table_display.