Skip to Content

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


Hi dear all,

i tried to use cl_frontend_services=>gui_download to generate a csv-file on the presentation server.

The download of the file doesn't work when the program runs in the background! I always get the exception "CONTROL_FLUSH_ERROR".

Now my questions:

1. Does gui_download generally not work in the background?

2. What can I do to write an internal table as csv-file on the presentation server by a batch program?

Your answer would be a great help for me. Thousand thanks in advance and some points iafterwards.


Former Member
Former Member replied

there is no way to do it as a background job.. create the folder.. transfer the file to the application server in the backgorund using OPEN DATASET... use the tcode CG3Y to download the file from the app server to your folder..

0 View this answer in context

Helpful Answer

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