Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

download excel file to PC in background

Hi All,

I need to write a report to local PC as an excel file. The program is working fine in foreground using cl_gui_frontend_services=>gui_download. However since the report data is very large, when the user runs the program in foreground, it always gets timeout. So it has to be run in background. I did a lot of research and tried the example posted here as well: http://abapblog.com/articles/tricks/33-create-xlsx-mhtml-file-from-internal-table-in-background

But I am still not successful. I am getting ""control_flush_error". Does anybody have any ideas?


Thanks,

Meiying


Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question