<?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/1586388#M264361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    dump is due internal table exceeded its max limit.&lt;/P&gt;&lt;P&gt;     use below logic&lt;/P&gt;&lt;P&gt;data I_TMP_CAUFV1 like I_TMP_CAUFV occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not I_TMP_CAUFV[] is initial. &lt;/P&gt;&lt;P&gt;I_TMP_CAUFV1[] = I_TMP_CAUFV[].&lt;/P&gt;&lt;P&gt;delete  I_TMP_CAUFV1 where objnr is initial.&lt;/P&gt;&lt;P&gt;sort I_TMP_CAUFV1 by objnr.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from I_TMP_CAUFV1 comparing&lt;/P&gt;&lt;P&gt;objnr.&lt;/P&gt;&lt;P&gt;if not I_TMP_CAUFV1[] is initial.&lt;/P&gt;&lt;P&gt;SELECT * INTO table I_JEST FROM JEST &lt;/P&gt;&lt;P&gt;for all entries in I_TMP_CAUFV1&lt;/P&gt;&lt;P&gt;WHERE STAT IN ('I0002','I0042')&lt;/P&gt;&lt;P&gt; AND OBJNR = I_TMP_CAUFV1-OBJNR&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;free I_TMP_CAUFV1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.REgards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2006 15:26:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-12T15:26:58Z</dc:date>
    <item>
      <title>runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586383#M264356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the following runtime error. please guide and help&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; tvs_tnew_page_alloc_failed &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; short dump has not being completely stored. its too big. &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; LOOP AT I_TMP_CAUFV. &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; SELECT SINGLE * INTO I_JEST FROM JEST &lt;/P&gt;&lt;P&gt; WHERE STAT IN ('I0002','I0042') AND OBJNR = I_TMP_CAUFV-OBJNR. &lt;/P&gt;&lt;P&gt; IF SY-SUBRC = 0. &lt;/P&gt;&lt;P&gt; APPEND I_TMP_CAUFV TO I_CAUFV&amp;lt;b&amp;gt;.--&amp;gt;error&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt; CLEAR I_TMP_CAUFV. &lt;/P&gt;&lt;P&gt; ENDIF. &lt;/P&gt;&lt;P&gt; ENDLOOP. &lt;/P&gt;&lt;P&gt; IF NOT I_CAUFV[] IS INITIAL. &lt;/P&gt;&lt;P&gt; SELECT * FROM afko INTO TABLE I_afko FOR ALL ENTRIES IN I_CAUFV &lt;/P&gt;&lt;P&gt; WHERE aufnr = I_CAUFV-AUFNR. &lt;/P&gt;&lt;P&gt; SELECT * FROM MARA INTO TABLE I_MARA FOR ALL ENTRIES IN I_CAUFV &lt;/P&gt;&lt;P&gt; WHERE MATNR = I_CAUFV-PLNBEZ. &lt;/P&gt;&lt;P&gt; SELECT * FROM AFPO INTO TABLE I_AFPO FOR ALL ENTRIES IN I_CAUFV &lt;/P&gt;&lt;P&gt; WHERE AUFNR = I_CAUFV-AUFNR. &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; LOOP AT I_CAUFV. &lt;/P&gt;&lt;P&gt; READ TABLE I_AFPO WITH KEY AUFNR = I_CAUFV-AUFNR. &lt;/P&gt;&lt;P&gt; IF SY-SUBRC = 0. &lt;/P&gt;&lt;P&gt; DATA_TAB_TEMP-AUFNR = I_CAUFV-AUFNR. &lt;/P&gt;&lt;P&gt; DATA_TAB_TEMP-GAMNG = I_CAUFV-GAMNG. &lt;/P&gt;&lt;P&gt; DATA_TAB_TEMP-GLTRP = I_CAUFV-GLTRP. &lt;/P&gt;&lt;P&gt; DATA_TAB_TEMP-PLNBEZ = I_CAUFV-PLNBEZ. &lt;/P&gt;&lt;P&gt; DATA_TAB_TEMP-CALQTY = DATA_TAB_TEMP-CALQTY + I_CAUFV-GAMNG - &lt;/P&gt;&lt;P&gt; I_AFPO-WEMNG. &lt;/P&gt;&lt;P&gt; DATA_TAB_TEMP-OBJNR = I_CAUFV-OBJNR. &lt;/P&gt;&lt;P&gt; ENDIF. &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; READ TABLE I_MARA WITH KEY MATNR = I_CAUFV-PLNBEZ. &lt;/P&gt;&lt;P&gt; IF SY-SUBRC = 0. &lt;/P&gt;&lt;P&gt; DATA_TAB_TEMP-WRKST = I_MARA-WRKST. &lt;/P&gt;&lt;P&gt; ENDIF. &lt;/P&gt;&lt;P&gt; READ TABLE I_afko WITH KEY AUFNR = I_CAUFV-AUFNR. &lt;/P&gt;&lt;P&gt; if sy-subrc = 0. &lt;/P&gt;&lt;P&gt; DATA_TAB_TEMP-LEAD_AUFNR = i_caufv-lead_aufnr. &lt;/P&gt;&lt;P&gt; data_tab_temp-maufnr = i_caufv-maufnr. &lt;/P&gt;&lt;P&gt; endif. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I_CAUFV-LEAD_AUFNR = I_ORDNA-LEAD_AUFNR. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I_CAUFV-MAUFNR = I_ORDNA-MAUFNR. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MOVE I_CAUFV-LEAD_AUFNR TO DATA_TAB_TEMP-LEAD_AUFNR. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MOVE I_CAUFV-MAUFNR TO DATA_TAB_TEMP-MAUFNR. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; MOVE-CORRESPONDING DATA_TAB_TEMP TO DATA_TAB. &lt;/P&gt;&lt;P&gt; APPEND DATA_TAB. &lt;/P&gt;&lt;P&gt; CLEAR DATA_TAB. &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; CLEAR CALQTY. &lt;/P&gt;&lt;P&gt; ENDLOOP. &lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 15:04:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586383#M264356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T15:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586384#M264357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears that you have ran out of usable memory.  You need to free some up.  Loop for big internal tables which are no longer necesary and FREE them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;free itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 15:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586384#M264357</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-12T15:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586385#M264358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kamalesh,&lt;/P&gt;&lt;P&gt; I guess here you are trying to move the values with append statement ..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 APPEND I_TMP_CAUFV TO I_CAUFV.--&amp;gt;error

 try using it in this way ..

 move I_TMP_CAUFV-field TO I_CAUFV-field.
 append I_CAUFV.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 15:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586385#M264358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T15:09: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/1586386#M264359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;even i had got this error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is because the number of entries are huge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so while appending one more than maximum it is giving error, no of records to be reduced ot i think there r some settings to be changed to increase the space&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 15:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586386#M264359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T15:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586387#M264360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks as if you have two large tables. You may be able to resolve this by deleting the entry from the first table asy append it to the second:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT i_tmp_caufv.

