2007 Dec 14 6:23 AM
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.
2007 Dec 14 6:25 AM
use
<b>no-intervals
no-extension</b>
keywords
e.g.
SELECT-OPTIONS: s_date FOR sy-datum
NO INTERVALS NO-EXTENSION.
2007 Dec 14 6:25 AM
use
<b>no-intervals
no-extension</b>
keywords
e.g.
SELECT-OPTIONS: s_date FOR sy-datum
NO INTERVALS NO-EXTENSION.
2008 Mar 13 8:44 PM
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
2007 Dec 14 6:26 AM
Hi,
Check this example...
TABLES:MARA.
SELECT-OPTIONS:S_MATNR FOR MARA-MATNR NO INTERVALS NO-EXTENSION.
Message was edited by:
Vishnu Reddy
2007 Dec 14 6:28 AM
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
2007 Dec 14 6:30 AM
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>.
2007 Dec 14 6:30 AM
SELECT-OPTIONS : s_bukrs FOR t001-bukrs no intervals
no-extension.
2007 Dec 14 6:32 AM
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