02-19-2008 9:11 AM
Hi Folks,
I am doing an interactive report in that when I click the first ALV it proceeds to second ALV display.
In that my need is I am displaying two columns in second ALV.
Both column values are compared and have to display the values in different colour which is different from each other values and those values which are same shown in ALV as such.
Please help me out.
Thanks,
Sakthi C
02-19-2008 9:17 AM
Hi
Try using EMPHASIZE option of columns
EMPHASIZE
Comp. type
LVC_EMPHSZ
Defined Length
Char(4)
Value range
SPACE, 'X' or 'Cxyz' (x:'1'-'9'; y,z: '0'=off '1'=on)
If the field is set to 'X', the ALV uses a pre-defined color for highlighting the column. If the character field begins with 'C' (color code), the remaining numbers have the following meaning:
x: color number
y: intensified display on/off
y: inverse display on/off
For more information on color coding, see the F1 help on the FORMAT statement.
Thanks
Vasudha