You can trap the CNTL_ERROR using the exceptions in the CREATE OBJECT - this will prevent the dump. However, the output for ALV is by its nature, online. You can results for running in background the function module REUSE_ALV_LIST_DISPLAY.
Dig Deeper on SAP security
Related Q&A from Matthew Billingham
An SAP user needs information on how to change the password on several SAP user accounts from a central location. Continue Reading
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading