<?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: Function Module to find the Difference between two times. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784989#M338134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi HRA,&lt;/P&gt;&lt;P&gt;Thanks . its working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;N.L.Narayana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2006 10:50:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-13T10:50:50Z</dc:date>
    <item>
      <title>Function Module to find the Difference between two times.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784984#M338129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wud you plz let me know the Function Module to find the Difference between two times. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input Time1( Hours:Minutes) Time2 ( Hours:Minutes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need Output in Hours:Minutes only . ( No seconds Needed )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex :&lt;/P&gt;&lt;P&gt;Input :&lt;/P&gt;&lt;P&gt;       06:00 to 18:00 Output : 12:00&lt;/P&gt;&lt;P&gt;and  20:00 to 06:00 Output: 10:00 with +ve sign only. No -ve sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;N.L.Narayana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 10:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784984#M338129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T10:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to find the Difference between two times.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784985#M338130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Narayana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check&lt;/P&gt;&lt;P&gt;SD_DATETIME_DIFFERENCE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 10:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784985#M338130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T10:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to find the Difference between two times.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784986#M338131</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;try the following FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SCOV_TIME_DIFF_46B&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 10:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784986#M338131</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-12-13T10:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to find the Difference between two times.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784987#M338132</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;Use anyone of the following but some calculation do require for exact result.&lt;/P&gt;&lt;P&gt;'COPF_DETERMINE_DURATION'&lt;/P&gt;&lt;P&gt;SD_DATETIME_DIFFERENCE&lt;/P&gt;&lt;P&gt;L_MC_TIME_DIFFERENCE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 10:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784987#M338132</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2006-12-13T10:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to find the Difference between two times.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784988#M338133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It was not meeting the requirement what i have asked.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;N.L.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 10:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784988#M338133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T10:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to find the Difference between two times.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784989#M338134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi HRA,&lt;/P&gt;&lt;P&gt;Thanks . its working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;N.L.Narayana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 10:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784989#M338134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T10:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to find the Difference between two times.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784990#M338135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : p_timel like sy-uzeit,
       p_timeh like sy-uzeit,
       diff like sy-uzeit,
       di(8) type c .
   
       p_timel = '200000'.
       p_timeh = '060000'.
       diff = p_timeh - p_timel.
       concatenate diff+0(2) ':' diff+2(2) into di.
       write:/ di.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also check for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       p_timel = '060000'.&lt;/P&gt;&lt;P&gt;       p_timeh = '180000'.&lt;/P&gt;&lt;P&gt;see if this can be implemented in ur code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else  u can try with  Fm L_TO_TIME_DIFF passing startdate enddate starttime endtime with UOM as MIN &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 11:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-find-the-difference-between-two-times/m-p/1784990#M338135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T11:07:24Z</dc:date>
    </item>
  </channel>
</rss>

