on 10-22-2010 8:41 PM
Hi,
When a user press a button on a WD screen, I want to generate a lot of files and transfer them to the presentation server. Obviously, I cannot use GUI_DOWNLOAD or WS_DOWNLOAD FM.
I tested cl_wd_runtime_services=>attach_file_to_response and this is working fine but there is a popup requesting where to put the file. I guess this is normal in a web environment to ensure that a web site does not send you a virus.exe file
I my case, this is a server that need to send a lot of files to another Java server and the security will be handle at the application level.
Is there a way to transfer multiple files without any prompt ? I tried to start another LUW ( (in background job, in update task....) that is not WD and use GUI_DOWNLOAD without success.
The only solution that I have right now is to save data in DB from the WD program and use an old ABAP program as a deamon to peak this DB every 5 seconds and transfer using GUI_DOWNLOAD... sooooo ugly, for sure I do not want a deamon running in my productive version...
any ideas ?
thanks !
Edited by: Dany Charbonneau on Oct 22, 2010 9:42 PM
HI,
you can use the AcfUpDownload element to download files silently to the client -- check out Thomas Jung´s blog too se how:
I have used this method myself -- it's not dead easy, but it gets the job done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This look very interresting, I'll give a try.
Thanks a lot !!!!!!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.