<?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: Coding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250964#M486586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ranges is for selection criteria which does not have internal table implicitly. One can define that externally.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2007 05:23:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-15T05:23:56Z</dc:date>
    <item>
      <title>Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250960#M486582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is ranges ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250960#M486582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T05:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250961#M486583</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;refer &lt;/P&gt;&lt;P&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="3281855"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if it helps.&lt;/P&gt;&lt;P&gt;-Gaurang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250961#M486583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T05:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250962#M486584</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; In addition to selection tables that you create using SELECT-OPTIONS, you can use the RANGES statement to create internal tables that have the structure of selection tables. You can use these tables with certain restrictions the same way you use actual selection tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250962#M486584</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2007-05-15T05:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250963#M486585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Ranges is similar to select-options which we declare on the selection screen&lt;/P&gt;&lt;P&gt;when we declare ranges a selection table (internal table) is created with 4 fields like&lt;/P&gt;&lt;P&gt;SIGN, OPTION, LOW and HIGH  and the values are populated into ranges.&lt;/P&gt;&lt;P&gt;When we use select-options we will give sequencial values for that field where as for ranges we use any number (non-sequencial) and use it in the where condition similar to select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:23:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250963#M486585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T05:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250964#M486586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ranges is for selection criteria which does not have internal table implicitly. One can define that externally.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:23:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250964#M486586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T05:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250965#M486587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ranges refer to the range of values for a given field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges : r_matnr for matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_matnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_matnr-options = 'EQ'.&lt;/P&gt;&lt;P&gt;r_matnr-low = '4000000'.&lt;/P&gt;&lt;P&gt;r_matnr -high = '8000000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append r_matnr.&lt;/P&gt;&lt;P&gt;clear r_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 07:02:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250965#M486587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T07:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250966#M486588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&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;For more information refer the below links:&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;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;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 07:08:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250966#M486588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T07:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250967#M486589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the above facts is obvious. Even internally the Select-Options uses Ranges.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT-OPTIONS: S_MATNR FOR MARA-MATNR NO-EXTENSION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges : S_matnr for matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_matnr-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_matnr-options = 'EQ'.&lt;/P&gt;&lt;P&gt;s_matnr-low = '00000000000000106'.&lt;/P&gt;&lt;P&gt;s_matnr -high = '00000000000000109'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append s_matnr.&lt;/P&gt;&lt;P&gt;clear s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The practical use of ranges will be when using screen painter, and where there will be a situation where we need to get high and low values using I/O fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, the value obtained from i/o fields can be taken put in ranges and making it as a selection criteria thereby helpful to fetch list to the internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 09:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250967#M486589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T09:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250968#M486590</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;ranges is like select options which used before versions of sap 4.7&lt;/P&gt;&lt;P&gt;ranges works similar to select-options but difference is that for ranges we have to explicitly give all values as it doesnt reqiure for select options &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;ranges:matnr like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matnr-low = 'value'.&lt;/P&gt;&lt;P&gt;matnr-high = ''value'.&lt;/P&gt;&lt;P&gt;matnr-sign = ' e or i'. [include or exclude]&lt;/P&gt;&lt;P&gt;matnr-option=' bt r eq r ne'. [between or equal or notequal or in ....]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for select-options this type of assignment isn't mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 10:00:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250968#M486590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T10:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250969#M486591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 04:27:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coding/m-p/2250969#M486591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T04:27:48Z</dc:date>
    </item>
  </channel>
</rss>