&amp;lt;b&amp;gt;tmp_index = sy-tabix.&amp;lt;/b&amp;gt;

  SELECT SINGLE * INTO i_jest FROM jest
  WHERE stat IN ('I0002','I0042') AND objnr = i_tmp_caufv-objnr.
  IF sy-subrc = 0.
    APPEND i_tmp_caufv TO i_caufv. "--&amp;gt;error
    clear i_tmp_caufv.
&amp;lt;b&amp;gt;    delete i_tmp_caufv index tmp_index.&amp;lt;/b&amp;gt;
  ENDIF.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rob Burbank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 15:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586387#M264360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T15:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586388#M264361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    dump is due internal table exceeded its max limit.&lt;/P&gt;&lt;P&gt;     use below logic&lt;/P&gt;&lt;P&gt;data I_TMP_CAUFV1 like I_TMP_CAUFV occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not I_TMP_CAUFV[] is initial. &lt;/P&gt;&lt;P&gt;I_TMP_CAUFV1[] = I_TMP_CAUFV[].&lt;/P&gt;&lt;P&gt;delete  I_TMP_CAUFV1 where objnr is initial.&lt;/P&gt;&lt;P&gt;sort I_TMP_CAUFV1 by objnr.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from I_TMP_CAUFV1 comparing&lt;/P&gt;&lt;P&gt;objnr.&lt;/P&gt;&lt;P&gt;if not I_TMP_CAUFV1[] is initial.&lt;/P&gt;&lt;P&gt;SELECT * INTO table I_JEST FROM JEST &lt;/P&gt;&lt;P&gt;for all entries in I_TMP_CAUFV1&lt;/P&gt;&lt;P&gt;WHERE STAT IN ('I0002','I0042')&lt;/P&gt;&lt;P&gt; AND OBJNR = I_TMP_CAUFV1-OBJNR&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;free I_TMP_CAUFV1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.REgards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 15:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586388#M264361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T15:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586389#M264362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If nothing of the suggested before really helps - I would modify your logic to process records in packages starting from the inital select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select ... into table I_TMP_CAUFV package-size 1000&lt;/P&gt;&lt;P&gt;  your processing logic... to populate i_caufv.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR - do it other way, instead of adding record to i_caufv, just delete it from i_tmp_caufv if your select from JEST returns non zero subrc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 16:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error/m-p/1586389#M264362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T16:04:49Z</dc:date>
    </item>
  </channel>
</rss>

