<?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: Delimiter problem while uploading using CSV format(Very Urgent) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115794#M107359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine with the FM but if the total length of the text of a field is morethan 32 then it is truncated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, any other solution for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2006 14:57:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-05T14:57:51Z</dc:date>
    <item>
      <title>Delimiter problem while uploading using CSV format(Very Urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115791#M107356</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;&lt;/P&gt;&lt;P&gt;Actually while i upload the file using CSV Format , a field contains a text with comma.  If i use split to delimit the comma then the fields are getting wrongly. &lt;/P&gt;&lt;P&gt;Please see the example given by me below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12,189,pjswami,"this is a long , statement,12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above data contains 5 fields but the 4th field has text with comma. so the field datas are misplaced like the one given below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;189&lt;/P&gt;&lt;P&gt;pjswami&lt;/P&gt;&lt;P&gt;"this is a long&lt;/P&gt;&lt;P&gt;statement,12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out as this is very very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to get response immediately&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 14:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115791#M107356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T14:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Delimiter problem while uploading using CSV format(Very Urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115792#M107357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you have two choices,  you can either make sure that there are no commas in the text field before running the program, or you need to change the delimiter to something else.  Personally, when doing this kind of thing, I tell the user, that there must not be any commas in the text fields.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 14:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115792#M107357</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-01-05T14:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Delimiter problem while uploading using CSV format(Very Urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115793#M107358</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 need to use offset to achieve the proper results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM  KCD_CSV_FILE_TO_INTERN_CONVERT.&lt;/P&gt;&lt;P&gt;and check ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 14:46:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115793#M107358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T14:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Delimiter problem while uploading using CSV format(Very Urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115794#M107359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine with the FM but if the total length of the text of a field is morethan 32 then it is truncated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, any other solution for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 14:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115794#M107359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T14:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Delimiter problem while uploading using CSV format(Very Urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115795#M107360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;    call function 'KCD_CSV_FILE_TO_INTERN_CONVERT'
         exporting
              i_filename      = 'C:test.csv'
              i_separator     = ','
         tables
              e_intern        = itab
         exceptions
              upload_csv      = 1
              upload_filetype = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is how you are calling ,&lt;/P&gt;&lt;P&gt;then check lengths of fields are you giving correctly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another possible solutions is &lt;/P&gt;&lt;P&gt;offset---&amp;gt;you need to take big char variable and condense it and offset accroding to the field length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vijay Babu Dudla&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 15:07:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115795#M107360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T15:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Delimiter problem while uploading using CSV format(Very Urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115796#M107361</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 you said the requirement is quite urgent,&lt;/P&gt;&lt;P&gt;you can do this i think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Copy the function module into z_function module and change it as required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      E_INTERN TYPE  KCDE_INTERN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of KCDE_INTERN, &lt;/P&gt;&lt;P&gt;create a ztable with the same fields and change the data type of the field VALUE from char to what ever you need (say char132). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      E_INTERN TYPE  ztable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 15:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delimiter-problem-while-uploading-using-csv-format-very-urgent/m-p/1115796#M107361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T15:07:24Z</dc:date>
    </item>
  </channel>
</rss>

