on 08-02-2009 9:20 PM
Hello Experts,
I'd like to copy files from app server to local. Befor doing it , system should ask the user for the local directory where the files should be copied to. Could You please tell me, how is a good solution for it. Is there in WD any "Save as ... " - popup.
Greetings
Wojtek
Hi Wojtek,
If the file is already present in your server then you can read the file contents from the server using the normal ABAP dataset & then use it to do whatever you wish to do. If you wish to download the file contents then you can use the [ATTACH_FILE_TO_RESPONSE method of CL_WD_RUNTIME_SERVICES|; or else you can convert the file contents into an XTSRING format & use the [FileDownload |;UI element. And both of these approaches would come up with a popup window with the "Open" & "Save" options. So the user would be able to specify a local download location of his choise.
Regards,
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.