<?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 cannot be extended dump - space complexity. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555198#M1075399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many entries in idtl?  How many matching entries in the table qmel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes you simply can't select all the data you want.  In those cases, you have to define a smaller selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2008 11:42:29 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2008-09-30T11:42:29Z</dc:date>
    <item>
      <title>internal table cannot be extended dump - space complexity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555195#M1075396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where I need to optimize a report program. Here, the program is giving short dump "  TSV_TNEW_BLOCKS_NO_ROLL_MEMORY" and terminating t the following line because the internal table could not be extended".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the "for all entries" select code where I am getting the dump that internal table 'it_qmel' cannot be extended more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  if idtl is not initial.
    select aufnr matnr serialnr into table it_qmel
    from qmel
    for all entries in idtl
    where matnr    eq idtl-matnr and
          serialnr in s_sernr.
    sort it_qmel by aufnr.
    delete adjacent duplicates from it_qmel.
  endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please suggest me, how to optimize the above code so that it uses less memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help, I need this urgently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555195#M1075396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T11:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: internal table cannot be extended dump - space complexity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555196#M1075397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can you pls show, how you have declared it_qmel internal table&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:33:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555196#M1075397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T11:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: internal table cannot be extended dump - space complexity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555197#M1075398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Following is the declaration of internal table, which I have used.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types: begin of fs_qmel,
        aufnr type qmel-aufnr,
        matnr type qmel-matnr,
        serialnr type qmel-serialnr,
       end of fs_qmel.

data: wa_qmel type fs_qmel,
it_qmel type table of fs_qmel with header line.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:37:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555197#M1075398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T11:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: internal table cannot be extended dump - space complexity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555198#M1075399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many entries in idtl?  How many matching entries in the table qmel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes you simply can't select all the data you want.  In those cases, you have to define a smaller selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555198#M1075399</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-09-30T11:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: internal table cannot be extended dump - space complexity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555199#M1075400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Actually i am offline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is all the primary keys taken in where condition of qmel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not create a range and pass, it may improve the perfomance&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555199#M1075400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T11:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: internal table cannot be extended dump - space complexity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555200#M1075401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dump analysis says that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"No roll storage space of length 1928208 available for internal storage."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need this report to run for around 7000 to 8000 records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:44:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555200#M1075401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T11:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: internal table cannot be extended dump - space complexity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555201#M1075402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not a big structure...the problem is probably somewhere else, it's only that memory runs out at that very point.&lt;/P&gt;&lt;P&gt;What other big internal tables are you filling in your program? Depends on the box, but for such an error you probably have 1 GB of memory space occupied with your program. See if you can FREE tables that are not used any more, or implement block processing: read a chunk, process, clear tables, read next chunk, etc.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555201#M1075402</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-09-30T11:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: internal table cannot be extended dump - space complexity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555202#M1075403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will you divide the data into two internal tables and later collect into the one internal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555202#M1075403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T11:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: internal table cannot be extended dump - space complexity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555203#M1075404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might be getting this error due to huge size of data.&lt;/P&gt;&lt;P&gt;You can use PACKAGE SIZE keyword in the select query to select smaller amount of data and process them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555203#M1075404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T11:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: internal table cannot be extended dump - space complexity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555204#M1075405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where clause 'in' consumes more space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 11:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-cannot-be-extended-dump-space-complexity/m-p/4555204#M1075405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-03T11:46:56Z</dc:date>
    </item>
  </channel>
</rss>

