‎2006 May 19 6:36 AM
Internal table is running out of memory due to the no of records. I am trying to merge the records of two internal tables into third one. and this third internal table runs out of memory.
‎2006 May 19 6:37 AM
‎2006 May 19 6:43 AM
Approx. how many records are coming into the third internal table??
‎2006 May 19 6:47 AM
Hi Neethu,
Declare the third internal table as OCCURS 0.
Can you also just paste the code.
Regards
Bharadwaj
‎2006 May 19 6:50 AM
Neetu,
As you increment the third table, start deleting the contents of the 1st and 2nd table, i.e. if you are appending five lines from the 1st table to the 3rd table, then delete the five lines from the 1st table after append operation.
Regards,
Anand.
‎2006 May 19 7:13 AM
Hi,
There is no limitation to the number of records in an internal table. You can store n number of data in an itab.
What you can do:
1. You can use the Pakage size option
select field1 field2 field3
from Tablename
into table it_tablename package size 10000.
Package size determines the Total # of records that will be picked up in the First loop.
2. Please check you system size.
3. Use proper select statements. Avoid SELECT*.
4. Chek txn: ST22 to view dump analysis.
5. Chek the code once again for any other reason for error.
Regards,
Anjali