<?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: ABAP runtime errors in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514239#M236853</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;do the processing in picecs, not in one go. Like select data for one month, then the second and go on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Aug 2006 09:53:40 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2006-08-09T09:53:40Z</dc:date>
    <item>
      <title>ABAP runtime errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514238#M236852</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;When I run a z transaction it gives the following error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ABAP runtime errors&lt;/P&gt;&lt;P&gt;Each transaction requires some main memory space to process application data. If the operating system cannot provide any more space, the transaction is terminated."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program contains two SELECT queries .The first SELECT statement retrieves 700000 entries . In the next SELECT&lt;/P&gt;&lt;P&gt;statement I am using for all entries of the previous table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 09:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514238#M236852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-09T09:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP runtime errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514239#M236853</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;do the processing in picecs, not in one go. Like select data for one month, then the second and go on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 09:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514239#M236853</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-08-09T09:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP runtime errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514240#M236854</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;Try performance tuning of this program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use OPEN CURSOR w_cursor .. then your select statement&lt;/P&gt;&lt;P&gt;2. Then say fetch next cursor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way limit the records in each fetch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;HR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 09:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514240#M236854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-09T09:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP runtime errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514241#M236855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use packet of  data.&lt;/P&gt;&lt;P&gt;or  contect ur basis  person to increase memory size.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 09:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514241#M236855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-09T09:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP runtime errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514242#M236856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Try to avoid FOR ALL ENTRIES where the base table is having such huge data. FOR ALL ENTRIES is a loop so that many times it will go to the database to ftech the data.&lt;/P&gt;&lt;P&gt; Instead use direct select and get more data at one shot instead of trying to restrict in a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Write direct selects and bring all the data in the itab and then use READ with binary search and restrict the data in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 09:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514242#M236856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-09T09:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP runtime errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514243#M236857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. we can use the package concept,&lt;/P&gt;&lt;P&gt;  to get data&lt;/P&gt;&lt;P&gt;  in bunches  &lt;/P&gt;&lt;P&gt;  (instead of getting in one shot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. just copy paste to get a taste of it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : ctr TYPE i.&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt; selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : a TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM t001&lt;/P&gt;&lt;P&gt;  INTO TABLE t001&lt;/P&gt;&lt;P&gt;  PACKAGE SIZE 5 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ctr = ctr + 1.&lt;/P&gt;&lt;P&gt;    WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; '----&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;Loop Pass # ' , ctr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT t001.&lt;/P&gt;&lt;P&gt;      WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; t001-bukrs , t001-butxt.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2006 10:03:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-runtime-errors/m-p/1514243#M236857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-09T10:03:05Z</dc:date>
    </item>
  </channel>
</rss>

