03-14-2007 3:48 PM
Hi,
Please let me know how to use the field COLOR of structure SCREEN in selection screen.
Message was edited by:
Chandrasekhar Jagarlamudi
03-14-2007 4:06 PM
Hello Chandrasekar,
I think using this COLOR field we can't make any changes to the selection screen text.
Regards,
Vasanth
03-14-2007 4:09 PM
Hi Vasanth,
Thx for the reply.
But i would like to know the use of that field
03-14-2007 4:12 PM
May be you can change Color of Select-Option's description to 'Blue' from the default 'Black' color and its corresponding input box value from 'Black' to 'Red'.
For this
Loop at Screen and modifying the 'Intensified' value to '1'.
aRs
03-14-2007 5:56 PM
hi ars
can u give me sample code ,how to change color of select-options description to blue from the default black
03-14-2007 4:27 PM
03-14-2007 4:29 PM
I have also tried to use it recently with no success. All you can do is make a text value intensified so it appears blue.
I think it is pretty naff that with the latest version of SAP you cannot change colors of selection screen or dynpro screens.
03-14-2007 6:03 PM
Hi,
Check this code here description of the input field Plant (WERKS) in blue
report ztest.
tables : t001w.
selection-screen begin of line.
selection-screen: comment 1(20) text-005 " Plant
for field p_werks modif id sc1.
selection-screen position pos_low.
parameters : p_werks like t001w-werks.
selection-screen end of line.
at selection-screen output.
loop at screen.
if screen-group1 = 'SC1'.
screen-intensified = 1.
modify screen.
endif.
endloop.
aRs