Skip to Content

ALV Export Top of page and End of Page

Hi Expert,

I've search through various blog on this solution but fail to find one.

My requirement is to export the ALV to excel including top of page, table and end of page.

I used FM REUSE_ALV_GRID_DISPLAY with exporting i_callback_html_top_of_page,i_callback_html_end_of_list.

How could I export these information using standard ALV export function?




Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 07, 2017 at 07:00 PM

    Google -> ALV header export to Excel -> 32300 results

    I don't believe it's feasible exactly as you're expecting. The top part is most likely removed on purpose when exporting into Excel (MHTML) format. And it makes sense to me. Instead of export to Excel button, you could use Save to local file option to save XLS and that should include the top part too.

    Search in Google for other options and make sure to search next time before posting a question.

    Add comment
    10|10000 characters needed characters exceeded

    • Well, you could explain to them that this just creates "technical debt" since such options most likely won't work in S/4HANA if that's their ERP path. These days, we can't just continue doing everything as we did 10 years ago. Need to think about the future. It's coming sooner than we might think.