<?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 Date range using Fiscal Year in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966725#M1157732</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;Please tell me the function module to get this data.&lt;/P&gt;&lt;P&gt;My input is Fiscal Year -2008(for eg).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the output with&lt;/P&gt;&lt;P&gt;          f_day = 01.04.2008&lt;/P&gt;&lt;P&gt;          l_day = 31.03.2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2009 07:25:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-19T07:25:41Z</dc:date>
    <item>
      <title>Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966725#M1157732</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;Please tell me the function module to get this data.&lt;/P&gt;&lt;P&gt;My input is Fiscal Year -2008(for eg).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the output with&lt;/P&gt;&lt;P&gt;          f_day = 01.04.2008&lt;/P&gt;&lt;P&gt;          l_day = 31.03.2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 07:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966725#M1157732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T07:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966726#M1157733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate p_year '0401' into f_day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_day = f_day - 1.&lt;/P&gt;&lt;P&gt;add 1 to l_day(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Andreas Mann on Jan 19, 2009 8:30 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 07:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966726#M1157733</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2009-01-19T07:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966727#M1157734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 07:29:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966727#M1157734</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2009-01-19T07:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966728#M1157735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer to the link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abaplovers.blogspot.com/2008/04/some-important-function-modules-for.html" target="test_blank"&gt;http://abaplovers.blogspot.com/2008/04/some-important-function-modules-for.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 07:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966728#M1157735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T07:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966729#M1157736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried with that function module already.it gives only 1 month.I want all the 12 months to be included.it should give last date as 31.03.2009 not 31.04.2008.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 07:52:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966729#M1157736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T07:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966730#M1157737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try FMs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIRST_AND_LAST_DAY_IN_YEAR_GET&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;/IBS/RB_FIRST_LAST_DAY_FYEAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 07:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966730#M1157737</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2009-01-19T07:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966731#M1157738</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 like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : date like sy-datum,date1 like sy-datum,str(8) type c,str1(8) type c.&lt;/P&gt;&lt;P&gt;PARAMETERS YEAR(4) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE YEAR '04' '01' into str.&lt;/P&gt;&lt;P&gt;  CONCATENATE YEAR1 '03' '31' into str1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  date = str.&lt;/P&gt;&lt;P&gt;  date1 = str1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and put condition,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select &amp;lt;data&amp;gt; from &amp;lt;table&amp;gt; into &amp;lt;table&amp;gt;&lt;/P&gt;&lt;P&gt;where date(date field) ge date and date(date field) le date1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arpit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 08:23:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966731#M1157738</guid>
      <dc:creator>arpit_shah</dc:creator>
      <dc:date>2009-01-19T08:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966732#M1157739</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 think SAP considers fiscal year from 01.01.2008 to 31.12.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And FM for this is 'HR_E_GET_FISC_YEAR_DATES'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what u can do this is create an Z-FM and paste code as in Standard FM which is given above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In code the changes will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   FISC_FECINI = FISC_YEAR.&lt;/P&gt;&lt;P&gt;   FISC_FECINI+4(4) = '0401'.&lt;/P&gt;&lt;P&gt;   FISC_FECFIN = FISC_YEAR.&lt;/P&gt;&lt;P&gt;   FISC_FECFIN+4(4) = '0331'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Parth Parikh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 08:53:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966732#M1157739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T08:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966733#M1157740</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 with this FM - &lt;STRONG&gt;FIRST_AND_LAST_DAY_IN_YEAR_GET&lt;/STRONG&gt; with Year as 2008 and Fiscal year Variant as 'V3' (or according to your configuration), your desired out put will be diaplyed, please check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;CK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 10:26:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966733#M1157740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T10:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966734#M1157741</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 Try with the function Module : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HRGPBS_CLASS_GET_YEAR_DATES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to pass the year for eg : 2009&lt;/P&gt;&lt;P&gt;It would give the output as &lt;/P&gt;&lt;P&gt;date range : 01.04.2008 - 31.03.2009&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if it can help you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhavika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 12:11:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966734#M1157741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T12:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date range using Fiscal Year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966735#M1157742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FM: HRGPBS_CLASS_GET_YEAR_DATES is working fine &lt;/P&gt;&lt;P&gt;If Input is only Fiscal Year like 2011&lt;/P&gt;&lt;P&gt;and Expected Output is like 01.04.2010 - 31.03.2011&lt;/P&gt;&lt;P&gt;then Go for HRGPBS_CLASS_GET_YEAR_DATES function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 10:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-range-using-fiscal-year/m-p/4966735#M1157742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-11T10:30:59Z</dc:date>
    </item>
  </channel>
</rss>

