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-OPTIONS Multiple selection

Former Member
0 Likes
2,923

Hello

I have the following line of code:

   SELECT-OPTIONS: p_matnr FOR mara-matnr.

The users would like to use the multiple selection button to paste/upload from the clip board but unable until at least one entry is entered before the multiple selection will work.  Is there a way for the multiple selection to work without entering a material?

THANKS

1 ACCEPTED SOLUTION
Read only

Former Member
1,962

Remove the OBLIGATORY then check if "p_matnr" is initial (selection option are internal tables) when the user run the report.

6 REPLIES 6
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,962

In the above screen,bottom second right option is for load the data from clipboard so you can use this option..right

Thanks,

Sreeram

Read only

ThangaPrakash
Active Contributor
0 Likes
1,962

Hello Gary,

Is your Select option is OBLIGATORY ??

It happens only if the selection option is obligatory, remove the obligatory statement and try.

Regards,

Thanga

Read only

0 Likes
1,962

Thanks for quick response

I added obligatory see below:

   SELECT-OPTIONS: p_matnr FOR mara-matnr obligatory.

but I can not get to the Multiple Selection screen unless I enter a value on 1st screen.  I would like to go directly to the Multiple Selection Screen without entering a value

Read only

0 Likes
1,962

Hi Gary,

Just declare your variable like

data: gv_matnr type mara-matnr.

then declare select options

select-options s_matnr for gv_matnr.

with this you will not get any problem to go to extension to provide multiple range of values. If any thing you need revert back.

Regards,

Venkat.

Read only

Former Member
1,963

Remove the OBLIGATORY then check if "p_matnr" is initial (selection option are internal tables) when the user run the report.

Read only

Former Member
0 Likes
1,962

Hi Gary, Clicking the button shown below bring up the multiple selection screen without requiring a value. Do not add the obligatory keyword on the select-options statement as pointed out by Ramon.

see below: