<?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 to get the posting period based on date in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627162#M1281415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this function module : " HR_HCP_GET_POSTING_PERIODS "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2009 08:54:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-06T08:54:44Z</dc:date>
    <item>
      <title>function module to get the posting period based on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627158#M1281411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any function module to get the posting period based on date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 08:47:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627158#M1281411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T08:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: function module to get the posting period based on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627159#M1281412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go to SE37 and do &lt;STRONG&gt;DATE_TO_PERIOD_CONVERT&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 08:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627159#M1281412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T08:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: function module to get the posting period based on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627160#M1281413</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 'FIRST_DAY_IN_PERIOD_GET'
      EXPORTING
        I_GJAHR        = GV_GJHAR
        I_PERIV        = GC_24
        I_POPER        = GV_POPER
      IMPORTING
        E_DATE         = S_FKDAT-LOW
      EXCEPTIONS
        INPUT_FALSE    = 1
        T009_NOTFOUND  = 2
        T009B_NOTFOUND = 3
        OTHERS         = 4.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.



    CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
      EXPORTING
        I_GJAHR        = GV_GJHAR
        I_PERIV        = GC_24
        I_POPER        = GV_POPER
      IMPORTING
        E_DATE         = S_FKDAT-HIGH
      EXCEPTIONS
        INPUT_FALSE    = 1
        T009_NOTFOUND  = 2
        T009B_NOTFOUND = 3
        OTHERS         = 4.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ags.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 08:51:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627160#M1281413</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2009-05-06T08:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: function module to get the posting period based on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627161#M1281414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use DATE_TO_PERIOD_CONVERT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 08:54:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627161#M1281414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T08:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: function module to get the posting period based on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627162#M1281415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this function module : " HR_HCP_GET_POSTING_PERIODS "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 08:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627162#M1281415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T08:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: function module to get the posting period based on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627163#M1281416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATE_TO_PERIOD_CONVERT and check the field BUPER&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627163#M1281416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: function module to get the posting period based on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627164#M1281417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this FM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'FI_PERIOD_DETERMINE'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;i_budat = p_datum&lt;/P&gt;&lt;P&gt;i_bukrs = p_bukrs&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;e_gjahr = year&lt;/P&gt;&lt;P&gt;e_poper = period.&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;Joan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:07:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627164#M1281417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: function module to get the posting period based on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627165#M1281418</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 these FM's&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;FI_PERIOD_DETERMINE AND &lt;/P&gt;&lt;P&gt;FI_PERIOD_CHECK&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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jyothi CH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-the-posting-period-based-on-date/m-p/5627165#M1281418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:16:35Z</dc:date>
    </item>
  </channel>
</rss>

