Application Development 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: 

Select-Option - No Range just a single number?

Former Member

Can a select-option be coded as a single value not a range?

Thank-You.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Sure,...

Select-options: s_bukrs for t001-bukrs <b>no intervals</b>.

Regards,

Rich Heilman

6 REPLIES 6

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Sure,...

Select-options: s_bukrs for t001-bukrs <b>no intervals</b>.

Regards,

Rich Heilman

You can also use the no-extension to get rid of the mulitple selections button.

Select-options: s_bukrs for t001-bukrs no intervals

no-extension.

Regards,

Rich Heilman

Former Member
0 Kudos

hi Tom,

Use it in this way..


select-options s_matnr for mara-matnr no-extension <b>no intervals</b>.

Former Member
0 Kudos

add NO INTERVELS ADDITION to the select-options definition.

regards

srikanth

Former Member
0 Kudos

hi tom,

select-option: sel for <field> no intervals no-extension.

Former Member
0 Kudos

Yes its possible

it will behave like parameter

select option:s_matnr for mara-matnr NO INTERVALS NO-EXTENSION.

-


On the "Multiple Selection" screen, you can also enter ranges for selection options with "NO INTERVALS".

By combining this addition with "NO-EXTENSION", you can restrict the user to entry of a single value for the selection option, but with the possibility of also choosing single value options like 'Greater than' or 'Less than or equal'.

By using the addition " NO INTERVALS" with SELECTION-SCREEN BEGIN OF BLOCK, you can activate the simplified display for all selection options in a block.

The function module SELECT_OPTIONS_RESTRICT allows you to restrict the set of selection options available for a SELECT-OPTION (for example, only single values and patterns, i.e. 'EQ' and 'CP' are allowed). You can also forbid the leading sign 'E' (= 'Exclude from selection'). This means that you can considerably restrict the selections which can be entered on the selection screen.

-


This will be like parameter where a single value can be input

In selection query u need to use

"where matnr in s_matnr."

hope this solves ur issue.

reward if found useful

Ags..