cancel
Showing results for 
Search instead for 
Did you mean: 

a question about cl_wd_runtime_services=>attach_file_to_response

Former Member
0 Kudos

hi experter

when I tried to download a file to local using the method of cl_wd_runtime_services=>attach_file_to_response, everything seems fine, but the end user want to show a success message as soon as he click the save button on the dialogue box, and the message should not be shown if he click cancel or open button

it seems sap can not control that since we can not get any return message from cl_wd_runtime_services=>attach_file_to_response.......

any hint?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

the popup for download confirmation is coming from your client browser, just like you download any files from internet. It is not generated from WDA and hence i am afraid ,you cannot control that.

if you need this control then probably you can see FileDownload UI

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Instead you can use AcfUpDownload, it has some prerequisites

follow this link

http://help.sap.com/saphelp_tm70/helpdata/en/47/b9157c878a2d67e10000000a42189c/frameset.htm

using AcfUpDownload you can handle the completion event.