2008 Jun 27 8:30 AM
Hi.. all
How can i get my selct option as no input possible mode in selection screen....
so here user can not change the default value which i set...
for that how can i restrict......
....
how can i get my select-option with defulat entries and with NO INPUT POSSIBLE MODE...
Thnaks,
Naveen.I
2008 Jun 27 8:40 AM
select-options : s_pernr for pa0001-pernr.
initialization.
*give default values to the select option ...
loop at screen.
if screen-name1 = 'S_PERNR-LOW'.
screen-input = 0'
modify screen.
endif.
if screen-name1 = 'S_PERNR-HIGH'.
screen-input = 0'
modify screen.
endif.
endloop.
Hi.. all
How can i get my selct option as no input possible mode in selection screen....
so here user can not change the default value which i set...
for that how can i restrict......
....
how can i get my select-option with defulat entries and with NO INPUT POSSIBLE MODE...
Thnaks,
Naveen.I
2008 Jun 27 8:32 AM
Hi Naveen.
In structure SCREEN u need to give INPUT field as 0.
use AT SELECTION-SCREEN OUTPUT. event.
Best regards,
raam
2008 Jun 27 8:32 AM
2008 Jun 27 8:37 AM
Hi... lorenz...
No-display is for this requirement
Thanks.
Naveen.I
2008 Jun 27 8:39 AM
Naveen,
Unfortunatly you got some wrong ans from lorenz.
NO-Display is not fit to your requirement.
because it will not display on selection-screen.
but your requirement is to protect perticuler field on selection-screen.
Amit.
2008 Jun 27 8:32 AM
hi,
use modif id.
select-options: s_matnr for mara-matnr default '11100000' modif id xyz.
at selection-screen output.
loop at screen.
if screen-name1 = 'XYZ'.
screen-input = 0.
modify screen.
endif.
endloop.
Regards,
SUbramanian
2008 Jun 27 8:33 AM
and pass the value to that internal table......
and
use loop at screen.
if screen-name = <FIeld>.
screen-input = 1 .
endif.
modify screen.
endloop.
this will help u.......
Reward IF,,,,,
Regards
Anbu
2008 Jun 27 8:35 AM
hiiiii
you can use code as follows for select option..
AT SELECTION-SCREEN OUTPUT .
IF p_rad2 IS INITIAL .
LOOP AT SCREEN.
IF screen-name CS 'p_docno'.
screen-active = 0.
MODIFY SCREEN.
ENDIF. " IF screen-name CS 'p_docno'.
ENDLOOP. " LOOP AT SCREEN.
ELSE.
LOOP AT SCREEN .
IF screen-name CS 'p_docno'.
screen-active = 1.
screen-input = 0.
MODIFY SCREEN.
ENDIF. " IF screen-name CS 'p_docno'.
ENDLOOP. " LOOP AT SCREEN .
ENDIF. " IF p_rad2 IS INITIAL .use that screen-input = 0 or 1 whatever you want ...
regards
twinkal
2008 Jun 27 8:36 AM
Naveen,
here slightly correction to other's answer!!
have you look at use modif id?
select-options: s_matnr for mara-matnr default '11100000' modif id XYZ.
at selection-screen output.
loop at screen.
if screen-group1 = 'XYZ'.
screen-input = 0.
modify screen.
endif.
endloop.
Amit.
2008 Jun 27 8:40 AM
select-options : s_pernr for pa0001-pernr.
initialization.
*give default values to the select option ...
loop at screen.
if screen-name1 = 'S_PERNR-LOW'.
screen-input = 0'
modify screen.
endif.
if screen-name1 = 'S_PERNR-HIGH'.
screen-input = 0'
modify screen.
endif.
endloop.
2008 Jun 27 9:47 AM
Hi,
there r options for this if u dont want to show the parameter in seletion screen go for the addition of NO-DISPLAY in your
select-option or else you can loop ur SCREEN and MODIFY it with the option input 0 in the AT SELECTION-SCREEN OUTPUT event.
with luck,
pritam.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |