<?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: function module for fiscal year in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fiscal-year/m-p/7190591#M1519705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First read some documentation at [Fiscal Year Change Documents|http://service.sap.com/fyc]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which step do you want to perform programmatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;PS: If you want to calculate fiscal year/period for a company/date, check FM FI_PERIOD_DETERMINE&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Aug 2010 06:45:05 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2010-08-10T06:45:05Z</dc:date>
    <item>
      <title>function module for fiscal year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fiscal-year/m-p/7190590#M1519704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please suggest me the function module for automatic generation of fiscal year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;S.Latha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 06:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fiscal-year/m-p/7190590#M1519704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T06:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: function module for fiscal year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fiscal-year/m-p/7190591#M1519705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First read some documentation at [Fiscal Year Change Documents|http://service.sap.com/fyc]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which step do you want to perform programmatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;PS: If you want to calculate fiscal year/period for a company/date, check FM FI_PERIOD_DETERMINE&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 06:45:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fiscal-year/m-p/7190591#M1519705</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-08-10T06:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: function module for fiscal year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fiscal-year/m-p/7190592#M1519706</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;Use this function module GM_GET_FISCAL_YEAR.&lt;/P&gt;&lt;P&gt;In function module you need to pass date which is sy-datum in your case &amp;amp; Fiscal Year Variant which you can find out from T009 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 06:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fiscal-year/m-p/7190592#M1519706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T06:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: function module for fiscal year</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fiscal-year/m-p/7190593#M1519707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Latha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below the code for auto generation of the fiscal year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_date = sy-datum.       "l_date should declared of type sy-datum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Use the function module to get the period&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'MC_PERIODE_ZUM_DATUM'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                idate        = l_date&lt;/P&gt;&lt;P&gt;                iperkz      = l_p         " 'P' &lt;/P&gt;&lt;P&gt;                iperiv       = l_periv   "V6 &lt;/P&gt;&lt;P&gt;           IMPORTING&lt;/P&gt;&lt;P&gt;                eperid       = l_period&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;                wrong_period = 1&lt;/P&gt;&lt;P&gt;                OTHERS       = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; l_fiscal = l_period+0(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_p - 'P'   i. e. Is the period indicator (Period according to fiscal year variant)&lt;/P&gt;&lt;P&gt;l_periv - 'V6'  i.e. Is the Fiscal year variant. Here it is V6 which relates country 'US'.&lt;/P&gt;&lt;P&gt;l_period - gives you the Fiscal period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_fiscal -  The first four digits of l_period gives you the 'Fiscal year'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you !.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;MM Jaffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: MohammedJaffer on Aug 10, 2010 12:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 07:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-fiscal-year/m-p/7190593#M1519707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-10T07:23:08Z</dc:date>
    </item>
  </channel>
</rss>

