<?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: TEXT_CONVERT_XLS_TO_SAP wrong date format. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414648#M1548523</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;change date field as char10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;types: begin of  ty_test,&lt;/P&gt;&lt;P&gt;           a type c,&lt;/P&gt;&lt;P&gt;           b yupe c,&lt;/P&gt;&lt;P&gt;           c type char10,          " this is the field for date it ur internal table must be type d, change it to char10 it will be resolved&lt;/P&gt;&lt;P&gt;            End of ty_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SAP_CONVERT_TO_XLS_FORMAT'&lt;/P&gt;&lt;P&gt;.............&lt;/P&gt;&lt;P&gt;tables I_TAB_SAP_DATA = itab[] .&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should solve ur issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Oct 2010 06:03:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-15T06:03:03Z</dc:date>
    <item>
      <title>TEXT_CONVERT_XLS_TO_SAP wrong date format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414646#M1548521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all experts, pls help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my report i am using  FM "SAP_CONVERT_TO_XLS_FORMAT" to download the desired data in excel file which works correctly. but as per my requirement , we need to upload the same edited excel for batch updation. In this one of the date column in excel (BSAK-AUGDT) in excel value is '04/05/2005' but when i upload the excel Using "TEXT_CONVERT_XLS_TO_SAP" the date which is stored in Itab is in wrong format  i.e.  "05.05.0040". kindly resolve at the earliest &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 11:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414646#M1548521</guid>
      <dc:creator>former_member432660</dc:creator>
      <dc:date>2010-10-14T11:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT_CONVERT_XLS_TO_SAP wrong date format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414647#M1548522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mandar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be the date format in excel should be yyyymmdd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bala Duvvuri&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 04:32:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414647#M1548522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-15T04:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT_CONVERT_XLS_TO_SAP wrong date format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414648#M1548523</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;change date field as char10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;types: begin of  ty_test,&lt;/P&gt;&lt;P&gt;           a type c,&lt;/P&gt;&lt;P&gt;           b yupe c,&lt;/P&gt;&lt;P&gt;           c type char10,          " this is the field for date it ur internal table must be type d, change it to char10 it will be resolved&lt;/P&gt;&lt;P&gt;            End of ty_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SAP_CONVERT_TO_XLS_FORMAT'&lt;/P&gt;&lt;P&gt;.............&lt;/P&gt;&lt;P&gt;tables I_TAB_SAP_DATA = itab[] .&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should solve ur issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 06:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414648#M1548523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-15T06:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT_CONVERT_XLS_TO_SAP wrong date format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414649#M1548524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the values '04/05/2005' to '04.05.2005' in excel and upload. You can get correct value in internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 07:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414649#M1548524</guid>
      <dc:creator>former_member225631</dc:creator>
      <dc:date>2010-10-15T07:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT_CONVERT_XLS_TO_SAP wrong date format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414650#M1548525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finaly i got the solution for the above problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have upload the excel file to the internal table using TEXT_CONVERT_XLS_TO_SAP.  in the ITAB associated with this FM i took AUGDT (date field) as CHAR10. once I got the data in an internal table, I ve manually correct it using string offset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;loop at itab_upload into wa_upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_bsak-bukrs = wa_upload-bukrs .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    str = wa_upload-augdt. " date field in CHAR10 form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      concatenate str&lt;EM&gt;6(4) str&lt;/EM&gt;3(2) str+0(2) into test_date. " which give me YYYYMMDD&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;wa_bsak-augdt = test_date.  " Corrected Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_bsak-lifnr = wa_upload-lifnr.&lt;/P&gt;&lt;P&gt;      wa_bsak-name1 = wa_upload-name1.&lt;/P&gt;&lt;P&gt;      wa_bsak-augbl = wa_upload-augbl .&lt;/P&gt;&lt;P&gt;      wa_bsak-dmbtr = wa_upload-dmbtr.&lt;/P&gt;&lt;P&gt;      wa_bsak-monat = wa_upload-monat .&lt;/P&gt;&lt;P&gt;      wa_bsak-gjahr = wa_upload-gjahr.&lt;/P&gt;&lt;P&gt;      wa_bsak-belnr = wa_upload-belnr.&lt;/P&gt;&lt;P&gt;      wa_bsak-sgtxt = wa_upload-sgtxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      append wa_bsak to itab_bsak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to ALL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards:&lt;/P&gt;&lt;P&gt;Mandar G Kambli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mandar G. Kambli on Oct 20, 2010 12:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 10:20:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414650#M1548525</guid>
      <dc:creator>former_member432660</dc:creator>
      <dc:date>2010-10-20T10:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT_CONVERT_XLS_TO_SAP wrong date format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414651#M1548526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mandar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is not the right way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the FM &lt;STRONG&gt;TEXT_CONVERT_XLS_TO_SAP&lt;/STRONG&gt; takes the date format from the user profile T-Code SU3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the date format in user profile according to your excel sheet or vice-versa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 12:11:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414651#M1548526</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2010-10-20T12:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT_CONVERT_XLS_TO_SAP wrong date format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414652#M1548527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i ve tried it, i ve changed the date format from SU3 but it didnt solve the wrong date format  problem. ultimately i have to use the above method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 03:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414652#M1548527</guid>
      <dc:creator>former_member432660</dc:creator>
      <dc:date>2010-10-22T03:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT_CONVERT_XLS_TO_SAP wrong date format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414653#M1548528</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;If you got ur answer then close the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 07:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-convert-xls-to-sap-wrong-date-format/m-p/7414653#M1548528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-25T07:40:23Z</dc:date>
    </item>
  </channel>
</rss>

