At runtime of ALV report short dumps can occur if the ALV is not consistently build. You can find the consistency of the ALV using ALV consistency check. This will show the status of ALV attributes like field catalog, Layout, filter, variant etc.
As a example below ALV gives a runtime error when exporting to local file. Runtime error is GET_WA_NOT_ASSIGNED.
This occurs when a field in ALV is not set in field-catalog.
To resolve the issue, run the ALV report. Press shift and right click twice on the area where there is no data.
Then ALV consistency check will be shown as below.
Now you can identify the issue with the ALV. in this example issue is column name which is given in layout is not set in fieldcatalog.