<?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 Split Internal table for every 100 records in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-internal-table-for-every-100-records/m-p/667301#M29263</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;My requirement is to send the email based on number of records in the internal table.&lt;/P&gt;
  &lt;P&gt;If my internal table contains 400 records in case i need to split the content into 100 records each and send 4 email with 100 records.&lt;/P&gt;
  &lt;P&gt;So how to split the internal table having 400 records by 100 each. If it move in temporary internal table how 1st 100 to be passed and followed by 2nd...&lt;/P&gt;
  &lt;P&gt;Help me pls...&lt;/P&gt;</description>
    <pubDate>Tue, 25 Sep 2018 06:36:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-09-25T06:36:44Z</dc:date>
    <item>
      <title>Split Internal table for every 100 records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-internal-table-for-every-100-records/m-p/667301#M29263</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;My requirement is to send the email based on number of records in the internal table.&lt;/P&gt;
  &lt;P&gt;If my internal table contains 400 records in case i need to split the content into 100 records each and send 4 email with 100 records.&lt;/P&gt;
  &lt;P&gt;So how to split the internal table having 400 records by 100 each. If it move in temporary internal table how 1st 100 to be passed and followed by 2nd...&lt;/P&gt;
  &lt;P&gt;Help me pls...&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 06:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-internal-table-for-every-100-records/m-p/667301#M29263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-09-25T06:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Split Internal table for every 100 records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-internal-table-for-every-100-records/m-p/667302#M29264</link>
      <description>&lt;P&gt;Hi Meenakshi,&lt;/P&gt;
  &lt;P&gt;By using temporary internal table inside the loop of the main internal table, you can achieve this. Kindly try the below pseudo-code and let me know if you need more help on this.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;loop at lt_data assigning &amp;lt;fs_data&amp;gt;.
  append &amp;lt;fs_data&amp;gt; to lt_tmp_data.
  check ( sy-tabix mod 100 eq 0 ).
  " Send the 100 records to the email ( you have to use lt_tmp_data not lt_data)
  refresh lt_tmp_data.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Sep 2018 11:18:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-internal-table-for-every-100-records/m-p/667302#M29264</guid>
      <dc:creator>Muthu_raja</dc:creator>
      <dc:date>2018-09-25T11:18:35Z</dc:date>
    </item>
  </channel>
</rss>

