<?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: Date format format issue in Excel for different countries. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375379#M1642323</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;Its a strange requirement but still lookig for answers..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Tried the User Profile and it the file is being generated in the format the use has.  However &lt;/P&gt;&lt;P&gt;     if we open the excel file ( Right click and say format Cells----&amp;gt;In this case it shows GENERAL).....The user wants the cell&lt;/P&gt;&lt;P&gt;     always in the date format so that can have sort and other macros...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Reiterate................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) We have to generate the Files in the date format that the user profiel has and also the excel file should show the date cells in date format but not general....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Nov 2011 01:01:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-16T01:01:22Z</dc:date>
    <item>
      <title>Date format format issue in Excel for different countries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375374#M1642318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the code in Z report for Date Format before downloading the file onto UNIX format.&lt;/P&gt;&lt;P&gt;The file generated on the UNIX has the file extension  ".DAT".   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below code generates the Date Format into .... MM/DD/YYY  ..this is for country US.&lt;/P&gt;&lt;P&gt;The issue is for other countries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: lv_char     TYPE string,                 "Converted value for data file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF lx_fcat-inttype EQ 'D'.&lt;/P&gt;&lt;P&gt;          IF &amp;lt;lfs_value&amp;gt; IS INITIAL.&lt;/P&gt;&lt;P&gt;            CLEAR lv_char.&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          Convert date in user format&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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            = &amp;lt;lfs_value&amp;gt;&lt;/P&gt;&lt;P&gt;              IMPORTING&lt;/P&gt;&lt;P&gt;                date_external            = lv_char&lt;/P&gt;&lt;P&gt;              EXCEPTIONS&lt;/P&gt;&lt;P&gt;                date_internal_is_invalid = 0&lt;/P&gt;&lt;P&gt;                OTHERS                   = 0.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Failure Scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When users change their Settings for Date Format to different country.&lt;/P&gt;&lt;P&gt;In Windows this is done from Control Panel&lt;DEL&gt;&amp;gt; Regional &amp;amp; Langue&lt;/DEL&gt;-&amp;gt; Date Format (Example Germany).&lt;/P&gt;&lt;P&gt;Now when the users are running Z report and when the file is extracted onto UNIX (Example   FILE.DAT), the&lt;/P&gt;&lt;P&gt;dates are coming inconsistent.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Example:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 40087&lt;/P&gt;&lt;P&gt;10/18/2004&lt;/P&gt;&lt;P&gt;10/18/2004&lt;/P&gt;&lt;P&gt;10/18/2004&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 05:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375374#M1642318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-14T05:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date format format issue in Excel for different countries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375375#M1642319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check in SU01D , for that user id&lt;/P&gt;&lt;P&gt;in Defaults tab..whats the Date format setup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 05:57:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375375#M1642319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-14T05:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date format format issue in Excel for different countries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375376#M1642320</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 have issue in UNIX system or excel file. Please be clear on what is your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 09:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375376#M1642320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-14T09:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date format format issue in Excel for different countries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375377#M1642321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file is written on the Unix Folder with .DAT extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file is downloaded from UNIX in 2 ways:&lt;/P&gt;&lt;P&gt;1)The file is then downloaded onto PC using CG3Y.&lt;/P&gt;&lt;P&gt;2)The .DAT file is moved to sharepoint and downloadd from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 18:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375377#M1642321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-14T18:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date format format issue in Excel for different countries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375378#M1642322</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;As Manjunath mentioned, it should be because of the SAP user settings &amp;amp; not because of the windows settings. The conversion is happening in the function module &amp;amp; CG3Y simply transfers the binary data. Check the 'own data' date format  check menu system-&amp;gt; user profile-&amp;gt; own data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 09:39:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375378#M1642322</guid>
      <dc:creator>gokul_radhakrishnan3</dc:creator>
      <dc:date>2011-11-15T09:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date format format issue in Excel for different countries.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375379#M1642323</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;Its a strange requirement but still lookig for answers..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Tried the User Profile and it the file is being generated in the format the use has.  However &lt;/P&gt;&lt;P&gt;     if we open the excel file ( Right click and say format Cells----&amp;gt;In this case it shows GENERAL).....The user wants the cell&lt;/P&gt;&lt;P&gt;     always in the date format so that can have sort and other macros...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Reiterate................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) We have to generate the Files in the date format that the user profiel has and also the excel file should show the date cells in date format but not general....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 01:01:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-format-issue-in-excel-for-different-countries/m-p/8375379#M1642323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-16T01:01:22Z</dc:date>
    </item>
  </channel>
</rss>

