<?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 Working Hours Calculation possible ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147689#M1367982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone know if there is a FM to calculate the Working Hours that exist between two dates.&lt;/P&gt;&lt;P&gt;For instance ...entire year may = 2080 working hours.  User wants to know Working hours between&lt;/P&gt;&lt;P&gt;any two dates ....  like....   July 1, 2007 and   May 5, 2008.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;MPersson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2009 20:53:18 GMT</pubDate>
    <dc:creator>former_member207070</dc:creator>
    <dc:date>2009-09-17T20:53:18Z</dc:date>
    <item>
      <title>Working Hours Calculation possible ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147689#M1367982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone know if there is a FM to calculate the Working Hours that exist between two dates.&lt;/P&gt;&lt;P&gt;For instance ...entire year may = 2080 working hours.  User wants to know Working hours between&lt;/P&gt;&lt;P&gt;any two dates ....  like....   July 1, 2007 and   May 5, 2008.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;MPersson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 20:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147689#M1367982</guid>
      <dc:creator>former_member207070</dc:creator>
      <dc:date>2009-09-17T20:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Working Hours Calculation possible ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147690#M1367983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find the working days between two dates but unless you want to assume that someone worked for 8 hours for each work day, you cannot find the working hours. Of course, if you implemented HR and time entry in your SAP, then maybe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 21:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147690#M1367983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T21:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Working Hours Calculation possible ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147691#M1367984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dug around some more and found that I can use &lt;/P&gt;&lt;P&gt; FUNCTION 'HR_99S_INTERVAL_BETWEEN_DATES'&lt;/P&gt;&lt;P&gt;to calculate the number of weeks between dates.&lt;/P&gt;&lt;P&gt;I can then multiple the #of Weeks by 40 hrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That ends up working  for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;MPersson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 21:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147691#M1367984</guid>
      <dc:creator>former_member207070</dc:creator>
      <dc:date>2009-09-17T21:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Working Hours Calculation possible ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147692#M1367985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if there are holidays? Or fractions of weeks??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Sep 17, 2009 5:36 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 21:34:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147692#M1367985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T21:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Working Hours Calculation possible ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147693#M1367986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats a valid point.  In my case I am only determining the total possible working hours for a budget report.&lt;/P&gt;&lt;P&gt;Prior to this, the supervisors were simply using a full year of 52 weeks x 40  hrs = 2080.  This report takes&lt;/P&gt;&lt;P&gt;the hours captured on the CATS timesheet and processes them accordingly. So Holidays and any leave&lt;/P&gt;&lt;P&gt;time is identified within the program code and handled then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;MPersson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 14:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147693#M1367986</guid>
      <dc:creator>former_member207070</dc:creator>
      <dc:date>2009-09-18T14:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Working Hours Calculation possible ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147694#M1367987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But FM HR_99S_INTERVAL_BETWEEN_DATES gives the wrong number of weeks for fractions. If you use today's and tomorrow's dates, I think you'll find that it returns zero weeks. Is that what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using days and multiply by eight instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Sep 18, 2009 10:09 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 14:08:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147694#M1367987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T14:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Working Hours Calculation possible ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147695#M1367988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi You can find calendar settings in country specfic settings this where you maintain holidays. Look for an FM which takes country or calendar id as input it is easy to calculate Weeks * 40 or Days * 8 for these results. It gets really easy if you HR on same box. You can take teh concept from following and build one yoru own will eb handy for future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIMA_DAY_CONVERT_TO_WORKINGDAY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 14:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147695#M1367988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T14:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Working Hours Calculation possible ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147696#M1367989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both of you have provided good solutions.&lt;/P&gt;&lt;P&gt;Looks like I'll have to code some revisions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;MPersson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 18:11:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/working-hours-calculation-possible/m-p/6147696#M1367989</guid>
      <dc:creator>former_member207070</dc:creator>
      <dc:date>2009-09-18T18:11:23Z</dc:date>
    </item>
  </channel>
</rss>

