<?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: Future Working Date in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541513#M852037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use HOLIDAY_GET function module to calculate the number of holidays between ur date and no. of days(date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, to the date add no. of days as well as no.of holidays.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 04:57:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-12T04:57:07Z</dc:date>
    <item>
      <title>Future Working Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541510#M852034</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 want to get the future date by giving no of days and date in import parameters. There is one Function Module DATE_IN_FUTURE but it simply added the days to the given date and giving the date but I don't want to consider the holidays to add. Any one can help me regarding this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GVRao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 04:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541510#M852034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T04:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Future Working Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541511#M852035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check these FM's :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIMA_DAYS_AND_MONTHS_AND_YEARS&lt;/P&gt;&lt;P&gt;HR_SGPBS_YRS_MTHS_DAYS&lt;/P&gt;&lt;P&gt;RKE_SELECT_FACTDAYS_FOR_PERIOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the following FM&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'RKE_SELECT_FACTDAYS_FOR_PERIOD'
EXPORTING
i_datab = date1
i_datbi = date2
i_factid = 'GB'
TABLES
eth_dats = l_it_dat.&lt;/CODE&gt;&lt;/PRE&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, 12 Mar 2008 04:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541511#M852035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T04:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Future Working Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541512#M852036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this thread out too&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4606286"&gt;&lt;/A&gt;&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, 12 Mar 2008 04:53:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541512#M852036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T04:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Future Working Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541513#M852037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use HOLIDAY_GET function module to calculate the number of holidays between ur date and no. of days(date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, to the date add no. of days as well as no.of holidays.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 04:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541513#M852037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T04:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Future Working Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541514#M852038</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 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use FM RP_CALC_DATE_IN_INTERVAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;codecall function 'RP_CALC_DATE_IN_INTERVAL'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;date = '06/15/2006'&lt;/P&gt;&lt;P&gt;days = 14&lt;/P&gt;&lt;P&gt;months = 0&lt;/P&gt;&lt;P&gt;signum = '+'&lt;/P&gt;&lt;P&gt;years = 0&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;calc_date = wa_date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 04:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541514#M852038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T04:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Future Working Date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541515#M852039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Function Module to get the Future date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RP_CALC_DATE_IN_INTERVAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Validate the date across the Function Module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOLIDAY_CHECK_AND_GET_INFO Useful for determining whether or not a date is a holiday. Give the function a date, and a holiday calendar, and you can determine if the date is a holiday by checking the parameter HOLIDAY_FOUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: HOLIDAY_CHECK_AND_GET_INFO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ld_date like scal-datum default sy-datum,&lt;/P&gt;&lt;P&gt;lc_holiday_cal_id like scal-hcalid default 'CA',&lt;/P&gt;&lt;P&gt;ltab_holiday_attributes like thol occurs 0 with header line,&lt;/P&gt;&lt;P&gt;lc_holiday_found like scal-indicator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HOLIDAY_CHECK_AND_GET_INFO'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;date = ld_date&lt;/P&gt;&lt;P&gt;holiday_calendar_id = lc_holiday_cal_id&lt;/P&gt;&lt;P&gt;WITH_HOLIDAY_ATTRIBUTES = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;HOLIDAY_FOUND = lc_holiday_found&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;holiday_attributes = ltab_holiday_attributes&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;CALENDAR_BUFFER_NOT_LOADABLE = 1&lt;/P&gt;&lt;P&gt;DATE_AFTER_RANGE = 2&lt;/P&gt;&lt;P&gt;DATE_BEFORE_RANGE = 3&lt;/P&gt;&lt;P&gt;DATE_INVALID = 4&lt;/P&gt;&lt;P&gt;HOLIDAY_CALENDAR_ID_MISSING = 5&lt;/P&gt;&lt;P&gt;HOLIDAY_CALENDAR_NOT_FOUND = 6&lt;/P&gt;&lt;P&gt;OTHERS = 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0 and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lc_holiday_found = 'X'.&lt;/P&gt;&lt;P&gt;write: / ld_date, 'is a holiday'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;write: / ld_date, 'is not a holiday, or there was an error calling the function'.&lt;/P&gt;&lt;P&gt;endif.&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;Regards&lt;/P&gt;&lt;P&gt;Vinayak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 05:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/future-working-date/m-p/3541515#M852039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T05:10:41Z</dc:date>
    </item>
  </channel>
</rss>

