10-21-2011 6:15 AM
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 am using REUSE_ALV_GRID_DISPLAY .
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
10-21-2011 6:41 AM
hi,
look at this.
<link to blocked site removed by moderator>
Edited by: Thomas Zloch on Oct 21, 2011 1:55 PM
10-21-2011 6:44 AM
10-21-2011 7:10 AM
Hi,
Use Emphasize in alv fieldcatlog...of specfic field ..
http://help.sap.com/saphelp_erp2004/helpdata/en/17/102896f24311d2b487006094192fe3/content.htm
Regards
Rajashiva
10-22-2011 5:21 AM
Dear all ,
My requirement is to color column as wel as font at the same time .
10-23-2011 1:33 PM
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.
Regards,
Clemens