Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create HTML email

Former Member
0 Likes
647

Hi people,

I would like to create an email with a formatted body in HTML (with a table).

The body has a lot of tables. Each table was a background color in header and another background color in the other lines.

Is there a simple way to do this?

Thank you!

Cristiana

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
562

Small tip -:)


DATA: CR TYPE X VALUE 13. "For ABAP break line...
DATA: MESSAGE(500) TYPE C.

  CONCATENATE '<HTML>' CR '<BODY>' CR
  '<FONT COLOR=''GREEN''><H1>Test message!</H1></FONT>'
  CR '</BODY>' CR '</HTML>'
  INTO MESSAGE.

Greetings,

Blag.

Message was edited by:

Alvaro Tejada Galindo

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
562

Develop your template tables using some HTML editor such as dreamweaver, then use these HTML codes in your programs when building the body of the email.

Regards

Rich Heilman

Read only

Former Member
0 Likes
563

Small tip -:)


DATA: CR TYPE X VALUE 13. "For ABAP break line...
DATA: MESSAGE(500) TYPE C.

  CONCATENATE '<HTML>' CR '<BODY>' CR
  '<FONT COLOR=''GREEN''><H1>Test message!</H1></FONT>'
  CR '</BODY>' CR '</HTML>'
  INTO MESSAGE.

Greetings,

Blag.

Message was edited by:

Alvaro Tejada Galindo

Read only

0 Likes
562

Yes, I doing a concatenate but I have to create a text symbol for each thing in HTML..... otherwise I will get an error in Check...

Read only

0 Likes
562

Thanks!

Read only

0 Likes
562

You might consider award points for any helpful answers that you may have recieved here and also marking as solved, if one answer has answered your question completly or solved your problem. Doing so will give you points as well.

Thanks.

Rich Heilman