oprsteny.com
ABAP – Select ALV layout on the selection screen
If you want to offer your users to have a parameter on the selection screen where they can select layout of the ALV to be displayed, you can use the following code snippet