<?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 Decreament working dates in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/decreament-working-dates/m-p/4387291#M1043329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the current date - few working days days backwards.&lt;/P&gt;&lt;P&gt;The problem is that FKK_ADD_WORKINGDAY and BKK_ADD_WORKINGDAY takes negative numbers at input field I_DAYS as a zero.&lt;/P&gt;&lt;P&gt;Can sombodey help...??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rebeka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Aug 2008 20:51:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-23T20:51:48Z</dc:date>
    <item>
      <title>Decreament working dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decreament-working-dates/m-p/4387291#M1043329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the current date - few working days days backwards.&lt;/P&gt;&lt;P&gt;The problem is that FKK_ADD_WORKINGDAY and BKK_ADD_WORKINGDAY takes negative numbers at input field I_DAYS as a zero.&lt;/P&gt;&lt;P&gt;Can sombodey help...??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rebeka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 20:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decreament-working-dates/m-p/4387291#M1043329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T20:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Decreament working dates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decreament-working-dates/m-p/4387292#M1043330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you are checking in the SE37 directly executing, check it inside program. it is working fine..here is the code sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZTEST_WORKING_DAY.
data: e_date type sy-datum,
      i_days type i,
      e_return type sy-subrc.
i_days = 1 * -1.

CALL FUNCTION 'FKK_ADD_WORKINGDAY'
  EXPORTING
    i_date            = sy-datum
    i_days            = i_days
*   I_CALENDAR1       = I_CALENDAR1
*   I_CALENDAR2       = I_CALENDAR2
 IMPORTING
   E_DATE            = E_DATE
   E_RETURN          = E_RETURN
          .
BREAK-POINT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2008 00:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decreament-working-dates/m-p/4387292#M1043330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-24T00:48:08Z</dc:date>
    </item>
  </channel>
</rss>

