<?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 Problem with date format using TEXT_CONVERT_XLS_TO_SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-format-using-text-convert-xls-to-sap/m-p/6739023#M1458357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using fm TEXT_CONVERT_XLS_TO_SAP to upload an xls file.&lt;/P&gt;&lt;P&gt;I've the following problem the date in the spreadsheet is 01.01.2010 the result in the internal table after using the fm is 01.jan.2010. What must i do to get 01.01.2010 in the internal table?&lt;/P&gt;&lt;P&gt;My setting in sap for the date format is DD.MM.YYYY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Mar 2010 19:41:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-04T19:41:56Z</dc:date>
    <item>
      <title>Problem with date format using TEXT_CONVERT_XLS_TO_SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-format-using-text-convert-xls-to-sap/m-p/6739023#M1458357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using fm TEXT_CONVERT_XLS_TO_SAP to upload an xls file.&lt;/P&gt;&lt;P&gt;I've the following problem the date in the spreadsheet is 01.01.2010 the result in the internal table after using the fm is 01.jan.2010. What must i do to get 01.01.2010 in the internal table?&lt;/P&gt;&lt;P&gt;My setting in sap for the date format is DD.MM.YYYY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 19:41:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-format-using-text-convert-xls-to-sap/m-p/6739023#M1458357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-04T19:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with date format using TEXT_CONVERT_XLS_TO_SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-format-using-text-convert-xls-to-sap/m-p/6739024#M1458358</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;What is type and size of your internal table field? Covert your excel column to text field. Now it is of type date i hope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best option is, always have the value in excel in YYYYMMDD (SAP standard format) and internal table field as of type sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After uploading use WRITE TO statement to a character variable to convert the date as per user settings. Your current logic may not work if the date setting is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 20:28:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-format-using-text-convert-xls-to-sap/m-p/6739024#M1458358</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-03-04T20:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with date format using TEXT_CONVERT_XLS_TO_SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-format-using-text-convert-xls-to-sap/m-p/6739025#M1458359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just found the solution. When an xls is uploaded into sap the function module uses the windows settings of your pc.&lt;/P&gt;&lt;P&gt;My short date format in windows were dd.MMM.yyyy.  I've changed them to dd.mm.yyyy and now the date is correct in sap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 07:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-date-format-using-text-convert-xls-to-sap/m-p/6739025#M1458359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-05T07:46:03Z</dc:date>
    </item>
  </channel>
</rss>

