<?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: Range question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392564#M190634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CARLOS,&lt;/P&gt;&lt;P&gt;The code will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2006 11:46:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-29T11:46:16Z</dc:date>
    <item>
      <title>Range question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392559#M190629</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;I need to make a range for the end of the month date only and I use the low range only because in the table that I make the select have all the days and I only need the last day of the month, so, I use the LOW range only like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  end_month-sign    = 'I'.
  end_month-option  = 'EQ'.
  end_month-low     = last_day.
  APPEND end_month.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this code correct?  because first I call a function that give the last day of the month and then I create the range and then I make the select like this:  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT bukrs day_a racct prctr per_day average agregate 
       accumulate average_sap
  FROM zavg_bal_table  APPENDING TABLE t_zavg
  WHERE bukrs IN p_bukrs
   AND  day_a IN end_month
   AND  prctr IN profit.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 11:39:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392559#M190629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T11:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Range question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392560#M190630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfect code (Assuming you have defined end_month as a range with reference to the day_a filed in table zavg_table.&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 11:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392560#M190630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T11:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Range question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392561#M190631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;   The code is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 11:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392561#M190631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T11:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Range question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392562#M190632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. range for the end of the month &amp;lt;b&amp;gt;date&amp;lt;/b&amp;gt; only &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. since this is range for DATE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. we have to give LOW AND HIGH BOTH,&lt;/P&gt;&lt;P&gt;   otherwise it may not give the desired results.&lt;/P&gt;&lt;P&gt;  (in your case, it will give for ONE Date only)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; end_month-sign    = 'I'.&lt;/P&gt;&lt;P&gt;  end_month-option  = 'BT'.&lt;/P&gt;&lt;P&gt;  end_month-low     = FIRST_day.&lt;/P&gt;&lt;P&gt;  end_month-low     = last_day.&lt;/P&gt;&lt;P&gt;APPEND end_month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. U can consturct the first date &lt;/P&gt;&lt;P&gt;   from the last day,&lt;/P&gt;&lt;P&gt;  by using concatenate '01' concept.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 11:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392562#M190632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T11:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Range question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392563#M190633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add this also ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end_month-high     = ''.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 11:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392563#M190633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T11:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Range question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392564#M190634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CARLOS,&lt;/P&gt;&lt;P&gt;The code will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 11:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/range-question/m-p/1392564#M190634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T11:46:16Z</dc:date>
    </item>
  </channel>
</rss>

