<?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: runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033423#M717598</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;here's the runtime error:&lt;/P&gt;&lt;P&gt;Runtime Errors         TSV_TNEW_BLOCKS_NO_ROLL_MEMORY&lt;/P&gt;&lt;P&gt;Date and Time          26.10.2007 04:44:26&lt;/P&gt;&lt;P&gt;Short dump has not been completely stored (too big)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ShrtText&lt;/P&gt;&lt;P&gt;     No roll storage space of length 4222992 available for internal storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What happened?&lt;/P&gt;&lt;P&gt;     Each transaction requires some main memory space to process&lt;/P&gt;&lt;P&gt;     application data. If the operating system cannot provide any more&lt;/P&gt;&lt;P&gt;     space, the transaction is terminated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Error analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The internal table "IT_929" could not be enlarged further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Storage location: "Session memory"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     You attempted to expand the data structure for the administration&lt;/P&gt;&lt;P&gt;     of the storage blocks for table "IT_929". The requested storage&lt;/P&gt;&lt;P&gt;     space of 4222992 bytes was not available in the roll area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The amount of memory requested is no longer available.&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;mae&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2007 04:46:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-26T04:46:11Z</dc:date>
    <item>
      <title>runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033412#M717587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone help me with this dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Each transaction requires some main memory space to process&lt;/P&gt;&lt;P&gt; application data. If the operating system cannot provide any more&lt;/P&gt;&lt;P&gt; space, the transaction is terminated.&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;mae&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 03:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033412#M717587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T03:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033413#M717588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mae,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ask your basis to increase the space allocation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 03:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033413#M717588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T03:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033414#M717589</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;Is there any other way?&lt;/P&gt;&lt;P&gt;thank you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mae&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 03:58:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033414#M717589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T03:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033415#M717590</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;Mae. If the issue is with your custom code then by looking at code we can see if anything else can be done. But if it is with all transactions or standard transactions then there is no other way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 04:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033415#M717590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T04:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033416#M717591</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;here is the part of the code where it get dump:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ebeln bsart lifnr reswk waers kdate&lt;/P&gt;&lt;P&gt;           FROM wb2_v_ekko_ekpo2&lt;/P&gt;&lt;P&gt;           INTO TABLE i_ekko&lt;/P&gt;&lt;P&gt;           FOR ALL ENTRIES IN i_eket&lt;/P&gt;&lt;P&gt;           WHERE ebeln EQ i_eket-ebeln AND&lt;/P&gt;&lt;P&gt;                 bsart NE c_nb OR &lt;/P&gt;&lt;P&gt;                ( mtart_i NE 'FERT' ) AND &lt;/P&gt;&lt;P&gt;                 lifnr IN s_lifnr AND&lt;/P&gt;&lt;P&gt;                 aedat IN s_aedat AND&lt;/P&gt;&lt;P&gt;                 ekgrp IN s_ekgrp .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mae&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 04:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033416#M717591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T04:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033417#M717592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mae,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use PACKAGE SIZE in your select query so that there will not be short dump.&lt;/P&gt;&lt;P&gt;Just do F1 on this and you will get syntax as how to use.&lt;/P&gt;&lt;P&gt;You can select lets say 5000 entries at a time using PACKAGE SIZE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 04:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033417#M717592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T04:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033418#M717593</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;SAP has been defined that application data storagae for the temparary basis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;those are nothing but internal tables ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that should have 2GB MEMORY to store the application and also the do the operations on that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each internal table is capble for the 2gb memory to store the data.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that we can use internal table solve our problems..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is very useful and also increases the programing performence to store the data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with one hit we will get so much data from database to internal tables so no burdon....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is not take care by OPERATING SYSTEM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS IS PROVIDED BY SAP ABAP MEMORY..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO NO DUMP ON THIS SPACE...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO YOU MUST USE SAP DEFINED CONFIGURATION IN YOUR SYSTEM....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR INTALLATION..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 04:29:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033418#M717593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T04:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033419#M717594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sudhakar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do it?&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;mae&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 04:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033419#M717594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T04:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033420#M717595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi atish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i look in the table in se16 it can only retrieve two datas..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;mae&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 04:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033420#M717595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T04:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033421#M717596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mae,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THis is a common issue in BASIS. &lt;/P&gt;&lt;P&gt;Please consult your BASIS consultant &amp;amp; he will do the needful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 04:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033421#M717596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T04:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033422#M717597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mae,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you paste what was the run time error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 04:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033422#M717597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T04:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033423#M717598</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;here's the runtime error:&lt;/P&gt;&lt;P&gt;Runtime Errors         TSV_TNEW_BLOCKS_NO_ROLL_MEMORY&lt;/P&gt;&lt;P&gt;Date and Time          26.10.2007 04:44:26&lt;/P&gt;&lt;P&gt;Short dump has not been completely stored (too big)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ShrtText&lt;/P&gt;&lt;P&gt;     No roll storage space of length 4222992 available for internal storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What happened?&lt;/P&gt;&lt;P&gt;     Each transaction requires some main memory space to process&lt;/P&gt;&lt;P&gt;     application data. If the operating system cannot provide any more&lt;/P&gt;&lt;P&gt;     space, the transaction is terminated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Error analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The internal table "IT_929" could not be enlarged further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Storage location: "Session memory"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     You attempted to expand the data structure for the administration&lt;/P&gt;&lt;P&gt;     of the storage blocks for table "IT_929". The requested storage&lt;/P&gt;&lt;P&gt;     space of 4222992 bytes was not available in the roll area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The amount of memory requested is no longer available.&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;mae&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 04:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033423#M717598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T04:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033424#M717599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mae,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just ask your basis to increase memory. it is normal issue for them :).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 04:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033424#M717599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T04:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033425#M717600</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;i try to input the values retrieve from the code an inputed it to SE16 I only retrieve 5 datas..how come it cause a low memory allocation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you...&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;mae&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033425#M717600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T07:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033426#M717601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mae,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not based on end result. it is based on the how many records it has to look through to get the values you requested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:55:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033426#M717601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T07:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033427#M717602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mae,&lt;/P&gt;&lt;P&gt;Your code is not optimal first thing.&lt;/P&gt;&lt;P&gt;Second do a SQL Trace and you'll find if this Select is using an index or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT ebeln bsart lifnr reswk waers kdate
