How to print multiple ALV Grids with only one print dialog?
I have a report that has multiple ALV grids in splitter containers. The users want to be able to print those ALVs by pushing only one print button. I got it to work (parameter IS_PRINT and method SET_FRONTEND_PRINT before calling SET_TABLE_FOR_FIRST_DISPLAY) but I can't find a way to avoid that the printer dialog pops up for every grid I print.
I tried to use the function module approach with REUSE_ALV_LIST_DISPLAY but have the same issue. Any thoughts?
If you want to print multiple list on the same screen, then you can use function modules 'REUSE_ALV_BLOCK_LIST_INIT' 'REUSE_ALV_BLOCK_LIST_APPEND' and 'REUSE_ALV_BLOCK_LIST_DISPLAY'.