cancel
Showing results for 
Search instead for 
Did you mean: 

attach file (ms word)

Former Member
0 Kudos

Dear All,

How can i attach a file and include this file in the email as attachment? The file is located in a local drive.

Thanks.

Br,

Donna

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

The only thing specific about the question to Web Dynpro might be how you upload the attachement itself. For that read up on the FileUpload UI element. That is the only way in WDA to currently get content from the frontent to the server in order to be used in something like an email.

The process of creating the email and attaching content to it as an attachment, is not Web Dynpro specific. If you search around SDN, you will find plenty of discussions and code samples for building emails from ABAP. Here is a blog that I did on the subject many moons ago:

[/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface|/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface]