<?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 month in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128394#M111034</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 write your own code..to get month name from the month number entered and then use &amp;lt;b&amp;gt;concatenate&amp;lt;/b&amp;gt; statement to get your output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jan 2006 12:05:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-06T12:05:17Z</dc:date>
    <item>
      <title>function module for month</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128390#M111030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello &lt;/P&gt;&lt;P&gt;   i need a function module which will give o/p like may 2006 when i enter 5 2006.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sarangan r&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 11:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128390#M111030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T11:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: function module for month</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128391#M111031</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 should used fm MONTH_NAMES_GET to find out the the name of the month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: max bianchi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 12:02:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128391#M111031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T12:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: function module for month</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128392#M111032</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 function Module MONTH_NAMES_GET&lt;/P&gt;&lt;P&gt;to get month name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read month name using month number from the above table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate month name with year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 12:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128392#M111032</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-01-06T12:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: function module for month</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128393#M111033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use FM   MONTH_NAMES_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  after u get the the values in then table ,u can write ur logic by looping in the table and getting the value of month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;   if itab-ktx = 'MAY'.&lt;/P&gt;&lt;P&gt;       l_month = itab-mn.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_month will store the value of 5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 12:04:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128393#M111033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T12:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: function module for month</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128394#M111034</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 write your own code..to get month name from the month number entered and then use &amp;lt;b&amp;gt;concatenate&amp;lt;/b&amp;gt; statement to get your output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 12:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128394#M111034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T12:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: function module for month</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128395#M111035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;T015M table has the Names of the months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 12:06:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128395#M111035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T12:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: function module for month</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128396#M111036</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;&lt;/P&gt;&lt;P&gt;REPORT abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : mname(10) TYPE c.&lt;/P&gt;&lt;P&gt;PARAMETER : d TYPE sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM getmonth USING d mname.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; mname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  getmonth&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;M          text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;MNAME      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM getmonth USING d mname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : month_names	LIKE	t247 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA : m(2) TYPE c.&lt;/P&gt;&lt;P&gt;  m = d+4(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'MONTH_NAMES_GET'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LANGUAGE                    = SY-LANGU&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN_CODE                 =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      month_names                 = month_names&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     month_names_not_found       = 1&lt;/P&gt;&lt;P&gt;     OTHERS                      = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE month_names INDEX m.&lt;/P&gt;&lt;P&gt;  IF sy-subrc  = 0.&lt;/P&gt;&lt;P&gt;    mname = month_names-ltx.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "getmonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Mittal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 12:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128396#M111036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T12:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: function module for month</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128397#M111037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi use this FM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTH_NAMES_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass the language and date+0(2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 12:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128397#M111037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-06T12:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: function module for month</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128398#M111038</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;Check this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get all month names.. depending on the month you get in the date..you can get the month name from this function module..from the table parameter..MONTH_NAMES..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTH_NAMES_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreekanth G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2006 12:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-month/m-p/1128398#M111038</guid>
      <dc:creator>sreekanthgo</dc:creator>
      <dc:date>2006-01-06T12:14:26Z</dc:date>
    </item>
  </channel>
</rss>

