<?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 Issue with Ranges. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594201#M1661858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; i'm using below Ranges in a Program.&lt;/P&gt;&lt;P&gt;R_Range-option = 'BT'&lt;/P&gt;&lt;P&gt;R_Range-low = 'XX01'&lt;/P&gt;&lt;P&gt;R_Range-high = 'XX15'.&lt;/P&gt;&lt;P&gt;Append R_Range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_Range-option = 'BT'&lt;/P&gt;&lt;P&gt;R_Range-low = 'AAAA'&lt;/P&gt;&lt;P&gt;R_Range-high = 'ZZZZ'.&lt;/P&gt;&lt;P&gt;Append R_Range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XX is  Alphanumeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am using this range in below loop.&lt;/P&gt;&lt;P&gt;loop at itab where range in R_Range.&lt;/P&gt;&lt;P&gt;" statements&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;but Range XX00 t0 XX15 is not considered. But it takes AAAA to ZZZZ , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way to use alphanumeric in ranges?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;malai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2012 11:35:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-28T11:35:48Z</dc:date>
    <item>
      <title>Issue with Ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594201#M1661858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; i'm using below Ranges in a Program.&lt;/P&gt;&lt;P&gt;R_Range-option = 'BT'&lt;/P&gt;&lt;P&gt;R_Range-low = 'XX01'&lt;/P&gt;&lt;P&gt;R_Range-high = 'XX15'.&lt;/P&gt;&lt;P&gt;Append R_Range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_Range-option = 'BT'&lt;/P&gt;&lt;P&gt;R_Range-low = 'AAAA'&lt;/P&gt;&lt;P&gt;R_Range-high = 'ZZZZ'.&lt;/P&gt;&lt;P&gt;Append R_Range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XX is  Alphanumeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am using this range in below loop.&lt;/P&gt;&lt;P&gt;loop at itab where range in R_Range.&lt;/P&gt;&lt;P&gt;" statements&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;but Range XX00 t0 XX15 is not considered. But it takes AAAA to ZZZZ , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way to use alphanumeric in ranges?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;malai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 11:35:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594201#M1661858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-28T11:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594202#M1661859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AAAA to ZZZZ includes XX01 to XX15, so what do you mean with "not considered"? Does the range contain both values when going into the loop, or just one of the two alternatively?&lt;/P&gt;&lt;P&gt;Is XX just a placeholder? If yes, list some actual values.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 11:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594202#M1661859</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-02-28T11:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594203#M1661860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And how are you informing R_Range-SIGN. With an 'I' or with an "E"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Arseni Gallardo on Feb 28, 2012 12:47 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 11:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594203#M1661860</guid>
      <dc:creator>arseni_gallardo</dc:creator>
      <dc:date>2012-02-28T11:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594204#M1661861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;It includes both the ranges.&lt;/P&gt;&lt;P&gt;are you sure AAAA-ZZZZ includes XX01 to XX15.??&lt;/P&gt;&lt;P&gt;Example values are... PPQU, &lt;/P&gt;&lt;P&gt;                                   OM45,4487,0009,0015,AA12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether A to Z include 0-9 also??&lt;/P&gt;&lt;P&gt;&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;Annamalai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 11:53:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594204#M1661861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-28T11:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594205#M1661862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Using Include 'I' only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Annamalai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 11:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594205#M1661862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-28T11:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594206#M1661863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;XX01 to XX15 is subset of AAAA to ZZZZ so it should be considered in your report, only items will not considered are which start with numeric value please see following code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types lv_werks type marc-werks.

data r_werks type RANGE OF lv_werks.
data wa_werks LIKE LINE OF r_werks.

wa_werks-sign = 'I'.wa_werks-option = 'BT'.wa_werks-low = 'XX01'. wa_werks-high = 'XX15'.
append wa_werks to r_werks.

wa_werks-sign = 'I'.wa_werks-option = 'BT'.wa_werks-low = 'AAAA'. wa_werks-high = 'ZZZZ'.
append wa_werks to r_werks.

data : begin of itab OCCURS 0,
          werks type marc-werks,
       end of itab.


       itab-werks = 'AA01'. append itab.
       itab-werks = 'BA01'. append itab.
       itab-werks = 'BA01'. append itab.
       itab-werks = 'DA01'. append itab.
       itab-werks = 'EA01'. append itab.
       itab-werks = 'XX15'. append itab.
       itab-werks = 'ABCD'. append itab.
       itab-werks = 'DEFG'. append itab.
       itab-werks = 'HIJK'. append itab.
       itab-werks = 'LMNO'. append itab.
       itab-werks = '1234'. append itab.
       itab-werks = '2000'. append itab..
       itab-werks = '10BA'. append itab.


loop at itab where werks in r_werks.
write : / itab-werks.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And output of above code is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BA01&lt;/P&gt;&lt;P&gt;BA01&lt;/P&gt;&lt;P&gt;DA01&lt;/P&gt;&lt;P&gt;EA01&lt;/P&gt;&lt;P&gt;XX15&lt;/P&gt;&lt;P&gt;ABCD&lt;/P&gt;&lt;P&gt;DEFG&lt;/P&gt;&lt;P&gt;HIJK&lt;/P&gt;&lt;P&gt;LMNO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No plant like 1000 or 10BA considered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 11:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594206#M1661863</guid>
      <dc:creator>former_member194152</dc:creator>
      <dc:date>2012-02-28T11:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594207#M1661864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gagan,&lt;/P&gt;&lt;P&gt;First two characters are alphanumeric. it can also be numbers . In this case what shall i do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Malai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 12:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594207#M1661864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-28T12:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Ranges.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594208#M1661865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gagan,&lt;/P&gt;&lt;P&gt;&amp;gt; First two characters are alphanumeric. it can also be numbers . In this case what shall i do?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Malai.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can use like this only right?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
r-low = '0000'.
R-HIGH = 'ZZZZ'.
R-SIGN = 'I'.
R-OPTION = 'BT'.
APPEND R.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What values exactly you want to select?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards.&lt;/P&gt;&lt;P&gt;Aswath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 13:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ranges/m-p/8594208#M1661865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-28T13:07:30Z</dc:date>
    </item>
  </channel>
</rss>

