Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Internal table's Memory space problem

Former Member
0 Likes
782

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.

5 REPLIES 5
Read only

Former Member
0 Likes
641

hello neetu can u paste ur code.....

Read only

Former Member
0 Likes
641

Approx. how many records are coming into the third internal table??

Read only

Former Member
0 Likes
641

Hi Neethu,

Declare the third internal table as OCCURS 0.

Can you also just paste the code.

Regards

Bharadwaj

Read only

Former Member
0 Likes
641

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.

Read only

Former Member
0 Likes
641

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