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 fieldes color

Former Member
0 Kudos

How i can change the color of text field on screen , i try this

LOOP AT SCREEN.

if SCREEN-name = field_name .

screen-COLOR = 4.

modify screen.

endif.

ENDLOOP.

it enter into the (if) but it dosent work

any help pls.

Thanks and Regards

Moa'az

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

COLOR option will not work in this case. you have to use only

INTENSIFIED option.

REPORT  ZTEST_INT.

parameters: p_matnr type matnr.

at selection-screen output.

loop at screen.
if screen-name = 'P_MATNR'.
SCREEN-INTENSIFIED = 1.
MODIFY SCREEN.
ENDIF.
endloop

.

Edited by: Vijay Babu Dudla on Sep 14, 2008 8:43 AM

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos

COLOR option will not work in this case. you have to use only

INTENSIFIED option.

REPORT  ZTEST_INT.

parameters: p_matnr type matnr.

at selection-screen output.

loop at screen.
if screen-name = 'P_MATNR'.
SCREEN-INTENSIFIED = 1.
MODIFY SCREEN.
ENDIF.
endloop

.

Edited by: Vijay Babu Dudla on Sep 14, 2008 8:43 AM

0 Kudos

it colored it blue ,but i want green color for example

0 Kudos

it is not possible , that option is not working .

0 Kudos

THANKS