<?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 Modules for time subtraction. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548124#M853594</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 the below FM ..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF pa_older = 'X'.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
 EXPORTING
   date = pa_end
    days = '00'
    months = '06'
    signum = '-'
    years = '00'
 IMPORTING
    calc_date = pa_end.
ENDIF.
   &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2008 09:59:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-31T09:59:02Z</dc:date>
    <item>
      <title>function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548121#M853591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello abapers..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want two function modules...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  to subtract 1 hour from time and date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg if the date entered is 23.3.08 and time is 00:00:00&lt;/P&gt;&lt;P&gt; then the function module should give the result as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;22.3.08 and 23:00:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if the date is 21.03.08 and time is 12:00:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result should be 21.03.08 and time 11:00:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) the second one is for validation..i am not sure if there is &lt;/P&gt;&lt;P&gt; a function module for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to validate whether the date entered by the user&lt;/P&gt;&lt;P&gt;in the select option for type sy-datum is in the correct format.&lt;/P&gt;&lt;P&gt;I mean the user should not enter anything except a date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;If the user enters  97898jjjj then it should also invalidate this&lt;/P&gt;&lt;P&gt;as well as if the user enters 34.07.08 then also the FM should invalidate this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewarded for helpful answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 09:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548121#M853591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T09:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548122#M853592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: dat TYPE d,
      tim TYPE t.

IF tim LT '01000'.
  SUBTRACT 1 FROM dat.
ENDIF.

SUBTRACT 3600 FROM tim.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you define your select options as type sy-datum, the user cannot enter an implausible/invalid date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 09:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548122#M853592</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-03-31T09:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548123#M853593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

RP_CALC_DATE_IN_INTERVAL
 Add/subtract years/months/days from a date

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 09:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548123#M853593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T09:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548124#M853594</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 the below FM ..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF pa_older = 'X'.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
 EXPORTING
   date = pa_end
    days = '00'
    months = '06'
    signum = '-'
    years = '00'
 IMPORTING
    calc_date = pa_end.
ENDIF.
   &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 09:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548124#M853594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T09:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548125#M853595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry but my select option is not of type sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But of the type ITSEGDIAE-TIME_TST01 .&lt;/P&gt;&lt;P&gt;and it is a combination of date and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This structure is linked to the table TSEGE and the field for the&lt;/P&gt;&lt;P&gt;date and time is TSEGE-even_tstfr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is displayed in numeric format like 20.071.026.100.000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But internally date and time is stored as 26.10.2007 10:00:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i want to validate whether the date and time is in the correct format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i want to subtract 1 hour from the actual date and time entered by the user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548125#M853595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548126#M853596</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 FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCOV_TIME_DIFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Import parameters               Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IM_DATE1                        31.03.2008&lt;/P&gt;&lt;P&gt; IM_DATE2                        31.03.2008&lt;/P&gt;&lt;P&gt; IM_TIME1                        10:00:00&lt;/P&gt;&lt;P&gt; IM_TIME2                        11:00:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Export parameters               Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EX_DAYS                         0&lt;/P&gt;&lt;P&gt; EX_TIME                         01:00:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morris Bond.&lt;/P&gt;&lt;P&gt;Reward Points if Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548126#M853596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548127#M853597</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 have input as date and time and constant subtraction of 1 hour&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;The output should be new date and time with 1 hour subtraction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548127#M853597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548128#M853598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the FM &lt;STRONG&gt;LEINT_TIMECALC_DIFF / TIMECALC_DIFF&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will find the difference b/w 2 time stamps in seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548128#M853598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548129#M853599</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 also had one requirment of adding 1hour tp date and time.&lt;/P&gt;&lt;P&gt; i used the FM dimp_add_time. But i m not finding a suitable FM for subtracting 1 hour.I have still not got a apt FM like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548129#M853599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548130#M853600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the below FM &lt;STRONG&gt;CONV_UTIL_ADD_DATE_AND_TIME&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help you to add days and time to a timestamp. It will give you result in datestamp too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548130#M853600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548131#M853601</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 do have a FM to add time i want a FM to subtract time!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it that in SAP there is FM to add time but no FM to subtract&lt;/P&gt;&lt;P&gt;time!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:23:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548131#M853601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T10:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548132#M853602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LTRM_TIME_GAP_CALC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i searched it in &lt;A href="https://community.sap.com/www.se37.com" target="test_blank"&gt;www.se37.com&lt;/A&gt;   &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;santhosh reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 10:41:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548132#M853602</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2008-03-31T10:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548133#M853603</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 FM IGN_TIMESTAMP_PLUSMINUS&lt;/P&gt;&lt;P&gt;The Flag BACKWARD if to subtract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neelav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2008 10:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548133#M853603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-12T10:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548134#M853604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;diff &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;i&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;PARAMETERS &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv_stime &lt;SPAN class="L0S52"&gt;TYPE&amp;nbsp; &lt;/SPAN&gt;t&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv_sdate &lt;SPAN class="L0S52"&gt;TYPE&amp;nbsp; &lt;/SPAN&gt;d&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv_atime &lt;SPAN class="L0S52"&gt;TYPE&amp;nbsp; &lt;/SPAN&gt;t&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ev_endtime &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;iv_stime &lt;SPAN class="L0S70"&gt;- &lt;/SPAN&gt;iv_atime&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;diff &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;ev_endtime &lt;SPAN class="L0S70"&gt;- &lt;/SPAN&gt;iv_stime&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;diff &amp;gt; &lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ev_enddate &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;iv_sdate &lt;SPAN class="L0S70"&gt;- &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ev_enddate &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;iv_sdate&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;ev_endtime&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;ev_enddate&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 12:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548134#M853604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-27T12:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548135#M853605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Try this&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;: &lt;/SPAN&gt;diff &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;i&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;PARAMETERS &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv_stime &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;TYPE&amp;nbsp; &lt;/SPAN&gt;t&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv_sdate &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;TYPE&amp;nbsp; &lt;/SPAN&gt;d&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv_atime &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;TYPE&amp;nbsp; &lt;/SPAN&gt;t&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;ev_endtime &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;iv_stime &lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;- &lt;/SPAN&gt;iv_atime&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;diff &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;ev_endtime &lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;- &lt;/SPAN&gt;iv_stime&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;IF &lt;/SPAN&gt;diff &amp;gt; &lt;SPAN class="L0S32" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; ev_enddate &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;iv_sdate &lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;- &lt;/SPAN&gt;&lt;SPAN class="L0S32" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; ev_enddate &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;iv_sdate&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;: &lt;/SPAN&gt;ev_endtime&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;: &lt;/SPAN&gt;ev_enddate&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 12:12:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548135#M853605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-27T12:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: function Modules for time subtraction.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548136#M853606</link>
      <description>&lt;P&gt;Try these two function module &lt;/P&gt;&lt;P&gt;IGN_TIMESTAMP_PLUSMINUS&lt;/P&gt;&lt;P&gt;CATT_ADD_TO_TIME&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 13:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-for-time-subtraction/m-p/3548136#M853606</guid>
      <dc:creator>former_member207481</dc:creator>
      <dc:date>2021-09-27T13:03:25Z</dc:date>
    </item>
  </channel>
</rss>

