<?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 add 2 time fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723056#M1455739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - You changed your formula after a number of responses and I doubt if anyone will notice the change - post locked

And I don't see how you get either answer given the times you are using. Please explain more fully before re-posting.

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Mar 2010 13:54:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-16T13:54:48Z</dc:date>
    <item>
      <title>function module to add 2 time fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723050#M1455733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've 2 time fields : t1 = 06:00:00 (start time)&lt;/P&gt;&lt;P&gt;                            t2 = 06:00:00 (end time)&lt;/P&gt;&lt;P&gt;                            t3 = 01:30:00 (break time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              it's basically : t1 + t2 - t3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result should be : 21:30:00&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 13:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723050#M1455733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: function module to add 2 time fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723051#M1455734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Convert everything to minutes, claculate the duration and convert it back to hours and minutes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 13:31:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723051#M1455734</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2010-03-16T13:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: function module to add 2 time fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723052#M1455735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narsingh,&lt;/P&gt;&lt;P&gt;    You can try this fm L_MC_TIME_DIFFERENCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 13:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723052#M1455735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T13:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: function module to add 2 time fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723053#M1455736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narsingh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables  : syst .&lt;/P&gt;&lt;P&gt;parameters :   time1 like  syst-uzeit ,&lt;/P&gt;&lt;P&gt;               time2  like  syst-uzeit .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;data :   time3 TYPE  STRING ,time4  TYPE  STRING,time5  TYPE  STRING.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;time4  = time1 .&lt;/P&gt;&lt;P&gt;time5  = time2 .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;time3  =   time4  +  time5  .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;write /(10)  time3 USING EDIT MASK'__:__:__'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or&lt;/STRONG&gt; converting the time in seconds, and then adding all the time in seconds and then converting it back to hrs and mins as required....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Himayat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 13:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723053#M1455736</guid>
      <dc:creator>Himayatullah</dc:creator>
      <dc:date>2010-03-16T13:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: function module to add 2 time fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723054#M1455737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not working Arun. I basically want to add times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 13:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723054#M1455737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T13:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: function module to add 2 time fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723055#M1455738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've 2 time fields : t1 = 06:00:00 (start time)&lt;/P&gt;&lt;P&gt;t2 = 06:00:00 (end time)&lt;/P&gt;&lt;P&gt;t3 = 01:30:00 (break time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's basically : t1 + t2 - t3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result should be : 22:30:00&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 13:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723055#M1455738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T13:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: function module to add 2 time fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723056#M1455739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - You changed your formula after a number of responses and I doubt if anyone will notice the change - post locked

And I don't see how you get either answer given the times you are using. Please explain more fully before re-posting.

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 13:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-add-2-time-fields/m-p/6723056#M1455739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T13:54:48Z</dc:date>
    </item>
  </channel>
</rss>

