Skip to Content
author's profile photo Former Member
Former Member

Select-Option - No Range just a single number?

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

Thank-You.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Aug 03, 2006 at 03:28 PM

    Sure,...

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

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 03:31 PM

    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..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 03:29 PM

    hi Tom,

    Use it in this way..

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 03:30 PM

    add NO INTERVELS ADDITION to the select-options definition.

    regards

    srikanth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 03:30 PM

    hi tom,

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.