<?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: Data upload. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-upload/m-p/3904343#M936530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you are having a tab delimited file means each fields are seperated with tab.&lt;/P&gt;&lt;P&gt;the internal table in which you want to pass the file's data ,just pass that internal table to the function module ws_upload . The data will auto matically go into the corresponding fields.&lt;/P&gt;&lt;P&gt;Instead taking data into an internal table which is of character type.&lt;/P&gt;&lt;P&gt;Just declare the internal table structure with field sequence same as there in  your file.&lt;/P&gt;&lt;P&gt;If you follow this method you will reduce ur coding efforts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2008 08:23:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-06T08:23:16Z</dc:date>
    <item>
      <title>Data upload.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-upload/m-p/3904341#M936528</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;I have one tab delimited tab file in presentation server.&lt;/P&gt;&lt;P&gt;frist i was declared one internal table like this. &lt;/P&gt;&lt;P&gt; BEGIN OF IT_tab OCCURS 0,&lt;/P&gt;&lt;P&gt;        REC(256),&lt;/P&gt;&lt;P&gt;      END OF IT_tab.&lt;/P&gt;&lt;P&gt;now i upload this flat file data using ws_upload F.M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want split this data and send to new internal table according to fields.(total 14 fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one please give the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 05:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-upload/m-p/3904341#M936528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T05:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Data upload.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-upload/m-p/3904342#M936529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1/ loop at table.&lt;/P&gt;&lt;P&gt;2/ split the fields value and move to corresponding/appropriate fields of work area.&lt;/P&gt;&lt;P&gt;3/ Append it ti int, table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, you should know where to split/cut the values in int. table.Length of each field is the key factor for this.Also, take care of missing leading zeros and spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sonal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 06:47:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-upload/m-p/3904342#M936529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T06:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Data upload.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-upload/m-p/3904343#M936530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you are having a tab delimited file means each fields are seperated with tab.&lt;/P&gt;&lt;P&gt;the internal table in which you want to pass the file's data ,just pass that internal table to the function module ws_upload . The data will auto matically go into the corresponding fields.&lt;/P&gt;&lt;P&gt;Instead taking data into an internal table which is of character type.&lt;/P&gt;&lt;P&gt;Just declare the internal table structure with field sequence same as there in  your file.&lt;/P&gt;&lt;P&gt;If you follow this method you will reduce ur coding efforts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 08:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-upload/m-p/3904343#M936530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T08:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data upload.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-upload/m-p/3904344#M936531</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 can upload the tab delimited data using GUI_UPLOAD. where you have to pass 'X' has _any delimiter.&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;Otherwise you read each record into a string and then use the following syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT REC at ',' into wa_field1 wa_field2 wa_field3 .........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear for you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 08:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-upload/m-p/3904344#M936531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T08:42:17Z</dc:date>
    </item>
  </channel>
</rss>

