<?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: how to get default values on selection screen(multiple ranges)? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637157#M1091770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By creating selection screen variants......and give the ranges you need in it..save it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Debarshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Oct 2008 05:20:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-24T05:20:38Z</dc:date>
    <item>
      <title>how to get default values on selection screen(multiple ranges)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637156#M1091769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to know how to maintain default ranges in selection screen...like 2000 to 3000 and 7000 to 8000 and 11000 to 15000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all the above ranges must get by default how to provide those to selection screen by default...please give me idea...with example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 05:17:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637156#M1091769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T05:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to get default values on selection screen(multiple ranges)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637157#M1091770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By creating selection screen variants......and give the ranges you need in it..save it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Debarshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 05:20:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637157#M1091770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T05:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to get default values on selection screen(multiple ranges)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637158#M1091771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;At selection-screen output.

s_var-low = '7000'
s_var-high = '8000'.
append s_var.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 05:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637158#M1091771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T05:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to get default values on selection screen(multiple ranges)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637159#M1091772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintain the range table and fill the select-options under INITIALIZATION event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 05:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637159#M1091772</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2008-10-24T05:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to get default values on selection screen(multiple ranges)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637160#M1091773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; you can use a variant or you can write this on your code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: v_range for t001-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;v_range-sign = 'I'.&lt;/P&gt;&lt;P&gt;v_range-option = 'BT'.&lt;/P&gt;&lt;P&gt;v_range-low = '2000'.&lt;/P&gt;&lt;P&gt;v_range-high = '3000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append v_range.&lt;/P&gt;&lt;P&gt;clear v_range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_range-sign = 'I'.&lt;/P&gt;&lt;P&gt;v_range-option = 'EQ'.&lt;/P&gt;&lt;P&gt;v_range-low = '7000'.&lt;/P&gt;&lt;P&gt;v_range-high = '8000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append v_range.&lt;/P&gt;&lt;P&gt;clear v_range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_range-sign = 'I'.&lt;/P&gt;&lt;P&gt;v_range-option = 'EQ'.&lt;/P&gt;&lt;P&gt;v_range-low = '11000'.&lt;/P&gt;&lt;P&gt;v_range-high = '15000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append v_range.&lt;/P&gt;&lt;P&gt;clear v_range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 05:26:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637160#M1091773</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-10-24T05:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to get default values on selection screen(multiple ranges)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637161#M1091774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link: [Ranges|http://help.sap.com/saphelp_webas620/helpdata/en/9f/dba71f35c111d1829f0000e829fbfe/content.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 05:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637161#M1091774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T05:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to get default values on selection screen(multiple ranges)?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637162#M1091775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either use select-options or Ranges. If you want the selection screen to be displayed with allwoing user to enter values apart for the default ones use select options else use ranges. With ranges what ever values use hard code would be set and the end user will not be able to add any more values (or range of values).&lt;/P&gt;&lt;P&gt;Simply write the following code&lt;/P&gt;&lt;P&gt;tables : &amp;lt;name of the table from which the field belongs&amp;gt;&lt;/P&gt;&lt;P&gt;select-options &amp;lt;fieldname&amp;gt; for &amp;lt;tablename&amp;gt;-&amp;lt;fieldname&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;fieldname&amp;gt;-sign = 'I'.&lt;/P&gt;&lt;P&gt;&amp;lt;fieldname&amp;gt;-option = 'BT'.&lt;/P&gt;&lt;P&gt;&amp;lt;fieldname&amp;gt;-low = '7000'.&lt;/P&gt;&lt;P&gt;&amp;lt;fieldname&amp;gt;-high = '8000'.&lt;/P&gt;&lt;P&gt;append &amp;lt;fieldname&amp;gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similiarly add all the ranges that you need to include as default and in your select statement use the IN operator inthe where clause to include the range.&lt;/P&gt;&lt;P&gt;If using range replacethe select-option with the range statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 09:26:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-default-values-on-selection-screen-multiple-ranges/m-p/4637162#M1091775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T09:26:39Z</dc:date>
    </item>
  </channel>
</rss>

