<?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: memory low in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-low/m-p/3362546#M806871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt; If you loop and a table and in that loop keep appending records to that same table , it will result in an infinite loop.&lt;/P&gt;&lt;P&gt;So append it to some other table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2008 09:36:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-28T09:36:38Z</dc:date>
    <item>
      <title>memory low</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-low/m-p/3362543#M806868</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;i m develping a report in which i used following code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_atten       INTO  WA_ATTEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_ATTEN-total_REST_HOLIDAY  = WA_ATTEN-REST_HOLIDAY  +  WA_ATTEN-total_REST_HOLIDAY .&lt;/P&gt;&lt;P&gt;APPEND WA_ATTEN TO IT_ATTEN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;becoz of this code short dump is coming with error " Memory Low " . plz help me in solving this should i use some  hash table or sort table   instead of standard table ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN     OF   IT_ATTEN  OCCURS 1,&lt;/P&gt;&lt;P&gt; PERNR     LIKE P0000-PERNR,&lt;/P&gt;&lt;P&gt;       REST_HOLIDAY(3) TYPE P DECIMALS ,                     ACT_WORK_DAY(3) TYPE P DECIMALS 2,&lt;/P&gt;&lt;P&gt;      LWP(3) TYPE P DECIMALS 2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;." here i have other 14 fields "&lt;/P&gt;&lt;P&gt;END       OF   IT_ATTEN .&lt;/P&gt;&lt;P&gt;              DATA : WA_ATTEN LIKE LINE OF IT_ATTEN .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 08:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-low/m-p/3362543#M806868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T08:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: memory low</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-low/m-p/3362544#M806869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt; It is dumping as it is creating an infintie loop , as you are looping on IT_ATTEN  and inside that loop you are appending a record in that internal table.&lt;/P&gt;&lt;P&gt;So with each iteration of the loop , a new records is added and hence there is no way you can end/exit  the loop &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct it , then you program will not give a dump for this reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 08:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-low/m-p/3362544#M806869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T08:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: memory low</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-low/m-p/3362545#M806870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks .&lt;/P&gt;&lt;P&gt;I have checked it and modify it .&lt;/P&gt;&lt;P&gt;WA_ATTEN-total_REST_HOLIDAY  = WA_ATTEN-REST_HOLIDAY  +  WA_ATTEN-total_REST_HOLIDAY .&lt;/P&gt;&lt;P&gt;APPEND WA_ATTEN TO IT_ATTEN .&lt;/P&gt;&lt;P&gt;if  sy-subrc ne 0 .&lt;/P&gt;&lt;P&gt;exit .&lt;/P&gt;&lt;P&gt;endif .&lt;/P&gt;&lt;P&gt;  but still this error is coming . help me  in solving this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 09:22:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-low/m-p/3362545#M806870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T09:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: memory low</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-low/m-p/3362546#M806871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt; If you loop and a table and in that loop keep appending records to that same table , it will result in an infinite loop.&lt;/P&gt;&lt;P&gt;So append it to some other table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 09:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-low/m-p/3362546#M806871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T09:36:38Z</dc:date>
    </item>
  </channel>
</rss>

