Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Interactive ALV ?

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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