<?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: Convert date as per specified format? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808031#M1780852</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MSR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below useful code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : date_out type char10.&lt;/P&gt;&lt;P&gt;write date_in to date_out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Sep 2013 04:30:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-09-27T04:30:32Z</dc:date>
    <item>
      <title>Convert date as per specified format?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808026#M1780847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we have any function, wherein the import params are &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) DATE_IN, (Example: MM/DD/YYYY )&lt;/P&gt;&lt;P&gt;2) DATE_FORMAT_IN,&amp;nbsp; (Example: 2)&lt;/P&gt;&lt;P&gt;3) DATE_FORMAT_OUT,&amp;nbsp; (Example:1 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the Export params are,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) DATE_OUT (Example: DD.MM.YYYY)&lt;/P&gt;&lt;P&gt;2) DATE_AS_PER_INTERNAL_FORMATE (Example: YYYYMMDD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we don't have any straight forward single function. 2 step process also fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched in SE37 by using wild cards like, *DATE*CONVERT* and *DATE*FORMAT*, but no success&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 03:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808026#M1780847</guid>
      <dc:creator>former_member202077</dc:creator>
      <dc:date>2013-09-27T03:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date as per specified format?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808027#M1780848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a list of FM's related to date calculation:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://wiki.scn.sap.com/wiki/display/ABAP/Function+Module+related+on+Date+calculations"&gt;http://wiki.scn.sap.com/wiki/display/ABAP/Function+Module+related+on+Date+calculations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1 class="pagetitle with-breadcrumbs" id="title-heading" style="font-weight: normal; color: #333333; background-color: #ffffff;"&gt;&lt;SPAN class="with-breadcrumbs" id="title-text" style="font-size: 10pt;"&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/Snippets/FUNCTION+MODULE+FOR+CONVERTING+DATE+INTO+THE+GIVEN+FORMAT" style="color: #333333; border-bottom-color: #333333;"&gt;FUNCTION MODULE FOR CONVERTING DATE INTO THE GIVEN FORMAT&lt;/A&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/Snippets/FUNCTION+MODULE+FOR+CONVERTING+DATE+INTO+THE+GIVEN+FORMAT"&gt;http://wiki.scn.sap.com/wiki/display/Snippets/FUNCTION+MODULE+FOR+CONVERTING+DATE+INTO+THE+GIVEN+FORMAT&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 03:29:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808027#M1780848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-27T03:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date as per specified format?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808028#M1780849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MSR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP'; color: blue;"&gt;* Using the WRITE statement&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP'; color: blue;"&gt;***************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp; data: gd_date(10).&amp;nbsp; "field to store output date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP'; color: blue;"&gt;* Converts SAP date from 20020901 to 01.09.2002&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp; write sy-datum to gd_date dd/mm/yyyy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP'; color: blue;"&gt;* Converts SAP date from 20020901 to 01.09.02&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp; write sy-datum to gd_date dd/mm/yy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP'; color: blue;"&gt;* Using data manipulation techniques&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP'; color: blue;"&gt;************************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp; data: gd_date(8).&amp;nbsp; "field to store output date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP'; color: blue;"&gt;* Converts SAP date from 20010901 to 01092001&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp; gd_date(2) = sy-datum+6(2).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp; gd_date+2(2) = sy-datum+4(2).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp; gd_date+4(4) = sy-datum(4).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP'; color: blue;"&gt;* Using Function modules&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP'; color: blue;"&gt;************************&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp; data: gd_date(8).&amp;nbsp; "field to store output date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP'; color: blue;"&gt;* Converts date from 20010901 to 01SEP2001&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp; gd_date = sy-datum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp; CALL FUNCTION 'CONVERSION_EXIT_IDATE_OUTPUT'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gd_date&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial monospaced for SAP';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUTPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gd_date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 03:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808028#M1780849</guid>
      <dc:creator>former_member209120</dc:creator>
      <dc:date>2013-09-27T03:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date as per specified format?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808029#M1780850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear MSR,&lt;/P&gt;&lt;P&gt;One small concept you need to learn. Rest of all Example you can do by yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let my LV_date is type dats(Char8). And input is coming like yyyymmdd.&lt;/P&gt;&lt;P&gt;Now make a lv_date_new type string which will keep modified date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_year type char4.&lt;/P&gt;&lt;P&gt;lv_month type char2.&lt;/P&gt;&lt;P&gt;lv_day type char2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_day = lv_date+6(2).&lt;/P&gt;&lt;P&gt;In the statement we are fetching data from lv_date start with 6th character and next 2 character.means we will start from M to DD.&amp;nbsp; so now lv_day will carry DD. so now you can fetch month lv_date+4(2) and year lv_date+0(4) with same concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now concatenate your all data day month year separated by&lt;STRONG&gt; . &lt;/STRONG&gt;or&lt;STRONG&gt; / &lt;/STRONG&gt;or&lt;STRONG&gt; -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;ChanS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 03:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808029#M1780850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-27T03:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date as per specified format?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808030#M1780851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MSR,&lt;/P&gt;&lt;P&gt;We can output the date in our own requirement .Here to go,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;DATA&lt;SPAN class="L0S55"&gt;:&amp;nbsp; &lt;/SPAN&gt;a&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;8&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;b&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;10&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; a &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum or p_date&lt;SPAN class="L0S55"&gt;.-------------- or ur input parameter (p_date)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONCATENATE &lt;/SPAN&gt;a+6&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'/' &lt;/SPAN&gt;a+4&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'/' &lt;/SPAN&gt;a+0&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;4&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;b&lt;SPAN class="L0S55"&gt;. ----_DD/MM/YYYY&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp; CONCATENATE &lt;/SPAN&gt;a+6&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'.' &lt;/SPAN&gt;a+4&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'.' &lt;/SPAN&gt;a+0&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;4&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;b.-------------DD.MM.YYYYY&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt; CONCATENATE &lt;/SPAN&gt;a+6&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'-' &lt;/SPAN&gt;a+4&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'-' &lt;/SPAN&gt;a+0&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;4&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp; -----------DD-MM-YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 03:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808030#M1780851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-27T03:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date as per specified format?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808031#M1780852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MSR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below useful code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : date_out type char10.&lt;/P&gt;&lt;P&gt;write date_in to date_out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 04:30:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808031#M1780852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-27T04:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date as per specified format?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808032#M1780853</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 FM 'HR_IN_GET_DATE_COMPONENTS' and concatenate as per the requirement, use any separator&amp;nbsp; ( . -&amp;nbsp; /) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;CALL FUNCTION 'HR_IN_GET_DATE_COMPONENTS'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;idate = date "use sy-datum directly here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;IMPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;DAY = dd "day&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;MONTH =&amp;nbsp; mm " month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;YEAR = yy" year.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: terminal,monaco;"&gt;CONCATENATE dd mm yy &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;txt &lt;SPAN class="L0S52"&gt;SEPARATED &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;BY &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'-'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN class="L0S55"&gt;Jeffin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 04:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808032#M1780853</guid>
      <dc:creator>former_member220538</dc:creator>
      <dc:date>2013-09-27T04:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date as per specified format?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808033#M1780854</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;Goto a report program press on pattern button type string like given below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/287145" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take your desired format you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alenlee MJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 04:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808033#M1780854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-27T04:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date as per specified format?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808034#M1780855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Pleas try this FM. All you need to know is the diffeent formats of date. You can program it accordingly.&lt;/P&gt;&lt;P&gt;Links for different formats use the link provided by Maju.&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/Snippets/FUNCTION+MODULE+FOR+CONVERTING+DATE+INTO+THE+GIVEN+FORMAT"&gt;http://wiki.scn.sap.com/wiki/display/Snippets/FUNCTION+MODULE+FOR+CONVERTING+DATE+INTO+THE+GIVEN+FORMAT&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;PARAMETERS l_dat &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;NLEI&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;IBGDT&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;data &lt;/SPAN&gt;l_str &lt;SPAN class="L0S52"&gt;Type &lt;/SPAN&gt;RN1DATUM&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;DATEX&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;function &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'FORMAT_DATE_4_OUTPUT'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;exporting&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; datin&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;l_dat&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;format &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'YYYYMMDD'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;importing&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; datex&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;l_str&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;WRITE &lt;/SPAN&gt;l_str&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 05:04:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808034#M1780855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-27T05:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Convert date as per specified format?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808035#M1780856</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;Refer the link&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/Snippets/FUNCTION+MODULE+FOR+CONVERTING+DATE+INTO+THE+GIVEN+FORMAT"&gt;http://wiki.scn.sap.com/wiki/display/Snippets/FUNCTION+MODULE+FOR+CONVERTING+DATE+INTO+THE+GIVEN+FORMAT&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 05:13:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-date-as-per-specified-format/m-p/9808035#M1780856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-27T05:13:44Z</dc:date>
    </item>
  </channel>
</rss>

