Skip to Content
0
Jul 03, 2013 at 07:15 AM

How to retrieve layout variant selected in the report selection screen so that same can be send as an attachment in mail

4306 Views

I have a requirement where the user will be selecting a variant for a report before executing. This report has output as ALV and mail.

Right now ALV is considering the varaint selected and is preparing the layout based on the variant (I am using 'REUSE_ALV_GRID_DISPLAY' for ALV display). The same needs to be done for mail also.

So I want to capture this variant layout so that I can prepare an internal table which i will send as an excel attachment in the mail.