2013 Jul 02 11:46 AM
Hi All,
Header not visible when downloading using List->Export->Spreadsheet option in ALV repen using List->Export->Spreadsheet download option in ALV rep...
I am trying to download ALV report in an excel file using List->Export->Spreadsheet (Excel in Office 2007 Xlsx format) option, but the ALV header doesn't get downloaded. But if i use List->Export->Local file it shows the alv header in the dowloaded excel file. I checked the basis version, its 702. I tried with fieldcatalogue lwa_fieldcat-ddictxt = 'L'. But this didnt work either. Is there anyhting else that i should do to get this option? Please help.
Thank you,
CB
Message was edited by: Matthew Billingham - made subject more readable.
Hi All,
Header not visible when downloading using List->Export->Spreadsheet option in ALV repen using List->Export->Spreadsheet download option in ALV rep...
I am trying to download ALV report in an excel file using List->Export->Spreadsheet (Excel in Office 2007 Xlsx format) option, but the ALV header doesn't get downloaded. But if i use List->Export->Local file it shows the alv header in the dowloaded excel file. I checked the basis version, its 702. I tried with fieldcatalogue lwa_fieldcat-ddictxt = 'L'. But this didnt work either. Is there anyhting else that i should do to get this option? Please help.
Thank you,
CB
Message was edited by: Matthew Billingham - made subject more readable.
2013 Jul 02 7:00 PM
hello,
check if you have the event 'TOP_OF_PAGE' when you are displaying the ALV report in the output.
best regards,
swanand
2013 Jul 02 7:49 PM
2013 Jul 02 7:15 PM
In REUSE_ALV_GRID_DISPLAY - is following are set? g_save = 'A'
i_grid_title = grid_title
i_save = g_save g
2013 Jul 02 7:52 PM
Yes, it is set, point to be noted is, i get the header in my downloaded excel file, if i choose the option 'Local file' from the application tool bar or from menu option List->Export->Local file, but i don't get the header when i choose List->Export->Spreadsheet option. Please help.
2013 Jul 02 8:40 PM
Hi,
CL_DD_DOCUMENT / HTML_TOP_OF_PAGE is used to display on the 'Screen'.
You would need to use TOP_OF_PAGE event to download to 'Excel' .
And PRINT_TOP_OF_PAGE event to print in 'Printer'.
Helpful links below:
http://scn.sap.com/thread/3221653
http://scn.sap.com/thread/3160322
Regards,
Nisha Vengal.