02-25-2012 5:06 AM
Hi Friends,
I have split the container and used cl_dd_document to display my Title data in TOP of page ( Container 1 ) and displayed my table data in the second container. I'm getting the output perfectly but when i try to export to the excel sheet, only table data ( i.e data in Container 2 ) is getting downloaded. i'm not able to bring the title ( Container 1 ) details in the excel while exporting . pls help. .
Note : I also want the title details to be displayed when i click on the print button.
I dont get this problem when i use REUSE_ALV_COMMENTARY_WRITE but in my senario i cant even use this FM as it doesn't supports more than 60 characters.
02-26-2012 8:38 PM
Since you have two different container for Header & ALV data, the buttons on ALV grid ONLY will only consider the data within itself.
To be able to download header and data both, you need to add additional buttons to either PF-status or ALV and write a code to do that.
Regards,
Naimesh Patel
02-27-2012 11:20 AM
It become a tedious job to set the pf-status and write code for each and every button coz there are many buttons available in alv . . Any other suggestion friends ?