<?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: month name in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781446#M648300</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 these sample code........&lt;/P&gt;&lt;P&gt;DATA: date1 like sy-datum,&lt;/P&gt;&lt;P&gt;          date2,&lt;/P&gt;&lt;P&gt;          it_month like t247 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;date1&lt;EM&gt;3(4) = itab-budat&lt;/EM&gt;3(4).&lt;/P&gt;&lt;P&gt;date2 = date1+3(4).&lt;/P&gt;&lt;P&gt;it_month-mn = date2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'month_names_get'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;       LANGUAGE = 'EN'&lt;/P&gt;&lt;P&gt;    TABLE    &lt;/P&gt;&lt;P&gt;       month_names = it_month[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Rewards points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2007 08:53:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-04T08:53:49Z</dc:date>
    <item>
      <title>month name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781439#M648293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i have the itab-budat contains date in the format of '04.09.2007'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i want to display the month in name, how to use MONTH_NAMES_GET'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  give me example program.&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;Regards&lt;/P&gt;&lt;P&gt;Rajaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 08:26:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781439#M648293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T08:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: month name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781440#M648294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajaram...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to Display the Date along with Month name.&lt;/P&gt;&lt;P&gt;Call the FM CONVERSION_EXIT_SDATE_OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give the Date in 10.AUG.2007 Format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereas MONTH_NAMES_GET is used to return all the month names as per language etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 08:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781440#M648294</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-04T08:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: month name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781441#M648295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to display the month only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if the date  04.09.2007     =  September&lt;/P&gt;&lt;P&gt;                                  01.08.2007     =  August&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to display this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 08:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781441#M648295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T08:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: month name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781442#M648296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Hi Raja,

chk this

REPORT ychatest2.

TABLES : t247.

DATA : v_mon(2) TYPE n,
       v_date(10) VALUE '04.09.2007',
       v_ltx LIKE t247-ltx,
       v_ktx LIKE t247-ktx.

SELECT SINGLE ktx
              ltx
              INTO (v_ktx , v_ltx)
              FROM t247
              WHERE spras = sy-langu AND
                    mnr EQ v_date+3(2).

WRITE : v_ktx , v_ltx.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 08:36:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781442#M648296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T08:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: month name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781443#M648297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dont pass anything to the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_month type standard table of T247.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCITON 'MONTH_NAMES_GET'&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;LANGUAGE = 'EN'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;MONTH_NAMES = i_month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now depending on your month value&lt;/P&gt;&lt;P&gt;read table i_month into wa_month with key SPRAS = 'EN'&lt;/P&gt;&lt;P&gt;                                                               MNR = itab-budat+3(2).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 08:39:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781443#M648297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T08:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: month name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781444#M648298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  use sub srtingoperation, as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTH_NAMES_GET cannot be used to spell the month, it is used to retrieve the available month options in a perticular system and their possible representation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to spell the month use the FM ' SPELL_AMOUNT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use sub string operation for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: c1(2) type c,&lt;/P&gt;&lt;P&gt;        d1 type d value '04.09.2007,&lt;/P&gt;&lt;P&gt;        WORDS LIKE SPELL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c1 =  d1+3(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SPELL AMOUNT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXP&lt;/P&gt;&lt;P&gt;   AMOUNT = C1&lt;/P&gt;&lt;P&gt;LANGUAGE = SY-LANGU&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;  IN_WORDS = WORDS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: WORDS-WORD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 08:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781444#M648298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T08:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: month name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781445#M648299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use any one of the following methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;method 1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_month like t247-ltx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single ltx into v_month from t247&lt;/P&gt;&lt;P&gt;       where spras = sy-langu and&lt;/P&gt;&lt;P&gt;             mnr   = sy-datum+4(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ 'Month = ', v_month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;method 2.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_month like t247-ltx,&lt;/P&gt;&lt;P&gt;      month_names like t247 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MONTH_NAMES_GET'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   LANGUAGE                    = SY-LANGU&lt;/P&gt;&lt;UL&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                 = 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;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table month_names with key spras = sy-langu&lt;/P&gt;&lt;P&gt;                                mnr   = sy-datum+4(2).&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt; v_month = month_names-ltx.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ 'Month = ', v_month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 08:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781445#M648299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T08:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: month name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781446#M648300</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 these sample code........&lt;/P&gt;&lt;P&gt;DATA: date1 like sy-datum,&lt;/P&gt;&lt;P&gt;          date2,&lt;/P&gt;&lt;P&gt;          it_month like t247 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;date1&lt;EM&gt;3(4) = itab-budat&lt;/EM&gt;3(4).&lt;/P&gt;&lt;P&gt;date2 = date1+3(4).&lt;/P&gt;&lt;P&gt;it_month-mn = date2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'month_names_get'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;       LANGUAGE = 'EN'&lt;/P&gt;&lt;P&gt;    TABLE    &lt;/P&gt;&lt;P&gt;       month_names = it_month[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Rewards points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 08:53:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781446#M648300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T08:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: month name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781447#M648301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. 04.09.2007 = &amp;lt;b&amp;gt;04-SEP-2007&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Just use this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_SDATE_OUTPUT &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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 08:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781447#M648301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T08:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: month name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781448#M648302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: month_name type table of t247 with header line.&lt;/P&gt;&lt;P&gt;data: mm(2)      type n.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;mm = sy-datum+4(2).&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MONTH_NAMES_GET'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    MONTH_NAMES = month_name.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;read table month_name index mm.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;write: / month_name-ltx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 09:02:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/month-name/m-p/2781448#M648302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-04T09:02:22Z</dc:date>
    </item>
  </channel>
</rss>

