‎2007 Feb 15 6:45 AM
Hi SDN's
How do we give default multiple selection to a parameter on the selection screen.
and
How do we give default multiple selection to a select-option with / without internvals on the selection screen.
Regards
Pratyusha
‎2007 Feb 15 6:53 AM
sorry i am not sure with your query
you can do this.
select-options : s_matnr for mara-matnr default '1000' to '1010'.
DEFAULT g TO h ... OPTION op ... SIGN s
or you can do it
initialization.
s_matnr-low = '1000'.
s_matnr-high = '1010'.
s_matnr-option = 'BT'.
s_matnr-sign = 'I'.
append s_matnr.
s_matnr-low = '1015'.
s_matnr-option = 'EQ'.
s_matnr-sign = 'I'.
append s_matnr.
s_matnr-low = '1005'.
s_matnr-option = 'EQ'.
s_matnr-sign = 'E'.
append s_matnr.
regards
shiba dutta
‎2007 Feb 15 6:48 AM
Hi,
Declare the field as:
Select-options: s_field for <DB field> No intervals.
In the Arrow if you press, You will get a box where you can enter multiple values for that field.
See SAP help by pressing F1 on 'SELECT-OPTIONS' field.
Regards,
Anji
‎2007 Feb 15 6:48 AM
Hi
How do we give default multiple selection to a parameter on the selection screen.
and : We can achieve this by using VRM type-pool.
How do we give default multiple selection to a select-option with / without internvals on the selection screen: Using RANGE concept we can achieve this.
Regards,
kumar
‎2007 Feb 15 6:49 AM
Hi,
In taht case u have to define SELECT-OPTIONS WITH out intervals.
<b>SELECT-OPTIONS: s_test FOR mara-matnr DEFAULT 'xxxxx'
NO INTERVALS NO-EXTENSION.</b>
‎2007 Feb 15 6:50 AM
thank u all...
what i wanted was i need a select-options with no intervals and shud have 2 values by default.
hope this is clear..
Thanks
Pratyusha
‎2007 Feb 15 6:52 AM
SELECT-OPTIONS: s_test FOR mara-matnr DEFAULT 'xxxxx' TO '11111'
NO INTERVALS NO-EXTENSION.Hi I tried teh above code anot working, u can give either the default rannge
SELECT-OPTIONS: s_test FOR mara-matnr DEFAULT 'xxxxx' TO '11111'.Or else u can give
SELECT-OPTIONS: s_test FOR mara-matnr DEFAULT 'xxxxx' NO INTERVALS NO-EXTENSION.Message was edited by:
Judith Jessie Selvi
‎2007 Feb 15 6:52 AM
Hi,
Parameters cannot have multiple value selection. There is no interval attached to it for multiple values.
parameters: p_matnr like mara-matnr default '0001100000'.
SELECT-OPTIONS AIRLINE FOR WA_SPFLI-CARRID
DEFAULT 'AA'
TO 'LH'
OPTION NB
SIGN I.
SELECT-OPTIONS AIRLINE FOR WA_SPFLI-CARRID NO-EXTENSION.
SELECT-OPTIONS AIRLINE FOR WA_SPFLI-CARRID NO INTERVALS.
http://help.sap.com/saphelp_46c/helpdata/en/9f/dba71235c111d1829f0000e829fbfe/frameset.htm
Regards
Subramanian
‎2007 Feb 15 6:53 AM
sorry i am not sure with your query
you can do this.
select-options : s_matnr for mara-matnr default '1000' to '1010'.
DEFAULT g TO h ... OPTION op ... SIGN s
or you can do it
initialization.
s_matnr-low = '1000'.
s_matnr-high = '1010'.
s_matnr-option = 'BT'.
s_matnr-sign = 'I'.
append s_matnr.
s_matnr-low = '1015'.
s_matnr-option = 'EQ'.
s_matnr-sign = 'I'.
append s_matnr.
s_matnr-low = '1005'.
s_matnr-option = 'EQ'.
s_matnr-sign = 'E'.
append s_matnr.
regards
shiba dutta
‎2007 Feb 15 6:55 AM
try no-extension.
tables:mara .
select-options: so_matnr for mara-matnr no-extension.or in the intialization event do the limitations.
regards,
vijay