<?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: change date format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954311#M696815</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 the both these function modules &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;convert_date_to_internal, and after that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_LDATE_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2007 06:29:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-12T06:29:35Z</dc:date>
    <item>
      <title>change date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954307#M696811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please some one help me to come out of this situation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the o/p of the script i have the date format as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date format in (12.10.2007) .&lt;/P&gt;&lt;P&gt;I want the date format should be (Friday,12 October 2007).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please some one tell me its very urgent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954307#M696811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T06:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: change date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954308#M696812</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 use Edit Mask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this FM also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;DATE_INTERNAL = SY-DATUM &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;DATE_EXTERNAL = W_DATUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You Can use this FM also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA V_MONTH(11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_LDATE_OUTPUT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUT = SY-DATUM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTPUT = V_MONTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ 'CURRENT MONTH IN WORDS:', V_MONTH+3(8).&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:05:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954308#M696812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T06:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: change date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954309#M696813</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 the fun module&lt;/P&gt;&lt;P&gt;DATE_TO_DAY to get the description of the DAY for that date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the fun Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDWT_READ_MONTH_TEXT to get the MONTH Text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:12:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954309#M696813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T06:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: change date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954310#M696814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the function module to get the day for the given date: DATE_TO_DAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Fm to get the month name: MONTH_NAMES_GET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After getting the above values concatenate the values. If you have any queries please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954310#M696814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T06:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: change date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954311#M696815</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 the both these function modules &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;convert_date_to_internal, and after that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_LDATE_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954311#M696815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T06:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: change date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954312#M696816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niladri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this Fm "CONVERSION_EXIT_LDATE_OUTPUT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the Input Date format should be "20071010" and the output will be "10.October2007"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the function module to get the day for the given date: DATE_TO_DAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 06:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954312#M696816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T06:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: change date format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954313#M696817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niladri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have given u the code.Its working fine as u required.Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  YSP_TEST_PROGRAM_DATE LINE-SIZE 350.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TABLES : T247.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : V_DATE LIKE SY-DATUM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_DATE_FULL(09),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_MONTH(25),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_DAY(10),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_FINAL(45).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_DATE = SY-DATUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_IDATE_OUTPUT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          INPUT  = V_DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          OUTPUT = V_DATE_FULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE LTX FROM T247 INTO V_MONTH WHERE KTX EQ V_DATE_FULL+2(3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND SPRAS = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF V_DATE_FULL&lt;EM&gt;0(2) = '01' OR V_DATE_FULL&lt;/EM&gt;0(2) = '31'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE V_DATE_FULL+0(2) 'ST' INTO V_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF V_DATE_FULL&lt;EM&gt;0(2) = '02' OR V_DATE_FULL&lt;/EM&gt;0(2) = '22'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE V_DATE_FULL+0(2) 'ND' INTO V_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF V_DATE_FULL&lt;EM&gt;0(2) = '03' OR V_DATE_FULL&lt;/EM&gt;0(2) = '23'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE V_DATE_FULL+0(2) 'RD' INTO V_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE V_DATE_FULL+0(2) ' ' INTO V_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DATE_TO_DAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      date          = sy-datum&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     WEEKDAY       =  V_DAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE  V_DAY ','  V_FINAL V_MONTH INTO V_FINAL SEPARATED BY SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE V_FINAL V_DATE_FULL+5(4) INTO V_FINAL SEPARATED BY SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE : / V_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt; Shanmugapriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 07:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-date-format/m-p/2954313#M696817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T07:22:17Z</dc:date>
    </item>
  </channel>
</rss>

