‎2006 May 15 8:46 AM
Hi All,
I am looking at options to put color in table control. I tried using SCREEN-INTENSIFIED EQ 1. But this changes to red. I want to change to any color.
There is field COLOR in screen structure. Anybody used this earlier ?
Also any idea how can i change the background in Table Control.
‎2006 May 15 8:51 AM
hi
plz see the program
<b>showcolo</b>
which is a standard report
plz reward if useful
‎2006 May 15 9:23 AM
Hi Ganesh,
This is not for table control. It is only for lists.I am specifically looking for Table Control.
‎2006 May 15 8:52 AM
this will also help u I hope
/message/806301#806301 [original link is broken]
‎2006 May 15 8:54 AM
hii Durgesh ,
You can't change color when you are doing screen (dynpro) programming. You can set the field to be Bright/Normal.
<b>Not possible in table control, possible in ALV</b>
will update you if i know more on it..
use below logic to intensify the row.
LOOP AT SCREEN.
IF screen-name = 'SC1'
IF G_Zreport_WA-HOLD = 'W'.
screen-intensified = 1.
MODIFY SCREEN.
ELSE.
screen-intensified = 0.
MODIFY SCREEN.
ENDIF.
endif.
endif.
endlooop.
Thanks &Regards
Naresh
‎2006 May 15 8:57 AM
‎2006 May 15 9:24 AM
Hi Veera,
Look at code below.
PBO :
LOOP AT t_zdlyhrs WITH CONTROL tabcntrl.
MODULE display_details.
ENDLOOP.
MODULE.
LOOP AT SCREEN.
IF screen-name EQ 'ZZT_ZDLYHRS-ZDATE'.
screen-intensified = '1'.
screen-color = 2.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDMODULE.