<?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: CSV file Format Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404280#M1241295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try it with SAP_CONVERT_TO_TEX_FORMAT and works well&lt;/P&gt;&lt;P&gt;constants:C_FIELD_SEPARATOR  type c value '|'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_FIELD_SEPERATOR    = C_FIELD_SEPARATOR&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_LINE_HEADER        = I_LINE_HEADER&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_FILENAME           = I_FILENAME&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      I_TAB_SAP_DATA       = itab&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      I_TAB_CONVERTED_DATA = itab1&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      CONVERSION_FAILED    = 1.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2009 09:36:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-01T09:36:02Z</dc:date>
    <item>
      <title>CSV file Format Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404277#M1241292</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;I'm down loading text file data to CSV format,it's downloading to CSV As each field is not separating the output is comming like:&lt;/P&gt;&lt;P&gt;01;OPA01/2009;063840045;P;20090122;1;2009;2000.00;AV00612/ADVANCE;;4000145004501/20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the CSV file has to be : &lt;/P&gt;&lt;P&gt;01    |    PA01/2009 | 063840045  | P | 2009122  |.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the logic is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_field_seperator    = '|'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      i_tab_sap_data       = itab&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      i_tab_converted_data = itab1&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      conversion_failed    = 1&lt;/P&gt;&lt;P&gt;      OTHERS               = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc  NE 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help one this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srii...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 07:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404277#M1241292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-01T07:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Format Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404278#M1241293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 08:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404278#M1241293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-01T08:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Format Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404279#M1241294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Please try here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s.&lt;/P&gt;&lt;P&gt;Because SAP_CONVERT_TO_CSV_FORMAT uses a fixed value for the separator[;].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 08:42:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404279#M1241294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-01T08:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Format Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404280#M1241295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try it with SAP_CONVERT_TO_TEX_FORMAT and works well&lt;/P&gt;&lt;P&gt;constants:C_FIELD_SEPARATOR  type c value '|'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_FIELD_SEPERATOR    = C_FIELD_SEPARATOR&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_LINE_HEADER        = I_LINE_HEADER&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_FILENAME           = I_FILENAME&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      I_TAB_SAP_DATA       = itab&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      I_TAB_CONVERTED_DATA = itab1&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      CONVERSION_FAILED    = 1.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 09:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404280#M1241295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-01T09:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Format Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404281#M1241296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank q very much for ur help and I'll award points  ...now its downloading fine..&lt;/P&gt;&lt;P&gt;But wn this downloaded CSV file i want to upload.&lt;/P&gt;&lt;P&gt;this CSV file is not clearly seperated according to coloumns ..&lt;/P&gt;&lt;P&gt;Like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the CSV file now downloading format is:&lt;/P&gt;&lt;P&gt; A  B    C            D        E&lt;/P&gt;&lt;P&gt;01  |  OPA01/2009  |  063840045  | &lt;/P&gt;&lt;P&gt;02  |  OPA01/2009  |  073840046  |&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only will upload when we can see to CSV file :   A    |         B            |        C          |&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01   |   OPA01/2009  |  063840045  | &lt;/P&gt;&lt;P&gt;02   |   OPA01/2009  |  073840046  |&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggest me on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;Srii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sridhar reddy on Apr 2, 2009 5:06 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sridhar reddy on Apr 2, 2009 5:07 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sridhar reddy on Apr 2, 2009 5:08 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sridhar reddy on Apr 2, 2009 5:41 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 02:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404281#M1241296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T02:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Format Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404282#M1241297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any suggestion please..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 06:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404282#M1241297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T06:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Format Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404283#M1241298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No replays getting so leave this I'll try to post new one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 09:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404283#M1241298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T09:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Format Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404284#M1241299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreedhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your issue with header data??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so just when ayou are passing the header details just make sure that they are  seperated by '|' and append them to INTERNAL table and pass to the download details....this will solve your problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: saslove sap on Apr 2, 2009 11:11 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 09:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404284#M1241299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-02T09:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Format Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404285#M1241300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this is master data.. but y this CSV file downloading with ';' .&lt;/P&gt;&lt;P&gt;help me on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 02:32:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404285#M1241300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T02:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: CSV file Format Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404286#M1241301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 03:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file-format-error/m-p/5404286#M1241301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-25T03:13:57Z</dc:date>
    </item>
  </channel>
</rss>

