<?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: Problem with the date conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486087#M1556812</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;Try using the statement 'WRITE date USING EDIT MASK mask'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Dec 2010 10:21:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-21T10:21:43Z</dc:date>
    <item>
      <title>Problem with the date conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486085#M1556810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am facing the problem with the date conversion,  Actuall my requirement is to pass the date to the screen based on the user setting roles(SU01).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have fetched the user setting date format by using the funciton module SUSR_GET_USER_DEFAULTS, The function module picks the exact user date setting (Like as MM/DD/YYYY, MM.DD.YYYY, DD.MM.YY).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that i have implemented the FORMAT_DATE_4_OUTPUT funciton module for converting of the user role setting date format into system  date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the english language case the funciton module FORMAT_DATE_4_OUTPUT works fine but the funciton module not supported for other languages&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide the Function Moudle for user setting date conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The funciton module is most important for us, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Charan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: date conversion questions = FAQ, please search before posting.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Dec 21, 2010 2:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 09:31:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486085#M1556810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-21T09:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the date conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486086#M1556811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried using WRITE TO SY-DATUM TO &amp;lt;CHAR10&amp;gt;.&lt;/P&gt;&lt;P&gt;Write will take care of the thing ..!&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 09:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486086#M1556811</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2010-12-21T09:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the date conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486087#M1556812</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;Try using the statement 'WRITE date USING EDIT MASK mask'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 10:21:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486087#M1556812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-21T10:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the date conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486088#M1556813</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 to the below link &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/DATE+VALIDATIONS" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/DATE+VALIDATIONS&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 10:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486088#M1556813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-21T10:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the date conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486089#M1556814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hope this logic helps you.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA LF_DATE    TYPE DATS VALUE '21122010'. " 21-dec-2010
DATA LF_DATE_BI(10).

WRITE LF_DATE TO LF_DATE_BI.  "Now LF_DATE_BI contains the date in user format

"Now populate the value LF_DATE_BI to the screen field&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 12:11:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-the-date-conversion/m-p/7486089#M1556814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-21T12:11:23Z</dc:date>
    </item>
  </channel>
</rss>

