<?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: Upload file separated by commas in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-file-separated-by-commas/m-p/2283766#M497425</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;&lt;/P&gt;&lt;P&gt;Take a variable of length some 1000 characters,in a internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then take another internal table of all the fields required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then looping the first internal table, split the table whereever ther is a comma,&lt;/P&gt;&lt;P&gt;in to second Itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solves the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the second table contains all the fileds with values and u can use it for further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[or]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can do like this also...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;line(1000),&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;i assume that you upload the data to one itab ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;it_bdc-field1 = itab-line+0(10).&lt;/P&gt;&lt;P&gt;it_bdc-field2 = itab-line+10(15).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dependingon ur field lengths.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;append it_bdc.&lt;/P&gt;&lt;P&gt;clear it_bdc.&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;Cheers,&lt;/P&gt;&lt;P&gt;SImha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2007 04:48:08 GMT</pubDate>
    <dc:creator>Simha_</dc:creator>
    <dc:date>2007-05-23T04:48:08Z</dc:date>
    <item>
      <title>Upload file separated by commas</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-file-separated-by-commas/m-p/2283765#M497424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to uplaod a file separated by commas in BDC using GUI_UPLOAD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-file-separated-by-commas/m-p/2283765#M497424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file separated by commas</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-file-separated-by-commas/m-p/2283766#M497425</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;&lt;/P&gt;&lt;P&gt;Take a variable of length some 1000 characters,in a internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then take another internal table of all the fields required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then looping the first internal table, split the table whereever ther is a comma,&lt;/P&gt;&lt;P&gt;in to second Itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It solves the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the second table contains all the fileds with values and u can use it for further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[or]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can do like this also...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;line(1000),&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;i assume that you upload the data to one itab ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;it_bdc-field1 = itab-line+0(10).&lt;/P&gt;&lt;P&gt;it_bdc-field2 = itab-line+10(15).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dependingon ur field lengths.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;append it_bdc.&lt;/P&gt;&lt;P&gt;clear it_bdc.&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;Cheers,&lt;/P&gt;&lt;P&gt;SImha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-file-separated-by-commas/m-p/2283766#M497425</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-05-23T04:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file separated by commas</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-file-separated-by-commas/m-p/2283767#M497426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use split at ',' into itab-line1, itab-line2 etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 05:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-file-separated-by-commas/m-p/2283767#M497426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T05:32:03Z</dc:date>
    </item>
  </channel>
</rss>

