‎2009 Mar 09 1:14 PM
Hello Experts,
I have a problem with internal table data.
I am trying to sort one internal table in my ABAP program. At the sort statement I am getting short dumps saying 'EXSORT_NOT_ENOUGH_MEMORY' and 'EXSORT_FWRITE_FAILED'.
The error analysis says that : 'The running program wanted to sort a internal table. For reasons of capacity, it was not possible to sort the internal table in available main memory. The external sort was therefore called. Could not write the sorted data to the temporary file '. And the error text given was 'No space left on device'.
It seems to be purely a memory issue.
Using ABAP Code, I tried to split the data into few internal tables. I can sort individual internal tables, but finally when I append all these data into one internal table again it was in unsorted order.
Is there any possibility to overcome this by doing some changes in ABAP code itself? please suggest if nothing can be done by ABAP and it is purely a BASIS issue.
Regards.
‎2009 Mar 09 1:19 PM
the max you can do in ABAP is to try clearing any unwanted data, variable, memory if you feel its not needed and if still this happens.... then your basis team need to look into it.... generally in DEV the memory allocation would be less... in PRD it will be more comparatively...
J@Y
‎2009 Mar 09 1:43 PM
hi,
why cant u try with field groups with that u can sort easily.
~linganna
‎2009 Mar 09 3:15 PM
Hi Linganna and Jay,
Thanks for your quick replies.
Hi Linganna,
Can you be more specific? So if i use a field group instead of internal table can I sort any amount of huge data? Is it not going to call external sort? Is it possible for me to get the data back to internal table fromn the field group?
Please let me know your kind suggestions.
Regards.
‎2009 Mar 09 3:27 PM
‎2011 Feb 09 11:29 AM