cancel
Showing results for 
Search instead for 
Did you mean: 

Popup - select local directory

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

uday_gubbala2
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Uday,

Thanks a lot.

Greetings

Wojtek

Answers (0)