<?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 count error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/count-error/m-p/2639731#M607617</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 am counting total number of hours for each order type weekiy.&lt;/P&gt;&lt;P&gt;in selection screen if i enter 1 month date range then it should calculate for 4weeks .&lt;/P&gt;&lt;P&gt;but my program is counting previous week value while calculating next week value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; for 1week if total hours are 12 for order type  sm02&lt;/P&gt;&lt;P&gt;for next week if total hours are 10 for same order type sm02,&lt;/P&gt;&lt;P&gt;but my program is calculating as 22, similarly for same order type sm02 for 3week , if total hours are 5 , but my program is calculating as 27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would appreciate if anyone can give som logic for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2007 18:31:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-01T18:31:00Z</dc:date>
    <item>
      <title>count error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count-error/m-p/2639731#M607617</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 am counting total number of hours for each order type weekiy.&lt;/P&gt;&lt;P&gt;in selection screen if i enter 1 month date range then it should calculate for 4weeks .&lt;/P&gt;&lt;P&gt;but my program is counting previous week value while calculating next week value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; for 1week if total hours are 12 for order type  sm02&lt;/P&gt;&lt;P&gt;for next week if total hours are 10 for same order type sm02,&lt;/P&gt;&lt;P&gt;but my program is calculating as 22, similarly for same order type sm02 for 3week , if total hours are 5 , but my program is calculating as 27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would appreciate if anyone can give som logic for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 18:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count-error/m-p/2639731#M607617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T18:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: count error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count-error/m-p/2639732#M607618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;since all these are based on dates. you have to check the dates before counting the number of hours. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;post your program. it will be easy to answer your question. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;MGS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 19:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count-error/m-p/2639732#M607618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T19:25:41Z</dc:date>
    </item>
  </channel>
</rss>

