Skip to Content
Nov 13, 2008 at 05:41 AM

Emailing in HTML format


Hi gurus,

We are using R/3 4.7 version. Client wants us to trigger an email based on an event. This email carries some information for the targeted email recipient. Now the client requirement is that we should make some fields in email body as bold. These fields are inclusive of dynamic and static fields.

I tried using function module SO_NEW_DOCUMENT_ATT_SEND_API1 to trigger an email.

In this we function module we have to pass a structure called "packing list". This structure contains a component called "doc_type". In my report I am passing doc_type as "RAW". However when I use this doc type, I am unable to make body text as bold. This doc type creates email body in plain text.

I searched earlier forums, which suggested me to pass "HTM" as doc_type to get the email in HTML format. When I pass this value, I get an blank email. Later I found that the value table TSOTD for doc_type does not contain value "HTM". Hence I cannot use "HTM".

Can anyone please help me in solving this issue.

Rewards gurranteed.