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

Multiple value selection in List Box

Former Member
0 Likes
1,738

Hi Experts,

In the selection screen of a report program, I have created a list box for countries as below:

PARAMETERS p_contry TYPE zcountry AS LISTBOX VISIBLE LENGTH 20 OBLIGATORY. " Country

While executing, I want to select multiple countries using CTRL key. is it possible if so then I can get it.

Thanks

Deep.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,072

Try with something like this:

select-options s_contry for <your table name>-<field name > NO-INTERVALS.

In the selection screen, you can see a button next to the select-option.

If you click on that, you can enter multiple values, ranges, and values to exclude or ranges to exclude.

Regards,

ravi

6 REPLIES 6
Read only

Former Member
0 Likes
1,072

Hi deep,

It is not possible using Parameters.

Multiple values are supported only using SELECT-OPTIONS

Regards,

Ravi Kanth Talagana

Read only

0 Likes
1,072

Hi Ravi,

How should I change the above syntax to capture multiple value?

Thanks

Deep

Read only

Former Member
0 Likes
1,072

as ravi mention it is not possible to use parameters for multiple selections.

You can always use select options for the same

Regards,

Lalit Mohan Gupta.

Read only

Former Member
0 Likes
1,073

Try with something like this:

select-options s_contry for <your table name>-<field name > NO-INTERVALS.

In the selection screen, you can see a button next to the select-option.

If you click on that, you can enter multiple values, ranges, and values to exclude or ranges to exclude.

Regards,

ravi

Read only

0 Likes
1,072

Hi,

Can I display values in F4 for a select option as a listbox?

Edited by: depeshn on Apr 28, 2009 7:21 AM

Read only

0 Likes
1,072

hey use this

cheers

s.janagar