Hi,
I am getting memory issue with my internal table.
Means for a variable(large range) I am getting runtime error by saying that internal table length is not enough to save this data.
Say our table can save 10000 records only(I dont know the correct number for this)
see following code structure:
if ch1 = X. perform pass _data_to_finaltable. <---say this statement passing 1000 records endif. if ch2 = X. perform pass _data_to_finaltable. <----3000 recs endif. if ch3 = X. perform pass _data_to_finaltable. <-----4000 recs endif. if ch4 = X. perform pass _data_to_finaltable. <-----10000 endif. form pass _data_to_finaltable. <fill work area> append work area to final table. <---getting dump where ch4's 2001st record as its exceeding the 10000 recs. endform.
So as this is the final internal table we are not able to free or refresh it in middle of the above flow.
Hope you got the issue.
Please let me know what is the best solution for this..
__Naveen Inuganti.