<?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 Released Function Modules for working day calculation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207420#M1910691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked into function group SCAL / TB01 / KEPC. I could not find a function module that is &lt;STRONG&gt;released by sap&lt;/STRONG&gt; for following purpose. There are many &lt;STRONG&gt;Not Released &lt;/STRONG&gt;function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried to look for other threads before posting this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I enter date,based on Factory Calendar I would like to know 6th ,5th&amp;nbsp; and 4th working day before entered date.&lt;/P&gt;&lt;P&gt;Like for example if I entered July 10 and factory calendar is US. so I would like to output will be 6th Working Day = 1 Jul, 5th Working day = 2 Jul and 4th working day = 6 Jul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure someone might already faced this problem. Please revert with ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Jul 2015 18:53:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-07-18T18:53:29Z</dc:date>
    <item>
      <title>Released Function Modules for working day calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207420#M1910691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked into function group SCAL / TB01 / KEPC. I could not find a function module that is &lt;STRONG&gt;released by sap&lt;/STRONG&gt; for following purpose. There are many &lt;STRONG&gt;Not Released &lt;/STRONG&gt;function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried to look for other threads before posting this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I enter date,based on Factory Calendar I would like to know 6th ,5th&amp;nbsp; and 4th working day before entered date.&lt;/P&gt;&lt;P&gt;Like for example if I entered July 10 and factory calendar is US. so I would like to output will be 6th Working Day = 1 Jul, 5th Working day = 2 Jul and 4th working day = 6 Jul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure someone might already faced this problem. Please revert with ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jul 2015 18:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207420#M1910691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-18T18:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Released Function Modules for working day calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207421#M1910692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what about this FM&amp;nbsp; "DATE_CONVERT_TO_FACTORYDATE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar function: Returns factory calendar date for a date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jul 2015 19:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207421#M1910692</guid>
      <dc:creator>former_member184158</dc:creator>
      <dc:date>2015-07-18T19:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Released Function Modules for working day calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207422#M1910693</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;You can use the FM : "HOLIDAY_CHECK_AND_GET_INFO", to check if the entered day is holiday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - Check if the entered day D is Holiday - if yes, output error message ; &lt;/P&gt;&lt;P&gt;2 - Get the the 4th Day = D - 4 ; &lt;/P&gt;&lt;P&gt;3 - Check if the 4th Day is Holiday if yes decrement it by one, and so on for the next day.&lt;/P&gt;&lt;P&gt;&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;Sam, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2015 06:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207422#M1910693</guid>
      <dc:creator>former_member300076</dc:creator>
      <dc:date>2015-07-19T06:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Released Function Modules for working day calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207423#M1910694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate it. I can see holidays using this function module like Sept 7, however its not showing weekends as holidays. Is there some other FM I can use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2015 17:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207423#M1910694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-19T17:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Released Function Modules for working day calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207424#M1910695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Kapil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the FM "DAY_IN_WEEK", in order to get what you want.&lt;/P&gt;&lt;P&gt;This FM convert your date into the day in the week and returns : &lt;/P&gt;&lt;P&gt;Monday -&amp;gt; 1&lt;/P&gt;&lt;P&gt;Tuesday -&amp;gt; 2&lt;/P&gt;&lt;P&gt;Wednesday -&amp;gt; 3&lt;/P&gt;&lt;P&gt;Thursday -&amp;gt; 4&lt;/P&gt;&lt;P&gt;Friday -&amp;gt; 5&lt;/P&gt;&lt;P&gt;Saturday -&amp;gt; 6&lt;/P&gt;&lt;P&gt;Sunday -&amp;gt; 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if the returns value is 6 or 7 =&amp;gt; This is the weekend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that will help you.&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;Sam,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2015 19:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207424#M1910695</guid>
      <dc:creator>former_member300076</dc:creator>
      <dc:date>2015-07-19T19:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Released Function Modules for working day calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207425#M1910696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However &lt;SPAN style="color: #333333; font-size: 12px;"&gt;DAY_IN_WEEK is is not released by SAP yet.&amp;nbsp; We are using Sfin 2.0 system and there are many things changing with this new system. We don't know for sure if SAP will change the function module in future and if that happens my development may not work. Any other ideas.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 16:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207425#M1910696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-20T16:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Released Function Modules for working day calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207426#M1910697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check out function group FB00.&amp;nbsp; We use module BKK_ADD_WORKINGDAY to calculate a week time frame starting 3 days before and ending 3 days after the current date.&amp;nbsp; You can specify a particular calendar, or none at all, to use in the calculation.&amp;nbsp; Provide your starting date and then calculate for -4, -5 and -6.&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;K--&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 16:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207426#M1910697</guid>
      <dc:creator>kathryn_mcgallicher</dc:creator>
      <dc:date>2015-07-20T16:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Released Function Modules for working day calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207427#M1910698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kathy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's exactly what I want, to be able to get &lt;STRONG&gt;working days based on factory calendar.&lt;/STRONG&gt; BKK_ADD_WORKINGDAY, does the trick, but its also not released function module, if SAP changes something in that, we will be trouble. But if no other option, we may have to use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 16:30:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207427#M1910698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-20T16:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Released Function Modules for working day calculation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207428#M1910699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My apologies, I overlooked checking the released status.&amp;nbsp; It appears that all of the date calculation modules we are currently using are unreleased. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of success to you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 17:48:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/released-function-modules-for-working-day-calculation/m-p/11207428#M1910699</guid>
      <dc:creator>kathryn_mcgallicher</dc:creator>
      <dc:date>2015-07-20T17:48:41Z</dc:date>
    </item>
  </channel>
</rss>

