2008 Jun 19 7:24 PM
I need to change the color of a paramater text to blue.
So I am going
Loop at screen.
if screen-name = something
screen-color = BLUE
endif
modify screen
endloop.
What is the code for BLUE?
2008 Jun 19 7:41 PM
PARAMETERS: xlbs TYPE xfeld AS CHECKBOX MODIF ID sc1.
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-intensified = '1'.
screen-display_3d = '1'.
MODIFY SCREEN.
EXIT.
ENDIF.
ENDLOOP.
This is my code and it does not seem to work. I tried intensified and even screen-display.
2008 Jun 19 7:27 PM
hi,
Change screen-color = BLUE
to screen-intensive = 1.
Regards,
Subramanian
2008 Jun 19 7:31 PM
2008 Jun 19 7:34 PM
chk this
PARAMETERS: test1(10) TYPE c MODIF ID sc1,
test2(10) TYPE c MODIF ID sc2,
test3(10) TYPE c MODIF ID sc1,
test4(10) TYPE c MODIF ID sc2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-intensified = '1'.
MODIFY SCREEN.
CONTINUE.
ENDIF.
IF screen-group1 = 'SC2'.
screen-intensified = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
2008 Jun 19 7:35 PM
sorry...i missed the stmt.
Do you have a modif id for the parameter/select-options.
loop at screen.
IF screen-group1 = 'XYZ'.
screen-intensified = '1'.
MODIFY SCREEN.
ENDIF.
endloop.
regards,
Subramanian
2008 Jun 19 7:41 PM
PARAMETERS: xlbs TYPE xfeld AS CHECKBOX MODIF ID sc1.
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-intensified = '1'.
screen-display_3d = '1'.
MODIFY SCREEN.
EXIT.
ENDIF.
ENDLOOP.
This is my code and it does not seem to work. I tried intensified and even screen-display.
2008 Jun 19 7:46 PM
Hi,
Which is the event you are writing it in:
it should be AT SELECTION-SCREEN OUTPUT.
Regards,
Subramanina
2008 Jun 19 7:48 PM
try
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-intensified = ' 0'.
screen-display_3d = ' 0'.
MODIFY SCREEN.
EXIT.
ENDIF.
ENDLOOP.
Rakesh
2008 Jun 19 7:54 PM
2008 Jun 19 7:55 PM
I tried this it does not work. The objective is to make this parameter stand out, doesnt matter how it is done. Could be bold, or different color
try
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-intensified = ' 0'.
screen-display_3d = ' 0'.
MODIFY SCREEN.
EXIT.
ENDIF.
ENDLOOP.
Rakesh
2008 Jun 19 10:24 PM
Try this
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-intensified = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
2008 Jun 19 10:26 PM
Hi Megan,
I am not sure if we can change the attribute of the selection screen text.
If you want to make it stand out I would do following things.
Wirte selection-screen SKIP to give gap before and after that parameter to distinguish from others.
Use Comment in in start of LINE and END OF LINE syntax. This comment will allow you to put more charecters that usual selection text length.
Here with increase charecter you can add stars or special symbols or use CAPS use lines etc. to distinguish this parameter.
You can put lines also before and after the parameter.
Eg:
-
||>> SALES ORDER <<||
-
This might help if every other method fails
thnx,
ags.
Edited by: Agasti Kale on Jun 19, 2008 11:26 PM
2008 Jun 19 7:43 PM
Hi Megan,
Try out with the below sample code. I am sure it will work.
loop at screen.
case screen-name.
when 'P_TRANS'.
screen-invisible = 1.
screen-input = 0.
modify screen.
when 'P_MID1'.
screen-invisible = 1.
screen-input = 0.
modify screen.
when 'P_MID2'.
screen-invisible = 1.
screen-input = 0.
modify screen.
endcase.
endloop.
<removed by moderator>
Edited by: Jan Stallkamp on Jun 20, 2008 12:34 AM