Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Title not getting exported to excel when i use ALV oops.

Former Member
0 Kudos

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.

2 REPLIES 2

naimesh_patel
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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 ?