cancel
Showing results for 
Search instead for 
Did you mean: 

Send Smart Forms within emails (html) Problems with format

former_member348166
Discoverer
0 Kudos

Dear all,

the ABAP report SF_XSF_DEMO1 is a demo report which converts a certain smart form into HTML and then sends it as an email in html format.

Sending the email is possible without any problems but I am wondering about the email format.

<a href="http://www.imgbox.de/show/img/e4QvgzsS4L.jpg" title="Bilder hochladen">This screenshot shows how the email looks like.</a>

I am not happy with the email layout as the Smart Form "SF_XSF_DEMO1" is designed in a different way.

What do I have to adapt within the report in order to send an email that really looks like the Smart Form? Or is it a customizing issue?

(I would like to avoid having to send the Smart Form as PDF attachment...)

Thanks for you help!

Kristian Kindler

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kristian,

When ever you send a smartform output as an HTML email, the system generates automatic style sheets which are not supported in many email clients such as Outlook 2007, hence you will face a formatting issue. We faced the same issue and had do it it like this:

Build a BSP page similar to the output which you want to send as an email. Now you can use the BSP URL to send the html email using cl_bcs class.

I have documented this in my article below-

http://divulgesap.com/blog.php?p=NDA=

Hope it helps.

Regards,

Ravikiran

former_member348166
Discoverer
0 Kudos

Hello,

thanks, Ravikiran, for your proposal.

Does anyone have another proposal on how to send well formatted HTML email which can be adapted easily?

Best regards,

Kristian Kindler

former_member348166
Discoverer
0 Kudos

Does anybody have an idea?