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: 

text coloring in alv

Former Member
0 Kudos
95

hi how to make text to get colored in alv

not cell coloring

3 REPLIES 3

babu_kilari4
Active Contributor
0 Kudos
71

This message was moderated.

Former Member
0 Kudos
71

Hi

Go through the link given below :

If you want to give colors to letters then simply give the following,

itab-rowcolor = 'C501'. "Green letters & not background

With Regards

Nikunj Shah

Edited by: Nikunj Shah on Apr 1, 2009 8:11 AM

Former Member
0 Kudos
71

Hi,

You know how to give color to a Row in an ALV Grid (by specfifying layout-info_fname = 'ROWCOLOR' where rowcolor is a CHAR4 field in the internal table that you pass to the ALV Grid.

Now when you give colors to each line, normally we give colors as follows,

itab-rowcolor = 'C510'. "Green Intensified background

If you want to give colors to letters then simply give the following,

itab-rowcolor = 'C501'. "Green letters & not background

Hope this helps..

Shalini.