<?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: Regarding Function module: function module change numeric to text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-function-module-change-numeric-to-text/m-p/3138403#M745785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if there is a FM that will directly change Your date to the right format but You can write simple code to do this:&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;DATA: lv_subrc LIKE sy-subrc,
      lt_month TYPE TABLE OF t247,
      ls_month TYPE t247,
      lv_odate TYPE string,
      lv_ndate TYPE string,
      lv_char1 TYPE char1.


lv_odate = '11/12/2007'.

CALL FUNCTION 'MONTH_NAMES_GET'
  EXPORTING
    language              = sy-langu
  IMPORTING
    return_code           = lv_subrc
  TABLES
    month_names           = lt_month
  EXCEPTIONS
    month_names_not_found = 1
    OTHERS                = 2.
IF sy-subrc = 0.
  LOOP AT lt_month INTO ls_month WHERE mnr = lv_odate+3(2).
    CONCATENATE lv_odate(2) ls_month-ltx lv_odate+6(4) INTO lv_ndate SEPARATED BY lv_char1.
  ENDLOOP.
ELSE.
* 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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2007 08:53:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-11T08:53:35Z</dc:date>
    <item>
      <title>Regarding Function module: function module change numeric to text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-function-module-change-numeric-to-text/m-p/3138402#M745784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;can any help me what is the function module used for : function module change numeric to text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose:&lt;/P&gt;&lt;P&gt;if i give :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input: 11/12/2007&lt;/P&gt;&lt;P&gt;Output: 11 December 2007&lt;/P&gt;&lt;P&gt;What is the FM used for same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 07:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-function-module-change-numeric-to-text/m-p/3138402#M745784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T07:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Function module: function module change numeric to text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-function-module-change-numeric-to-text/m-p/3138403#M745785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if there is a FM that will directly change Your date to the right format but You can write simple code to do this:&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;DATA: lv_subrc LIKE sy-subrc,
      lt_month TYPE TABLE OF t247,
      ls_month TYPE t247,
      lv_odate TYPE string,
      lv_ndate TYPE string,
      lv_char1 TYPE char1.


lv_odate = '11/12/2007'.

CALL FUNCTION 'MONTH_NAMES_GET'
  EXPORTING
    language              = sy-langu
  IMPORTING
    return_code           = lv_subrc
  TABLES
    month_names           = lt_month
  EXCEPTIONS
    month_names_not_found = 1
    OTHERS                = 2.
IF sy-subrc = 0.
  LOOP AT lt_month INTO ls_month WHERE mnr = lv_odate+3(2).
    CONCATENATE lv_odate(2) ls_month-ltx lv_odate+6(4) INTO lv_ndate SEPARATED BY lv_char1.
  ENDLOOP.
ELSE.
* 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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 08:53:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-function-module-change-numeric-to-text/m-p/3138403#M745785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T08:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Function module: function module change numeric to text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-function-module-change-numeric-to-text/m-p/3138404#M745786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi can u tell me is there any standard function module for this problem ,&lt;/P&gt;&lt;P&gt;plz help me .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 09:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-function-module-change-numeric-to-text/m-p/3138404#M745786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T09:11:28Z</dc:date>
    </item>
  </channel>
</rss>

