Application Development 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: 

how to modify a select option without range and mutiple selection??

Former Member
0 Kudos
1,165

hi all,

i need to modify a select option by removing the range and option for multiple entry. i other words i need to make select option as parameter.( because i cannot use parameter in my program due to some constraints.)

is it possible to change the select option as per my requirement if yes please let me know how is it possible.

Thanks in advance.

Sreekanth.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
131

use

<b>no-intervals

no-extension</b>

keywords

e.g.

SELECT-OPTIONS: s_date FOR sy-datum

NO INTERVALS NO-EXTENSION.

7 REPLIES 7

Former Member
0 Kudos
132

use

<b>no-intervals

no-extension</b>

keywords

e.g.

SELECT-OPTIONS: s_date FOR sy-datum

NO INTERVALS NO-EXTENSION.

0 Kudos
131

Hi there. am also in need of somehow loosing the addition selection fields with SELECT-OPTIONS: using NO INTERVAL. This no longer seems to work as it once did. Found SAP note complaining about it, our system has this "fix" but still NO INTERVAL fails. WHen using NO-EXTENSION users no longer have ability to enter multiple selection values ( not ranges). Any ideas? harold

former_member188829
Active Contributor
0 Kudos
131

Hi,

Check this example...

TABLES:MARA.

SELECT-OPTIONS:S_MATNR FOR MARA-MATNR NO INTERVALS NO-EXTENSION.

Message was edited by:

Vishnu Reddy

former_member194152
Contributor
0 Kudos
131

hi,

Yes u can use code like following way..

select-options : s_matnr for mara-matnr no-extension no intervals.

Reward if helpful.

Regards

Gagan

Former Member
0 Kudos
131

parameter p_matnr for mara-matnr.

select-options s_field for mara-matnr NO INTERVALS NO-EXTENSION.

select * from mara

into table t_mara where matnr EQ p_matnr.

similarly use like this for select options

select * from mara

into table t_mara where matnr <b>IN S_matnr</b>.

former_member624107
Contributor
0 Kudos
131

SELECT-OPTIONS : s_bukrs FOR t001-bukrs no intervals

no-extension.

Former Member
0 Kudos
131

Hi,

First use NO-INTERVAL option

this will ensure that watever value use enters sits on variable-low value(ztest)

now modify the variable

as ur using select-options

its structure will be

variable-sign = 'I'.

variable-option = 'EQ'

variable-low = ztest

variable-hign = ztest

append variable.

now ur variable will work as a parameters