cancel
Showing results for 
Search instead for 
Did you mean: 

How to Convert Plain Text Smart Form to HTML?

Former Member
0 Kudos

Hi Gurus,

We are using ChaRM functionality and based on the action profile Smartform is being triggered in Email.

Its a plain text not the HTML.

When I reply the email with attachment, system prompts below Pop-up.

Any way out to convert Text to HTML to resolve this problem?

Regards,

Anand

Accepted Solutions (1)

Accepted Solutions (1)

former_member118647
Active Participant
0 Kudos

please check point 4. Smartforms in link

http://scn.sap.com/docs/DOC-35291

Former Member
0 Kudos

Thanks Suhel for the Link.

We have already achieved the Email functionality for ChaRM process and Email is getting triggered correctly with required details (Smartform with Text/Link).   

Now, When I click 'Reply' on Email,  its not allowing me to attach picture and prompts Pop-Up.

This is because - Email itself is a Plain Text not HTML.

Regards,

Anand

former_member118647
Active Participant
0 Kudos

Hi Anand,

If you want smartform email in HTML format then check this link

http://scn.sap.com/docs/DOC-31422

Easy would be to use mailform instead of smartform. You can design your own email template using mailform and then link this maiulform to ITSM notification

Sending E-Mails - SAP Solution Manager - SAP Library

Regards,

suhel

Former Member
0 Kudos

Thanks Suhel.

From the above link, I understand that we need to write logic for converting plain text to HTML.

Here, my question is: where can I write the logic? Smartform itself or FM?

I also read that we should not modify FM because for each client (Dev, Quality, Production) the generated unique number for FM differs and not able to transport changes.


I have changed the layout (made colorful) and inserted logo in smartform but  in email, only plain text appears.  Is it also due to plain text format of email?


Regards,

Anand

former_member118647
Active Participant
0 Kudos

Hello  Anand,

Can I ask few questions:

1. Why you want to write the code? when you can get the HTML format by using mail form. You can add your formatting also here. Check this link on Mailform

http://scn.sap.com/blogs/charmmailform/2014/09/19/creating-charm-email-with-mail-form

2. By clicking on the reply button in your auto generated email are you trying to update the incident?

Former Member
0 Kudos

Hi Suhel,

1. As mentioned earlier, smartform configuration is already in-place and linked with Actions and  there are custom logic present to populate values in smartform. That's why I am looking for some fix that solves the problem of HTML Conversion. In this context, If I go for mail-form it will be completely new development.

2. Yes. You are right.Email is appearing in plain text format and thus its not allowing to insert picture on it. For HTML format, supports option for inserting picture.

Answers (2)

Answers (2)

prakhar_saxena
Active Contributor
0 Kudos

Hi Anand,

SAP has released a good KBA on the ITSM emails topics. Yes based upon SCOT settings you can determine whether the output will go inside the email itself or as an attachment.

check below

2147679 - How to Send E-Mail as an attachment from ITSM Incidents in Solution Manager

hope this helps

Thanks

Prakhar

rishav54
Active Contributor
0 Kudos

Hi,

You can change this settings in SCOT, go to SMTP node and there change the internet press set, change the smartform settins to HTML there.

Thanks

Rishav