<?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 reverse the date in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260269#M778850</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;i want to reverse the date ex - 20080101 is the system date&lt;/P&gt;&lt;P&gt;                              reverse - 01012008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want only the function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jan 2008 09:10:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-01T09:10:53Z</dc:date>
    <item>
      <title>reverse the date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260269#M778850</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;i want to reverse the date ex - 20080101 is the system date&lt;/P&gt;&lt;P&gt;                              reverse - 01012008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want only the function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 09:10:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260269#M778850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-01T09:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: reverse the date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260270#M778851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try CONVERSION_EXIT_PDATE_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 09:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260270#M778851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-01T09:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: reverse the date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260271#M778852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONVERSION_EXIT_PDATE_OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Umakanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 09:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260271#M778852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-01T09:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: reverse the date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260272#M778853</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;ther are many options. but uthis case if u change the user master record.or select the date format in table usr01.&lt;/P&gt;&lt;P&gt;the hard coating is not at all god and it also have limitation .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this function module also helps u.&lt;/P&gt;&lt;P&gt;CONVERT_DATE_TO_EXTERNAL Converts date from system storage format to users specified display format&lt;/P&gt;&lt;P&gt;let me know if u are not able to get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward all help full answers&lt;/P&gt;&lt;P&gt;/: SET DATE MASK = 'date_mask'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the date mask, you can use the following codes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DD: day (two digits)&lt;/P&gt;&lt;P&gt;DDD: day name - abbreviated&lt;/P&gt;&lt;P&gt;DDDD: day name - written out in full&lt;/P&gt;&lt;P&gt;MM: month (two digits)&lt;/P&gt;&lt;P&gt;MMM: month name - abbreviated&lt;/P&gt;&lt;P&gt;MMMM: month name - written out in full&lt;/P&gt;&lt;P&gt;YY: year (two digits)&lt;/P&gt;&lt;P&gt;YYYY: year (four digits) &lt;/P&gt;&lt;P&gt;LD: day (formatted as for the L option)&lt;/P&gt;&lt;P&gt;LM: month (formatted as for the L option)&lt;/P&gt;&lt;P&gt;LY: year (formatted as for the L option)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming the current system date is March 1st, 1997. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: SET DATE MASK = 'Foster City, MM/DD/YY' &lt;/P&gt;&lt;P&gt;&amp;amp;DATE&amp;amp; -&amp;gt; Foster City, 03/01/97&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: SET DATE MASK = 'MMMM DD, YYYY' &lt;/P&gt;&lt;P&gt;&amp;amp;DATE&amp;amp; -&amp;gt; March 01, 1997&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date mask may be reset to the default setting by using an empty string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: SET DATE MASK = ' '&lt;/P&gt;&lt;P&gt;In most print programs there is a function module called as below.&lt;/P&gt;&lt;P&gt;By setting the export parameter PI_COUNTRY one can set the form to print all dates according to country without any further coding. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;PI_NAST = NAST&lt;/P&gt;&lt;P&gt;PI_COUNTRY = IS_DLV-LAND&lt;/P&gt;&lt;P&gt;PI_ADDR_KEY = IS_ADDR_KEY&lt;/P&gt;&lt;P&gt;PI_REPID = LF_REPID&lt;/P&gt;&lt;P&gt;PI_SCREEN = XSCREEN&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;PE_RETURNCODE = CF_RETCODE&lt;/P&gt;&lt;P&gt;PE_ITCPO = LS_ITCPO&lt;/P&gt;&lt;P&gt;PE_DEVICE = LF_DEVICE&lt;/P&gt;&lt;P&gt;PE_RECIPIENT = CS_RECIPIENT&lt;/P&gt;&lt;P&gt;PE_SENDER = CS_SENDER.&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;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 09:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260272#M778853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-01T09:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: reverse the date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260273#M778854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use following logic also....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move yyyy into one variable,mm in one variable and dd in one variable and concatenate as ddmmyyyy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 09:31:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260273#M778854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-01T09:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: reverse the date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260274#M778855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u r printing the system date in the report ..it gets reversed and printed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 12:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260274#M778855</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-01-01T12:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: reverse the date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260275#M778856</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;simply use the WRITE in the follow way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;DATA:   lv_input_date   TYPE d,&lt;/P&gt;&lt;P&gt;        lv_reverse      TYPE c LENGTH 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_input_date = '20080101'.&lt;/P&gt;&lt;P&gt;WRITE lv_input_date TO lv_reverse.&lt;/P&gt;&lt;P&gt;WRITE lv_reverse.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;lv_reserve contains: 01012008&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2008 14:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reverse-the-date/m-p/3260275#M778856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-01T14:24:06Z</dc:date>
    </item>
  </channel>
</rss>

