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.
Showing results for 
Search instead for 
Did you mean: 

Change font color of ALV grid

Former Member
0 Kudos

Dear All ,

I want to know whether its possible to change color of certain columns of ALV and at the same time change the font color of text of ALV.

Like there are 10 columns , then I need to change color of 3 colomn and color of all negative value in ALV to red , not cell color but font color


I searched in SDN but dint got the right answer .

as per the thread I got we need to include variable of type lvc_t_scol for column color and SLIS_T_SPECIALCOL_ALV for font color .

but at layout level I can only assign either of them to coltab_fieldname field

Please help


Former Member
0 Kudos


look at this.

<link to blocked site removed by moderator>

Edited by: Thomas Zloch on Oct 21, 2011 1:55 PM

Former Member
0 Kudos


for font color in a cell follow this link,may help u

Former Member
0 Kudos


Use Emphasize in alv fieldcatlog...of specfic field ..



Former Member
0 Kudos

Dear all ,

My requirement is to color column as wel as font at the same time .

0 Kudos

Hi Akash,

SAP follows a slightly different concept. There is no font color and background color, but you can set 3 attributes

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.

Here you can display a list showing you all available combinations. You can choose from that, nothing else.

This applies to list and control (ALV) display.