Skip to Content

Popup - select local directory

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 03, 2009 at 02:26 AM

    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|Exporting content of ALV grid in Web Dynpro for ABAP; or else you can convert the file contents into an XTSRING format & use the [FileDownload |uploading and displaying image;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

    Add comment
    10|10000 characters needed characters exceeded