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: 

Row color in Table Control

former_member201004
Discoverer
0 Kudos

Hi Experts,

I have a requirement to display the records in table control, where the records should be of yellow and red color based on some conditions. Anyone suggest how to assign color in table control in row wise.

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

Row coloring in a table control would not be possible, For a similar requirement, I had put an icon column on the left and then fixed the column so that it always stays visible.

You will have the option of putting Yellow and Red icons

-Amit.

3 REPLIES 3

Former Member
0 Kudos

Hi Alagu,

You could replace the tabel control wiht a container and place an ALV in there using the SALV methods.

On the OO-ALV (SALV) it's pretty easy to change colors, by adding a color column and setting this up as color using "set_color_column" of "CL_SALV_TABLE"

Ragards

Markus

yogendra_bhaskar
Contributor
0 Kudos

Hi alagu ,

One of the options must be putting an ALV in a container and setting up the color.

Second options would be you can set the value for screen-intensified field. Coloring may not be possible in table control.

Regards

Yogendra Bhaskar

Former Member
0 Kudos

Hello,

Row coloring in a table control would not be possible, For a similar requirement, I had put an icon column on the left and then fixed the column so that it always stays visible.

You will have the option of putting Yellow and Red icons

-Amit.