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 Field Color in Module pool

Former Member

Hi Experts,

I have a requirement like based on the field content i want to change the color to the screen field. I have written code like below. But i'm getting dump.

LOOP AT SCREEN.

IF screen-group1 = 'G02'.

screen-color = 'C411'. -


> Getting dump here

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Please tell me whether it is possible to give color in module pool or not.

Thanks and Regards,

nag.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Screen-color is an integer field.. move only numbers to that.. dont use characters in it.

Thanks,

Sam.

0 Kudos

Hi Sam,

Thanks for ur reply. I have tried using only integers.But i'm not getting color. My code is below

LOOP AT SCREEN.

IF screen-group1 = 'G02'.

screen-color = '411'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

color is INT4 type rite but we are passing only 3 characters to screen-color.But i didn't color to my field.

Former Member
0 Kudos

Hi

It's not possible to color the i/o field of the screen

The field SCREEN-COLOR is just to color the words

In my system SCREEN-COLOR seems it doesn't work, but it can use SCREEN-INTENSIFED

Max