<?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 date conversion! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670990#M296560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Please use this function module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FTI_FISCAL_YEAR_MONTH_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Irfan Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Nov 2006 09:11:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-14T09:11:54Z</dc:date>
    <item>
      <title>Function module for date conversion!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670986#M296556</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;Is there any function module to convert calendar month and year to fiscal period and year??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 07:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670986#M296556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T07:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for date conversion!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670987#M296557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION 'GET_CURRENT_YEAR'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;BUKRS = '1000' " Company Code&lt;/P&gt;&lt;P&gt;DATE = SY-DATUM " Date to find fiscal year for&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;CURRM = w_currm " Current Fiscal Month&lt;/P&gt;&lt;P&gt;CURRY = w_curry " Current Fiscal Year&lt;/P&gt;&lt;P&gt;PREVM = w_prevm " Previous Fiscal Month&lt;/P&gt;&lt;P&gt;PREVY = w_prevy. " Previous Fiscal Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the date you need in the place of sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FTI_FISCAL_YEAR_MONTH_GET Returns fiscal year for specific date &lt;/P&gt;&lt;P&gt;Kindly reward points by clicking the star on the left of reply,if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kishan negi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 08:01:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670987#M296557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T08:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for date conversion!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670988#M296558</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;PRE&gt;&lt;CODE&gt;CALL FUNCTION '/BEV3/CHPERIOD_DETERMINE'
EXPORTING
date = sy-datum
version = c_version
IMPORTING
period = l_period
year = l_fiscal_year
EXCEPTIONS
period_in_not_valid = 1
period_not_assigned = 2
version_undefined = 3
OTHERS = 4.&lt;/CODE&gt;&lt;/PRE&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;PRE&gt;&lt;CODE&gt;If not use GM_GET_FISCAL_YEAR


CALL FUNCTION 'GET_CURRENT_YEAR'
EXPORTING
BUKRS = '1000' " Company Code
DATE = SY-DATUM " Date to find fiscal year for
IMPORTING
CURRM = w_currm " Current Fiscal Month
CURRY = w_curry " Current Fiscal Year
PREVM = w_prevm " Previous Fiscal Month
PREVY = w_prevy. " Previous Fiscal Year&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;if hlped pls mark points&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 08:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670988#M296558</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-14T08:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for date conversion!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670989#M296559</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 mark points, if your issue solved. currently the thread is shown as answered with out marking any point to helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 08:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670989#M296559</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-14T08:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for date conversion!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670990#M296560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Please use this function module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FTI_FISCAL_YEAR_MONTH_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Irfan Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 09:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-date-conversion/m-p/1670990#M296560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T09:11:54Z</dc:date>
    </item>
  </channel>
</rss>

