cancel
Showing results for 
Search instead for 
Did you mean: 

Save dialog

Former Member
0 Kudos

Hi all,

im using

wdr_task=>client_window->client->attach_file_to_response().

to download a file generated by adobeforms.

but what i want is to generate the save dialog directly !

otherwise i want the similar of the methode

CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG

it 's working for reports but we can not call it from the browser in webdynpro abap .

So any one have an idea about how to call the save_dialog directly whithout call the dialog box of downloading..

Best regards

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You have to remember that you are running in a web browser as HTTP. This isn't a native desktop application. Within the web browser you can only trigger a file download - using the fileDownload UI element or CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE. You should never used WDR_TASK=>client_window directly.

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/13/a1764299d76255e10000000a155106/frameset.htm

ChrisPaine
Active Contributor
0 Kudos

Use Flash/Flex Island - or if you have a 7.02 system I believe ACFUpDownload UI element has been enhanced to provide a dialog window.

Otherwise - I think it completely depends on the user's browser settings (using the method you have already tried).

Chris