<?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: Dump error in select query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395950#M1546175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please do not ask or answer basic questions or questions that are easily searchable  - thread locked

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Oct 2010 13:37:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-18T13:37:49Z</dc:date>
    <item>
      <title>Dump error in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395943#M1546168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am working on a requirement in which select query is fetching 8 fields from a ZTABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT IT_ZQAPP1[] IS INITIAL.&lt;/P&gt;&lt;P&gt;  SELECT AUFNR VORNR PROBNR PIPENO NVORNR SHIFT&lt;/P&gt;&lt;P&gt;  PSTAT PRODAT FROM ZQAPP INTO CORRESPONDING FIELDS OF TABLE IT_ZQAPP_B&lt;/P&gt;&lt;P&gt;  FOR ALL ENTRIES IN IT_ZQAPP1&lt;/P&gt;&lt;P&gt;  WHERE AUFNR = IT_ZQAPP1-AUFNR&lt;/P&gt;&lt;P&gt;  AND WERKS IN P_WERKS&lt;/P&gt;&lt;P&gt;  AND PRODAT LE P_PRODAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works fine for lesser data but throws a dump error TSV_TNEW_PAGE_ALLOC_FAILED for entries more than 70000,&lt;/P&gt;&lt;P&gt;and my requirement is to fetch more than a lac record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly Suggest the corrections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 12:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395943#M1546168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T12:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dump error in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395944#M1546169</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;This error occurs typically, when there is no more memory for your ABAP session. This means, you have to do one of the followings:&lt;/P&gt;&lt;P&gt;- restrict your report for smaller intervals, like process only 1 month instead of 6 months together&lt;/P&gt;&lt;P&gt;- rewrite your program, and eliminate/refresh/free the unneccesary internal tables, or columns from internal tables. You might even try to remove unneccesary lines from internal tables&lt;/P&gt;&lt;P&gt;- use SELECT - ENDSELECT instead of SELECT ... INTO statement. This could slower your program, but you'll need less memory usage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your memory usage always, with SM04 transaction (Goto - Memory menu).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:04:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395944#M1546169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dump error in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395945#M1546170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your basis guys can help you on this. &lt;/P&gt;&lt;P&gt;Report this problem to basis guys. They will increase the size of memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395945#M1546170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dump error in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395946#M1546171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's also possible to use SELECT ENDSELECT with PACKAGE SIZE. When a package size is reached then you can append it to another table to build up a big internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395946#M1546171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dump error in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395947#M1546172</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;What are the lenght of your field? The sum of total lengths are big?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the dump, what are the memory that the program try to use ? (and cause TSV_TNEW_PAGE_ALLOC_FAILED)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This problem has a workaround: say to the basis to allow more memory to the process...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leandro Mengue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:12:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395947#M1546172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dump error in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395948#M1546173</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;In situations like this we need to package size or upto size in the select query.&lt;/P&gt;&lt;P&gt;for syntax and all you can check the SAP documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinayaka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395948#M1546173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dump error in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395949#M1546174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our experience is that, with our particular OS and DBMS, each FAEI hit consumes a bit of SAP memory...in our case, FAEI is only ten rows at a time since we're on DB2, and a few million rows translates to a few hundred thousand round trips with FAEI and a few hundred thousand small bits of memory consumed.   Therefore, we see abends citing TSV_TNEW_PAGE_ALLOC_FAILED with FAEI that don't occur when we simply read the entire table and reprocess to eliminate what we didn't need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you have other large internal tables that are no longer needed, issue a FREE &amp;lt;itabname&amp;gt; command as soon as no longer needed to reclaim that SAP memory when working with very large sets or subsets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:23:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395949#M1546174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dump error in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395950#M1546175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please do not ask or answer basic questions or questions that are easily searchable  - thread locked

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 13:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-error-in-select-query/m-p/7395950#M1546175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-18T13:37:49Z</dc:date>
    </item>
  </channel>
</rss>

