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

selection-screen

Former Member
0 Likes
785

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
761

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

8 REPLIES 8
Read only

Former Member
0 Likes
761

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

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
761

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

Read only

Former Member
0 Likes
761

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>

Read only

0 Likes
761

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

Read only

0 Likes
761
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

Read only

Former Member
0 Likes
761

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

Read only

Former Member
0 Likes
762

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

Read only

Former Member
0 Likes
761

try no-extension.

tables:mara .
select-options: so_matnr for mara-matnr no-extension.

or in the intialization event do the limitations.

regards,

vijay