FROM wb2_v_ekko_ekpo2
INTO TABLE i_ekko
FOR ALL ENTRIES IN i_eket
WHERE ebeln EQ i_eket-ebeln AND
bsart NE c_nb OR 
* What is happening here?? Split this OR and create two new SELECT Queries!!!
( mtart_i NE 'FERT' ) AND 
lifnr IN s_lifnr AND
aedat IN s_aedat AND
ekgrp IN s_ekgrp .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will remove some amount of memory consumption in your Select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if you are aware of SQL Trace so this is just for your info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you can do is open ST05 in another session.&lt;/P&gt;&lt;P&gt;Then do activate trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then execute your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then do deactivate trace&lt;/P&gt;&lt;P&gt;Then display&lt;/P&gt;&lt;P&gt;Find &amp;lt;your table&amp;gt;&lt;/P&gt;&lt;P&gt;Then select that line and press 'EXPLAIN'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will show which INdex was used by this query.&lt;/P&gt;&lt;P&gt;In case no index is used then you can just look at indexes already present in system for this table and try to use those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Nishant Rustagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 08:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033427#M717602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T08:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033428#M717603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mae,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be done through basis,but from the programming side always ensure that you have only primary key fields or index fields in the where clause of the each and every select statement that you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems you are fetching the data from database view.Can't you get the same data for any of the tables available.I don't know how far it is correct to fetch the data from view,but I think it is always recommended to fetch the data from tables itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 08:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033428#M717603</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-10-29T08:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033429#M717604</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 do you mean by slit?&lt;/P&gt;&lt;P&gt;how can i do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you...&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;mae&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 08:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033429#M717604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T08:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033430#M717605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT ebeln bsart lifnr reswk waers kdate
FROM wb2_v_ekko_ekpo2
INTO TABLE i_ekko
FOR ALL ENTRIES IN i_eket
WHERE ebeln EQ i_eket-ebeln AND
bsart NE c_nb OR 
* What is happening here?? Split this OR and create two new SELECT Queries!!!
( mtart_i NE 'FERT' ) AND 
lifnr IN s_lifnr AND
aedat IN s_aedat AND
ekgrp IN s_ekgrp .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above Code piece actually there are two select statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT ebeln bsart lifnr reswk waers kdate
FROM wb2_v_ekko_ekpo2
INTO TABLE i_ekko
FOR ALL ENTRIES IN i_eket
WHERE ebeln EQ i_eket-ebeln AND
bsart NE c_nb .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

SELECT ebeln bsart lifnr reswk waers kdate
FROM wb2_v_ekko_ekpo2
INTO TABLE i_ekko "here this table names need to be different otherwise it will overwrite existing data in the internal table.
FOR ALL ENTRIES IN i_eket
WHERE ( mtart_i NE 'FERT' ) AND 
lifnr IN s_lifnr AND
aedat IN s_aedat AND
ekgrp IN s_ekgrp .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So write the two SELECT statements seperately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; secondly don't use 'NE' . &amp;lt;/b&amp;gt;Instead remove this from the criteria and get all data in an internal table and then remove unwanted data from it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, like I mentioned earlier try and use an index if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you seek other clarification , you are free to ask&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran K has rightly mentioned that the SELECT statement seems to be using a view &amp;lt;b&amp;gt;wb2_v_ekko_ekpo2&amp;lt;/b&amp;gt;. If this is actually a view you can select data from individual tables and then proceed since JOIN creates a de-normalized view which uses up memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selecting from seperate tables will definitely increase ABAP time and database hits but it will remove the memory consumption in my opinion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Nishant Rustagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 17:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/3033430#M717605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T17:00:17Z</dc:date>
    </item>
  </channel>
</rss>

