Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Format of message body in mail

Hi All,

I am sending an e-mail via SAP. For this I am using the function module 'SO_DOCUMENT_SEND_API1'.

Every thing is fine. I am getting the mail also.

But now I need to change the type of message body from RAW into HTML format. I have passed the doc_type as 'HTM'. But the format of the mail got disturbed.i.e., I have 30 lines in my message body. If I use RAW format, then those lines are coming properly. But if I change to HTM,then all the lines are coming as single line.

PLease find below the example.

RAW form:




HTM form


I have used the doc_type 'HTML' also. But the result remains the same.

Please help me in this regard.



Former Member
Not what you were looking for? View more on this topic or Ask a question