cancel
Showing results for 
Search instead for 
Did you mean: 

Copying SAP attachments to Network Directory

former_member431412
Participant
0 Kudos

We have a requirement to copy attachments from SAP to a network directory so users in different systems can look at the files.

In  Dynpro for ABAP, I am using Open Dataset to put attachment in a directory.

I am having trouble creating the directory from WDA,

Can this be done from WDA?

If so, please explain how or send an example.

Thanks in advance for any help

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

Hi,

You could use AcfUpDownload to achieve this. you can refer this demo:

Regards,

Kiran

former_member431412
Participant
0 Kudos

Is this the only method available with WDA? I have forwarded your response to our SAP Architect to see if he will allow this method.

That being said, I found the article very interesting.

former_member184578
Active Contributor
0 Kudos

Hi,

Is this the only method available with WDA?

You can use Filedownload UI/ attach_file_to_response( ) method of cl_wd_runtime_services class, but this will give a file dialog to select the location to save the file.

To have a silent download to the specific directory use AcfUpDownload as mentioned above.

Regards,

Kiran

Answers (0)