2008 Dec 16 9:49 AM
Moderator message: please use an informative subject in future
Hi All,
I am doing loop at screen.
We have many attributes for screen like name,input,active,color etc.....Can anyone tell me what are the values that are allowed for Screen-color???
Edited by: Matt on Dec 16, 2008 10:56 AM
2008 Dec 16 9:57 AM
2008 Dec 16 10:01 AM
Hi Madan,
In table controls only one color is available that is RED.
if some_condition.
loop at screen.
if screen-name = 'YOUR_COLUMN'.
screen-intensifed = 1.
modify screen.
ENDIF.
endloop.
endif.
I tried many other colors but it is taking(giving) only RED color
Just for your reference Please go through RSDEMO02 table controls example
If you pass 'RED' etc you will get short dump as it takes only type I values
Regards
Ramchander Rao.K
Edited by: ramchander krishnamraju on Dec 16, 2008 11:20 AM
2008 Dec 16 10:01 AM
2008 Dec 16 10:02 AM
2008 Dec 16 10:03 AM
HI,
you can try
loop at screen.
if screen-name eq 'COLOR'.
screen-color = 'BRIGHT'.
modify screen.
endif.
endloop.
or try
loop at screen.
if screen-name eq 'COLOR'.
screen-color = ' RED'.
modify screen.
endif.
endloop.
2008 Dec 16 10:05 AM
hi,
loop at screen.
if screen-name = 'COLOR'.
screen-color = 'RED'.
modify screen.
endif.
endloop.
or
loop at screen.
if screen-name eq 'COLOR'.
screen-color = 'BRIGHT'.
modify screen.
endif.
endloop.
2008 Dec 16 12:53 PM
Hi ,
You can write code in PBO Like below -->
.......COLOR n [ON] or ... COLOR OFF
In Module OUTPUT you can write e.g FORMAT COLOR COLNORMAL ON_
Rest below are further other options for optimizing colors accordingly :==>
. ... INTENSIFIED [ON] or ... INTENSIFIED OFF
... INVERSE [ON] or ... INVERSE OFF