<?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: Time calculation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302085#M1635752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a date time time question and doesnt look basic. &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have look at COPF_DETERMINE_DURATION. Please note that you have to pass the factory calendar to the function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2011 11:27:28 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2011-11-02T11:27:28Z</dc:date>
    <item>
      <title>Time calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302084#M1635751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found a number of datetime function modules that take two date-time values and spit out the time between these date-time values in all sorts of ways. But what I really need is a function module that takes two date-time values and returns the business hours between the two values including taking into account the holiday calendar in SAP config.&lt;/P&gt;&lt;P&gt;As an example of what I'm refering to... Operating hours for my business is 8am to 5pm (Monday thru Friday) and, for instance, May 1st is a holiday in SAP config. The first date-time value is April 30th, 10:00:00 and the second date-time value is May 2nd, 10:00:00. Total time is 48 hours, however, total business hours is 18 hours (9 hr day) but you need to take out the holiday in between as well so that drops the "business time difference" is 9 hours.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 11:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302084#M1635751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-02T11:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Time calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302085#M1635752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a date time time question and doesnt look basic. &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have look at COPF_DETERMINE_DURATION. Please note that you have to pass the factory calendar to the function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 11:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302085#M1635752</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-11-02T11:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Time calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302086#M1635753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm in CRM7 and COPF_DETERMINE_DURATION does not exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 11:31:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302086#M1635753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-02T11:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Time calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302087#M1635754</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 donot have a CRM system here, May be you can login to other system and check the logic written in it. There should be some functions existing in CRM  to get the working days between two dates, Making use of that please build the custom logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 11:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302087#M1635754</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-11-02T11:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Time calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302088#M1635755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the DURATION_DETERMINE exists in CRM. i'll use it.&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;P&gt;Points rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 12:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302088#M1635755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-02T12:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Time calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302089#M1635756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Andre,&lt;A __default_attr="68412" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="Difference between two date" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether this will help or not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 12:19:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-calculation/m-p/8302089#M1635756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-20T12:19:55Z</dc:date>
    </item>
  </channel>
</rss>

