<?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: Get the date range in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-date-range/m-p/5705974#M1295772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishigandha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i am correct you need the number of days between two dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date1: 04/06/2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date2: 12/06/2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need the number of days??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then probably check this Fm out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SD_DATETIME_DIFFERENCE this is a function module which gives the difference in Days and Time for entered two dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;P.S Additionally  Chk this out:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/people/mustafabaris.gunes/blog/2009/03/16/calculating-number-of-working-days-in-query-level&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Srikanth.P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: SRIKANTH P on Jun 4, 2009 2:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2009 09:02:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-04T09:02:26Z</dc:date>
    <item>
      <title>Get the date range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-date-range/m-p/5705973#M1295771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is a requirement that we need to get date range.This date range will be arrived at using the function module BKK_GET_PRIOR_WORKDAY. The factory calender id is GB. It should return the date range. Therefore, for weekends the date range will be Saturday, Sunday and Monday.  The date range will change based on holidays that exist in the holiday calendar.&lt;/P&gt;&lt;P&gt;Now my question is how to calculate that there are two days between friday and monday.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 08:52:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-date-range/m-p/5705973#M1295771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T08:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get the date range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-date-range/m-p/5705974#M1295772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nishigandha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i am correct you need the number of days between two dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date1: 04/06/2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date2: 12/06/2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need the number of days??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then probably check this Fm out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SD_DATETIME_DIFFERENCE this is a function module which gives the difference in Days and Time for entered two dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;P.S Additionally  Chk this out:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/people/mustafabaris.gunes/blog/2009/03/16/calculating-number-of-working-days-in-query-level&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Srikanth.P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: SRIKANTH P on Jun 4, 2009 2:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 09:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-the-date-range/m-p/5705974#M1295772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-04T09:02:26Z</dc:date>
    </item>
  </channel>
</rss>

