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: 

How to colour entire ROW of alv if using OOPS concept

Former Member
0 Kudos
113

How to colour entire ROW of alv if using OOPS concept..?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
72
2 REPLIES 2

asik_shameem
Active Contributor
0 Kudos
72

Hi

In the internal table add field for color as ROWCOLOR.

In the layout set the IT field name to info_fname as below.

gwa_layout-info_fname = 'ROWCOLOR'.   "For row coloring.

In internal table values set the color value as below.

READ TABLE gt_itab INDEX 3. " third row will have the following color
gt_itab-rowcolor = 'C311'.
MODIFY gt_itab INDEX 3. 

~Asik

Former Member
0 Kudos
73