2007 Mar 29 7:36 AM
hai all,
i want sample code for selection screen parameter to be displayed in color.
how can i do this.
plz help me...
thanks..
regards,
selvi
hai all,
i want sample code for selection screen parameter to be displayed in color.
how can i do this.
plz help me...
thanks..
regards,
selvi
2007 Mar 29 7:38 AM
Hi,
You can't display the selection screen paramter in color.
You can only display the Output fields in Color (from 1 to 6) using write statement
if you want the same selection screen paramter can be displayed in Color on the output of the report on the top of the data.
Reward if useful.
regards,
Anji
Message was edited by:
Anji Reddy Vangala
2007 Mar 29 7:39 AM
hi
pls see 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.
thx
pavan
2007 Mar 29 7:43 AM
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'.
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.
2007 Mar 29 7:45 AM
hi,
u can intensify the selection-screen fields.
parameters:
p_xxx type xxx modif-id 'ABC'.
at selection-screen output.
loop at screen.
if screen-group1 eq 'ABC'.
screen-INTENSIFIED = 'X'.
endif.
modify screen.
endloop.
2007 Mar 29 11:24 AM
plz send me the sample report for changing the selection scree. output color.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |