‎2012 Dec 21 4:14 AM
I need to send Smartform as HTML e-mail body. Please let me know if anyone has done this solution.
Thanks in advance.
‎2012 Dec 21 4:23 AM
hi,
you cannot send smartform output as email body. you can convert the output to pdf and send it with attachment by convert abapspooll2pdf. check standard program RSTXPDFT4′.
regards,
Vinoth.
‎2012 Dec 21 4:36 AM
Hey,
You can not send smartforms as an email body, but you can send the smartforms as an attachment in email by converting it to pdf format. find following function modules to do this.
‎2012 Dec 21 4:41 AM
We already have the logic to send Smartform as PDF. Business want to receive mail as HTML e-mail body for Smartform.
‎2012 Dec 21 4:58 AM
i think there is way around use this FM 'CONVERT_OTF' and give format as html and use this html as your email body...
‎2012 Dec 21 5:08 AM
Hiii,
Please check this demo program - SF_XSF_DEMO_MAIL
Run this program and see - SBWP. I hope you know how to send mail outside of SAP so get idea or logic from this program and change your program as per your requirement