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: 

SCREEN-COLOR

Former Member
0 Kudos

Hi,

Please let me know how to use the field COLOR of structure SCREEN in selection screen.

Message was edited by:

Chandrasekhar Jagarlamudi

7 REPLIES 7

Former Member
0 Kudos

Hello Chandrasekar,

I think using this COLOR field we can't make any changes to the selection screen text.

Regards,

Vasanth

0 Kudos

Hi Vasanth,

Thx for the reply.

But i would like to know the use of that field

former_member194669
Active Contributor
0 Kudos

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

0 Kudos

hi ars

can u give me sample code ,how to change color of select-options description to blue from the default black

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I have tried to use this in the past, but it doesn't seem to do anything.

Regards,

RIch Heilman

0 Kudos

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.

former_member194669
Active Contributor
0 Kudos

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