Application Development and Automation 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: 
Read only

Select-option _no input possible???

naveen_inuganti2
Active Contributor
0 Likes
5,906

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
4,049

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

10 REPLIES 10
Read only

Former Member
0 Likes
4,049

Hi Naveen.

In structure SCREEN u need to give INPUT field as 0.

use AT SELECTION-SCREEN OUTPUT. event.

Best regards,

raam

Read only

Former Member
0 Likes
4,049

HI,

define it as

NO-DISPLAY

Regards

Nicole

Read only

0 Likes
4,049

Hi... lorenz...

No-display is for this requirement

Thanks.

Naveen.I

Read only

0 Likes
4,049

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.

Read only

Former Member
0 Likes
4,049

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

Read only

Former Member
0 Likes
4,049

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

Read only

Former Member
0 Likes
4,049

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

Read only

Former Member
0 Likes
4,049

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.

Read only

Former Member
0 Likes
4,050

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.

Read only

Former Member
0 Likes
4,049

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.