<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: hide the high value in selection screen range in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431267#M1051937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT-OPTIONS s_carrid FOR spfli_wa-carrid   NO INTERVALS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will not allow you to give range of values this is for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to give more values your code shouls NOT contain &lt;/P&gt;&lt;P&gt;NO-EXTENSION .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls check .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have the problem why dont you paste your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Sep 2008 15:56:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-04T15:56:55Z</dc:date>
    <item>
      <title>hide the high value in selection screen range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431265#M1051935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the selection screen of an ABAP Program, I need to use a field where I have to restrict the users from entering a range of values, but still need to enter a list of values.  I tried using 'no intervals' in the select-options, but still it lets me enter range.  How can I accomplish this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 15:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431265#M1051935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T15:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: hide the high value in selection screen range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431266#M1051936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No way are you sure .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 15:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431266#M1051936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T15:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: hide the high value in selection screen range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431267#M1051937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT-OPTIONS s_carrid FOR spfli_wa-carrid   NO INTERVALS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will not allow you to give range of values this is for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to give more values your code shouls NOT contain &lt;/P&gt;&lt;P&gt;NO-EXTENSION .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls check .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have the problem why dont you paste your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 15:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431267#M1051937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T15:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: hide the high value in selection screen range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431268#M1051938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the function module SELECT_OPTIONS_RESTRICT additionally to the simpler NO INTERVALS addition for this.&lt;/P&gt;&lt;P&gt;That way, besides of restricting the "TO" input field from appearing, you also restrict the tabs in the extension screen (yellow arrow button).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this code and adapt to yours:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
  wa_restrict TYPE sscr_restrict,
  wa_opt_list TYPE sscr_opt_list,
  wa_ass      TYPE sscr_ass.

    wa_opt_list-name = 'OBJECTKEY1'.
    wa_opt_list-options-eq = 'X'. "Enabling only single inclusion lists
    APPEND wa_opt_list TO wa_restrict-opt_list_tab.

    wa_ass-kind = 'S'.
    wa_ass-name = 'S_CONOCI'. "Replace with your select option name
    wa_ass-sg_main = 'I'.
    wa_ass-sg_addy = space.
    wa_ass-op_main = 'OBJECTKEY1'.
    APPEND wa_ass TO wa_restrict-ass_tab.
    CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
         EXPORTING
              restriction            = wa_restrict
         EXCEPTIONS
              too_late               = 1
              repeated               = 2
              selopt_without_options = 3
              selopt_without_signs   = 4
              invalid_sign           = 5
              empty_option_list      = 6
              invalid_kind           = 7
              repeated_kind_a        = 8
              OTHERS                 = 9.
    IF sy-subrc &amp;lt;&amp;gt; 0.
      MESSAGE e013.
    ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alejandro Bindi on Sep 4, 2008 12:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 15:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431268#M1051938</guid>
      <dc:creator>alejandro_bindi</dc:creator>
      <dc:date>2008-09-04T15:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: hide the high value in selection screen range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431269#M1051939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Lets do one thing validate the selection-screen that iof user inputs this and press execute then Trrigger Error message!!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 15:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-high-value-in-selection-screen-range/m-p/4431269#M1051939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T15:58:52Z</dc:date>
    </item>
  </channel>
</rss>

