<?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 change the date format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186359#M758808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the function module CONVERSION_EXIT_SDATE_OUTPUT will work but &lt;/P&gt;&lt;P&gt;the input has to be 20070828. so what you can do it take the offset and convert the date in this format.. then you can use this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will give you the result you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prince&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2007 05:32:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-12T05:32:15Z</dc:date>
    <item>
      <title>function module to change the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186355#M758804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any function module to change the date format &lt;/P&gt;&lt;P&gt;from 08/28/2007(mm/dd/yyyy)&lt;/P&gt;&lt;P&gt;to August 28, 2007.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 05:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186355#M758804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T05:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: function module to change the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186356#M758805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try FM CONVERSION_EXIT_SDATE_OUTPUT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 05:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186356#M758805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T05:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: function module to change the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186357#M758806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamsi,&lt;/P&gt;&lt;P&gt;  Try this function module.&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_SDATE_OUTPUT&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_IDATE_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz Reward if useful,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 05:25:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186357#M758806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T05:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: function module to change the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186358#M758807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vamsi,&lt;/P&gt;&lt;P&gt;You can get good FM's regarding Date Time form :&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap4.com/contentid-130.html" target="test_blank"&gt;http://sap4.com/contentid-130.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin Bhatnagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 05:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186358#M758807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T05:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: function module to change the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186359#M758808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the function module CONVERSION_EXIT_SDATE_OUTPUT will work but &lt;/P&gt;&lt;P&gt;the input has to be 20070828. so what you can do it take the offset and convert the date in this format.. then you can use this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will give you the result you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prince&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 05:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186359#M758808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T05:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: function module to change the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186360#M758809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vamsi.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use  CONVERSION_EXIT_SDATE_OUTPUT to get the month name,&lt;/P&gt;&lt;P&gt;but it will give short form of the month name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want &amp;lt;b&amp;gt;long description of the month&amp;lt;/b&amp;gt;, &lt;/P&gt;&lt;P&gt;use this peice of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: V_DATUM(07) TYPE C. "(example input:12-2007)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:     V_MON(2)  TYPE C,&lt;/P&gt;&lt;P&gt;            V_YEAR(4)      TYPE  C,&lt;/P&gt;&lt;P&gt;            V_MONTHNAME(10) TYPE C,&lt;/P&gt;&lt;P&gt;            V_FULLDATE(30) type c.&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;WRITE  V_DATUM+0(2) TO V_MON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE LTX FROM T247 INTO V_MONTHNAME&lt;/P&gt;&lt;P&gt; WHERE        SPRAS = SY-LANGU&lt;/P&gt;&lt;P&gt;     AND       MNR  = V_MON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE  V_MONTHNAME  v_datum+3(4)&lt;/P&gt;&lt;P&gt;                  INTO V_FULLDATE  SEPARATED BY SPACE.  "(example output : December 2007)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  write: v_fulldate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;Reawrd points if useful&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 05:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186360#M758809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T05:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: function module to change the date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186361#M758810</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 the code as below : it works,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : date(10),&lt;/P&gt;&lt;P&gt;text1(26),&lt;/P&gt;&lt;P&gt;num1(10),&lt;/P&gt;&lt;P&gt;test_day(15),&lt;/P&gt;&lt;P&gt;o_date(20),&lt;/P&gt;&lt;P&gt;idate type sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : Day(2), month(2), Year(4).&lt;/P&gt;&lt;P&gt;data : ODay(2), Omonth(2), OYear(4).&lt;/P&gt;&lt;P&gt;data : Ltext Type T247-LTX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date = '08/28/2007'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;day = date+3(2).&lt;/P&gt;&lt;P&gt;month = date+0(2).&lt;/P&gt;&lt;P&gt;year = date+6(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate year month day into idate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_IN_GET_DATE_COMPONENTS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;idate = idate "use sy-datum directly here&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;DAY = oday&lt;/P&gt;&lt;P&gt;MONTH = omonth&lt;/P&gt;&lt;P&gt;YEAR = oyear&lt;/P&gt;&lt;P&gt;LTEXT = ltext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate ltext oday ',' oyear into o_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : O_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points, if helpful,&lt;/P&gt;&lt;P&gt;Sandeep Kaushik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 05:33:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-change-the-date-format/m-p/3186361#M758810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T05:33:11Z</dc:date>
    </item>
  </channel>
</rss>

