<?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: HOW TO SPLIT THE STRING INTO FIELDS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831656#M354400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;say u have 10 fields...as it is CSV file and u have uploaded using GUI_UPLOAD, there is an option HAS_SEPERATOR which u need to put as 'X' and all fields get into internal table .... or else use Split file into &amp;lt;field1&amp;gt;.......&amp;lt;field10&amp;gt; at ','.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jan 2007 11:23:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-22T11:23:08Z</dc:date>
    <item>
      <title>HOW TO SPLIT THE STRING INTO FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831652#M354396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI EXPERTS,&lt;/P&gt;&lt;P&gt;                 I AM SASIDHAR, WORKING ON BW SERVER.&lt;/P&gt;&lt;P&gt;                 I HAD UPLOADED CSV FORMAT FLATFILE INTO INTERNAL TABLE IN STRING FORMAT. NOW I HAVE TO SPLIT THIS STRING AND ALSO NEED TO CONVERT INTO NUMERIC TYPE, BUT I DON'T KNOW NUMBER OF FIELDS AND LENGTH OF FIELD. PLEASE ANY ONE SEND THE SAMPLE CODING FOR THIS SCENARIO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 10:46:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831652#M354396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T10:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO SPLIT THE STRING INTO FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831653#M354397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;since its CSV, the field delimiter will be comma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split &amp;lt;record&amp;gt; at ',' into &amp;lt;field1&amp;gt; field2&amp;gt; , etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 11:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831653#M354397</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-01-22T11:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO SPLIT THE STRING INTO FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831654#M354398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your input file is a CSV file and if you are uploading from local machine then you might be using GUI_UPLOAD function module wherein you can set FIELD_SEPERATOR as X. this enables you to get all the detail to the different fields in the internal table. &lt;/P&gt;&lt;P&gt;if you are uploading from server , you might be using OPEN DATA SET, then you should use the seperator (,) and use SPLIT or make you of offset position of the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 11:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831654#M354398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T11:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO SPLIT THE STRING INTO FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831655#M354399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  loop at it_file into wa_file.
   refresh it_split.
   split wa_file-&amp;lt;field&amp;gt; at ',' into table it_split.
   .....
  endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it_split will contain each of the fields in a record in the CSV file as a separate record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 11:21:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831655#M354399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T11:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO SPLIT THE STRING INTO FIELDS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831656#M354400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;say u have 10 fields...as it is CSV file and u have uploaded using GUI_UPLOAD, there is an option HAS_SEPERATOR which u need to put as 'X' and all fields get into internal table .... or else use Split file into &amp;lt;field1&amp;gt;.......&amp;lt;field10&amp;gt; at ','.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 11:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-split-the-string-into-fields/m-p/1831656#M354400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T11:23:08Z</dc:date>
    </item>
  </channel>
</rss>

