Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Sending email with any type of attachment

$
0
0


Hi gurus,

 

 

I want to send an email with attachments from Web UI. i was attaching attachment from user desktop, i was using oop's  cl_bcs add_attachment method in the Back end ECC i created one function module for email sending. when i checked the mail in sost it was coming with attachment, and for the contents if it is text file contents are coming properly, but for other formats as PDF, DOC   the contents are not coming properly, file cannot opened. some special characters are coming. i tried using all conversion method using FM SCMS_STRING_TO_XSTRING, SCMS_XSTRING_TO_BINARY.

Please do the needfull

 

Thanks & Regards,

Dharani


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>