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.
Hi, I am Isuru Fernando, Senior SAP Integration Consultant with 10 years of SAP full-cycle implementation and support project experience.From the early days, I had a passion for coding, software development, and everything tech-related. I started my carrier as an ABAP developer and soon found my love for system integration when I learned SAP XI 3.0 in 2008. Playing a variety of roles from an offshore technical consultant (ABAP, PI/PO, BW, BOBJ) at the beginning of my career to a technical lead managing a team of consultants in different countries, I have gained immense experience in SAP project implementation life cycle.Having the opportunity to work on SAP implementation projects in USA, EU, and Asia, I learned valuable ins and outs of global business processors in Sales and Distribution (SD), Material Management, Retail, Customer Relationship Management (CRM), and Finance and Controlling (FICO).Through this blog, I want to share my expertise in SAP technical areas such as SAP ABAP, PI/PO, AIF, and Basis. I also want to provide a platform for others with similar ambitions who would like to share their SAP technical expertise with the world!