‎2009 Apr 27 3:29 PM
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.
‎2009 Apr 27 3:50 PM
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
‎2009 Apr 27 3:34 PM
Hi deep,
It is not possible using Parameters.
Multiple values are supported only using SELECT-OPTIONS
Regards,
Ravi Kanth Talagana
‎2009 Apr 27 3:37 PM
Hi Ravi,
How should I change the above syntax to capture multiple value?
Thanks
Deep
‎2009 Apr 27 3:42 PM
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.
‎2009 Apr 27 3:50 PM
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
‎2009 Apr 27 3:57 PM
Hi,
Can I display values in F4 for a select option as a listbox?
Edited by: depeshn on Apr 28, 2009 7:21 AM
‎2009 Apr 28 6:30 AM