<?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 Ranges in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/3426777#M822984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi evryone,&lt;/P&gt;&lt;P&gt;The below code am using ranges.It is executing well when there is LOW and HIGH values for p1.But if i give only P1-LOW in the input then am not getting the output.Please Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&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;SELECT-OPTIONS: p1 FOR v_p1 OBLIGATORY.&lt;/P&gt;&lt;P&gt;RANGES:r1 for v_p1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table p1 index 1.&lt;/P&gt;&lt;P&gt;r1-sign = 'I'.&lt;/P&gt;&lt;P&gt;r1-option = 'EQ'.&lt;/P&gt;&lt;P&gt;while p1-low LE p1-high.&lt;/P&gt;&lt;P&gt;r1-low = p1-low.&lt;/P&gt;&lt;P&gt;append r1.&lt;/P&gt;&lt;P&gt;p1-low = p1-low + 1.&lt;/P&gt;&lt;P&gt;endwhile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 1.&lt;/P&gt;&lt;P&gt; t_power_cost_p1-power_cost_p1_apr&lt;/P&gt;&lt;P&gt; = t_power_cost_p1-power_cost_p1_apr + it_faglflext-hsl01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 2.&lt;/P&gt;&lt;P&gt; t_power_cost_p1-power_cost_p1_may&lt;/P&gt;&lt;P&gt; = t_power_cost_p1-power_cost_p1_may + it_faglflext-hsl02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 3.&lt;/P&gt;&lt;P&gt;t_power_cost_p1-power_cost_p1_jun&lt;/P&gt;&lt;P&gt; = t_power_cost_p1-power_cost_p1_jun + it_faglflext-hsl03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 4.&lt;/P&gt;&lt;P&gt;t_power_cost_p1-power_cost_p1_jul&lt;/P&gt;&lt;P&gt;= t_power_cost_p1-power_cost_p1_jul + it_faglflext-hsl04.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Feb 2008 09:26:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-14T09:26:28Z</dc:date>
    <item>
      <title>Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/3426777#M822984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi evryone,&lt;/P&gt;&lt;P&gt;The below code am using ranges.It is executing well when there is LOW and HIGH values for p1.But if i give only P1-LOW in the input then am not getting the output.Please Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&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;SELECT-OPTIONS: p1 FOR v_p1 OBLIGATORY.&lt;/P&gt;&lt;P&gt;RANGES:r1 for v_p1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table p1 index 1.&lt;/P&gt;&lt;P&gt;r1-sign = 'I'.&lt;/P&gt;&lt;P&gt;r1-option = 'EQ'.&lt;/P&gt;&lt;P&gt;while p1-low LE p1-high.&lt;/P&gt;&lt;P&gt;r1-low = p1-low.&lt;/P&gt;&lt;P&gt;append r1.&lt;/P&gt;&lt;P&gt;p1-low = p1-low + 1.&lt;/P&gt;&lt;P&gt;endwhile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 1.&lt;/P&gt;&lt;P&gt; t_power_cost_p1-power_cost_p1_apr&lt;/P&gt;&lt;P&gt; = t_power_cost_p1-power_cost_p1_apr + it_faglflext-hsl01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 2.&lt;/P&gt;&lt;P&gt; t_power_cost_p1-power_cost_p1_may&lt;/P&gt;&lt;P&gt; = t_power_cost_p1-power_cost_p1_may + it_faglflext-hsl02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 3.&lt;/P&gt;&lt;P&gt;t_power_cost_p1-power_cost_p1_jun&lt;/P&gt;&lt;P&gt; = t_power_cost_p1-power_cost_p1_jun + it_faglflext-hsl03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 4.&lt;/P&gt;&lt;P&gt;t_power_cost_p1-power_cost_p1_jul&lt;/P&gt;&lt;P&gt;= t_power_cost_p1-power_cost_p1_jul + it_faglflext-hsl04.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 09:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/3426777#M822984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T09:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/3426778#M822985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;g&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2008 09:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/3426778#M822985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-14T09:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ranges</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/3426779#M822986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      You are using &lt;STRONG&gt;p1-high&lt;/STRONG&gt; to compare with some other value, there by in a way making &lt;STRONG&gt;p1-high&lt;/STRONG&gt; mandatory. Hence whenever p1-high is null you are facing the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Harikrishna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: harikrishna indugu on Feb 15, 2008 11:53 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 10:53:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ranges/m-p/3426779#M822986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T10:53:04Z</dc:date>
    </item>
  </channel>
</rss>

