Application Development and Automation 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: 
Read only

Header not visible when downloading

Former Member
0 Likes
2,689

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.

5 REPLIES 5
Read only

Former Member
0 Likes
1,488

hello,

check if you have the event 'TOP_OF_PAGE' when you are displaying the ALV report in the output.

best regards,

swanand

Read only

0 Likes
1,488

Yes I have used event top_of_page in my ALV report.

Read only

venkateswaran_k
Active Contributor
0 Likes
1,488

In REUSE_ALV_GRID_DISPLAY  -  is following are set?    g_save = 'A' 

      i_grid_title             = grid_title
      i_save                   = g_save   g

Read only

0 Likes
1,488

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.

Read only

Former Member
0 Likes
1,488

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.