<?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: internal table help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071104#M973280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;first declare required number of fields, and one internal table whith those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now by using SPLIT statement, you can read them into some variables.&lt;/P&gt;&lt;P&gt;now assign these variables to internal table and append.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT string_name at '^' into field1 field2......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_tab1-field1 = field1.&lt;/P&gt;&lt;P&gt;it_tab1-field2 = field2.&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_tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2008 12:19:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-27T12:19:33Z</dc:date>
    <item>
      <title>internal table help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071102#M973278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a line like the following..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;SUP&gt;000001234&lt;/SUP&gt;Griffiths&lt;SUP&gt;Timothy&lt;/SUP&gt; ^&lt;SUP&gt;840&lt;/SUP&gt;USNA&lt;SUP&gt;0999CC#0034567841&lt;/SUP&gt;^&lt;SUP&gt;BO&lt;/SUP&gt;098711&lt;SUP&gt;0400&lt;/SUP&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get this into an internal table separated by ^ sign, what do i do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 12:12:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071102#M973278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T12:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: internal table help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071103#M973279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use SPLIT ...AT.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 12:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071103#M973279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T12:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: internal table help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071104#M973280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;first declare required number of fields, and one internal table whith those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now by using SPLIT statement, you can read them into some variables.&lt;/P&gt;&lt;P&gt;now assign these variables to internal table and append.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT string_name at '^' into field1 field2......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_tab1-field1 = field1.&lt;/P&gt;&lt;P&gt;it_tab1-field2 = field2.&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_tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 12:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071104#M973280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T12:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: internal table help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071105#M973281</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;SPLIT f AT g INTO TABLE itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Splits f wherever the separator g occurs and places the resulting sections into the fields of internal table itab. The sytsem creates a table row for each section of f. &lt;/P&gt;&lt;P&gt;Note: If f ends with the separator string g, the system does not create an empty table row at the end. This is in contrast to what happens when g occurs at the beginning of f.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 12:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071105#M973281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T12:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: internal table help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071106#M973282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: w_string(100),&lt;/P&gt;&lt;P&gt;         w_del type c value '^'.&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;  begin of wa,&lt;/P&gt;&lt;P&gt;   f1(20) ,&lt;/P&gt;&lt;P&gt;    end of wa.&lt;/P&gt;&lt;P&gt;Data: itab like table of wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_string = 'A&lt;SUP&gt;000001234&lt;/SUP&gt;Griffiths&lt;SUP&gt;Timothy&lt;/SUP&gt; ^&lt;SUP&gt;840&lt;/SUP&gt;USNA&lt;SUP&gt;0999CC#0034567841&lt;/SUP&gt;^&lt;SUP&gt;BO&lt;/SUP&gt;098711&lt;SUP&gt;0400&lt;/SUP&gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT w_string at w_del into table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab into wa.&lt;/P&gt;&lt;P&gt; Write:/ wa-f1.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 12:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-help/m-p/4071106#M973282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T12:25:30Z</dc:date>
    </item>
  </channel>
</rss>

