<?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: Split the data into dynamic work area or internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387180#M530488</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 can use the command SPLIT which does this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: str1 TYPE string, &lt;/P&gt;&lt;P&gt;      str2 TYPE string, &lt;/P&gt;&lt;P&gt;      str3 TYPE string, &lt;/P&gt;&lt;P&gt;      itab TYPE TABLE OF string, &lt;/P&gt;&lt;P&gt;      text TYPE string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text = `What#a#drag#it#is#getting#old`. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT text AT '#' INTO TABLE itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2007 12:03:11 GMT</pubDate>
    <dc:creator>seshatalpasai_madala</dc:creator>
    <dc:date>2007-06-13T12:03:11Z</dc:date>
    <item>
      <title>Split the data into dynamic work area or internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387179#M530487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to fill the dynamic internal table from string. &lt;/P&gt;&lt;P&gt;String contains continues data fields are separated by '#'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I need to split the string at '#' into dynamic work area fields.  Can any body please help me at this point. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Pedda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 12:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387179#M530487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T12:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Split the data into dynamic work area or internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387180#M530488</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 can use the command SPLIT which does this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: str1 TYPE string, &lt;/P&gt;&lt;P&gt;      str2 TYPE string, &lt;/P&gt;&lt;P&gt;      str3 TYPE string, &lt;/P&gt;&lt;P&gt;      itab TYPE TABLE OF string, &lt;/P&gt;&lt;P&gt;      text TYPE string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text = `What#a#drag#it#is#getting#old`. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT text AT '#' INTO TABLE itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 12:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387180#M530488</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-06-13T12:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Split the data into dynamic work area or internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387181#M530489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the split statement...&lt;/P&gt;&lt;P&gt;SPLIT &amp;lt;c&amp;gt; AT &amp;lt;delimiter&amp;gt; INTO &amp;lt;c1&amp;gt; ... &amp;lt;cn&amp;gt;.&lt;/P&gt;&lt;P&gt; this should do it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 12:05:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387181#M530489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T12:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Split the data into dynamic work area or internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387182#M530490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of itab occurs 0,
           line(15),
end of itab.

split string at '#' into table itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 12:05:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387182#M530490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T12:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Split the data into dynamic work area or internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387183#M530491</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;use SPLIT command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 12:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387183#M530491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T12:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Split the data into dynamic work area or internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387184#M530492</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;Use &amp;lt;b&amp;gt;SPLIT &amp;lt;c&amp;gt; AT '#' INTO TABLE &amp;lt;itab&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 12:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387184#M530492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T12:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Split the data into dynamic work area or internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387185#M530493</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 split a string into the individual lines of an internal table as follows:&lt;/P&gt;&lt;P&gt;SPLIT &amp;lt;c&amp;gt; AT &amp;lt;del&amp;gt; INTO TABLE &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;The system adds a new line to the internal table &amp;lt;itab&amp;gt; for each part of the string.&lt;/P&gt;&lt;P&gt;If all target fields are long enough and no fragment has to be truncated, SY-SUBRC is set to 0.&lt;/P&gt;&lt;P&gt;Otherwise it is set to 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;          txt(30) type c,&lt;/P&gt;&lt;P&gt;          end of itab.&lt;/P&gt;&lt;P&gt;Data : string(30) type c value 'abc#def#ghi'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT string AT '#' INTO TABLE itab.&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;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 12:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387185#M530493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T12:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Split the data into dynamic work area or internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387186#M530494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the solution. Thanks for all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 12:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387186#M530494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T12:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Split the data into dynamic work area or internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387187#M530495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you fix it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program, I opened the dataset succesfully.Then I want to use split .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is split data as '# ' into iT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it does not work.'#' are keep into the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you fix your problem ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 02:52:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-the-data-into-dynamic-work-area-or-internal-table/m-p/2387187#M530495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-28T02:52:33Z</dc:date>
    </item>
  </channel>
</rss>

