<?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: TSV_TNEW_PAGE_ALLOC_FAILED in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115537#M1904346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, normally you should not and try to avoid that as much as possible. That would be step 1 which is to add more conditions on the where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can always talk to your basis team and see if they would be able to allocate more storage space for programs/internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If none of these options work, only then you should think of working with package size option on the select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2015 14:58:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-06-10T14:58:41Z</dc:date>
    <item>
      <title>TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115534#M1904343</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;Below is the dump analysis in Quality system.&lt;BR /&gt;&amp;gt;&amp;gt; Short dump has not been completely stored. It is too big.&lt;/P&gt;&lt;P&gt;No memory space available for extending table "T_CUST_FIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You attempted to extend an internal table, but the required space&lt;BR /&gt;was not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The internal table "T_CUST_FIN" could not be enlarged further.&lt;BR /&gt;To extend the internal table "T_CUST_FIN", 14848 bytes of memory space&lt;BR /&gt; was&lt;BR /&gt;needed, but none was available.&lt;BR /&gt;-&lt;BR /&gt;At this point, the table "T_CUST_FIN" had 351 eintries.&lt;/P&gt;&lt;P&gt;Please note:&lt;BR /&gt;To facilitate error handling, the internal table "T_CUST_FIN" was&lt;/P&gt;&lt;P&gt; deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System environment&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SAP Release.............. "40B"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing the below dump in my zreport at the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data&amp;nbsp;&amp;nbsp; begin of t_cust_fin occurs 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; include structure bsad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM BSAD&lt;/P&gt;&lt;P&gt;APPENDING TABLE T_CUST_FIN&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN T_KUNNR&lt;/P&gt;&lt;P&gt;WHERE BUKRS = P_BUKRS-LOW&lt;/P&gt;&lt;P&gt;AND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BUDAT &amp;lt; S_BUDAT-LOW&lt;/P&gt;&lt;P&gt;AND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UMSKZ NE 'R'&lt;/P&gt;&lt;P&gt;AND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BLART NE 'RB'&lt;/P&gt;&lt;P&gt;AND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BLART NE 'RV'&lt;/P&gt;&lt;P&gt;AND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BSCHL NE '13'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When executed table BSAD, it showed 14,00,055 records are available for the above selection criterion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to overcome this issue. Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Haritha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115534#M1904343</guid>
      <dc:creator>Bharath84</dc:creator>
      <dc:date>2015-06-10T13:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115535#M1904344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haritha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is common thing that happens when large tables are involved. To overcome this issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Restrict the select with more conditions on the "where" so that you only select what is required.&lt;/P&gt;&lt;P&gt;2. If 1 is not possible, restrict the select to a certain # of entries process those and redo the select. &lt;/P&gt;&lt;P&gt;SELECT....&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier; font-size: 13.3333330154419px;"&gt;PACKAGE SIZE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115535#M1904344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-10T14:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115536#M1904345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my knowledge, we should not write multiple select queries on one database table.&lt;/P&gt;&lt;P&gt;If there are multiple hits on the same database table it will be performance issue right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;HT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115536#M1904345</guid>
      <dc:creator>Bharath84</dc:creator>
      <dc:date>2015-06-10T14:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115537#M1904346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, normally you should not and try to avoid that as much as possible. That would be step 1 which is to add more conditions on the where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can always talk to your basis team and see if they would be able to allocate more storage space for programs/internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If none of these options work, only then you should think of working with package size option on the select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115537#M1904346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-10T14:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: TSV_TNEW_PAGE_ALLOC_FAILED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115538#M1904347</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 could use OPEN/FETCH/CLOSE CURSOR also. Check the ABAP documentation for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FETCH NEXT CURSOR dbcur2 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO/APPENDING TABLE spfli_tab PACKAGE SIZE &amp;lt;Put some reasonable size may be 10000&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use that internal table and refresh it so that the memory problem do not occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 15:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tsv-tnew-page-alloc-failed/m-p/11115538#M1904347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-10T15:02:45Z</dc:date>
    </item>
  </channel>
</rss>

