<?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 Select-options Vs Ranges in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806455#M346154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Difference between the Select-options and ranges., please give examaples of each and tell where to use what.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Dec 2006 05:18:59 GMT</pubDate>
    <dc:creator>former_member577909</dc:creator>
    <dc:date>2006-12-14T05:18:59Z</dc:date>
    <item>
      <title>Select-options Vs Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806455#M346154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Difference between the Select-options and ranges., please give examaples of each and tell where to use what.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806455#M346154</guid>
      <dc:creator>former_member577909</dc:creator>
      <dc:date>2006-12-14T05:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options Vs Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806456#M346155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT-OPTIONS - On the selection screen, you can declare RANGES on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES - Inside the program, if you want to have variable with RANGES option, use the RANGES variable. You cannot declare and use SELECT-OPTIONS inside the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:21:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806456#M346155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T05:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options Vs Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806457#M346156</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 out this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/difference-between-select-options-ranges.htm" target="test_blank"&gt;http://www.sap-img.com/abap/difference-between-select-options-ranges.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2258165"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds,&lt;/P&gt;&lt;P&gt;srini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:24:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806457#M346156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T05:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options Vs Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806458#M346157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhasker,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS &amp;amp; RANGES both are used for the range selection from selection screen. The diff. is while we use SELECT-OPTIONS system implicitly creates the select options internal table which contains the fields of SIGN,OPTION,LOW &amp;amp; HIGH.  But in case of RANGES, this internal table should be defined explicitly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES mara. &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : material FOR mara-matnr. &lt;/P&gt;&lt;P&gt;INITIALIZATION. &lt;/P&gt;&lt;P&gt;material-LOW    =   1001.               " It specifies the range starting value. &lt;/P&gt;&lt;P&gt;material-HIGH    =   0000.               " It specifies the range ending value. &lt;/P&gt;&lt;P&gt;material-OPTION  =  'EQ'.                " specifies ranges value is in equal. &lt;/P&gt;&lt;P&gt;material-SIGN      = 'I'.                     "specifies both inclussive. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND material . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM mara INTO TABLE ITAB  &lt;/P&gt;&lt;P&gt;WHERE matnr IN material. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES: &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES: material  FOR mara-matnr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;Seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806458#M346157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T05:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options Vs Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806459#M346158</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;SELECT-OPTIONS - this is used in order to have selection screen .Here u wil give the range of values.&lt;/P&gt;&lt;P&gt;For example.i need to retrieve data for some materials.So i wil give as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_matnr for mara-matnr (in program) and in the selection screen u wil give the range 1 to 10.Means for material 1 to 10 u can retrieve the data.In program u need to write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into table it_mara where matnr in s_matnr.The values u specify in the selection screen may vary and u wil get the data as per the values u specify in the select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for RANGES u won't get selection screen and if u r fixed data for 1 to 5 materials only i need to retreive data.then go for Ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 05:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806459#M346158</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-12-14T05:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options Vs Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806460#M346159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi  bhaskar,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;     In select-options we will give the lower limit and the higher limit with no condition.ie we cannot fetch values like for example,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;          we need only employees of 100,111,115  from 100 to 120 we cannot get through select-options  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          whereas in ranges we have the options to get that.they are&lt;/P&gt;&lt;P&gt;                    HIGH,LOW,SIGN&amp;amp;OPTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         so wecan specify a condition in the above options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks®ards&lt;/P&gt;&lt;P&gt;   magesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        magesh anandan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 11:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-vs-ranges/m-p/1806460#M346159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T11:34:08Z</dc:date>
    </item>
  </channel>
</rss>

