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 comment
10|10000 characters needed characters exceeded

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 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 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 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 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 comment
    10|10000 characters needed characters exceeded