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

Email Attachment alignment problem

karthikeyan_m4
Explorer
0 Likes
539

Hi,

I am sending error reports of BDC thru email as attachment in Notepad format.

The records are not aligning properly coming as a paragraph, I need to display the errors in separate rows.

Is there any way that i can align all error records to come row by row in HTML format??

Can any one help on this please...

Thanks

Karthik

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
496

dont send it through txt file... just create an excel attachment..

3 REPLIES 3
Read only

Clemenss
Active Contributor
0 Likes
496

Hi kavn,

its not so big a problem to create your own html code, look at this example:

<html>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>
<p>My second paragraph.</p>

</body>
</html>

Just concatenate the body lines as paragraphs as seen in the sample.

Most todays mail clients are able to interpret html body.

Regards,

Clemens

Read only

Former Member
0 Likes
497

dont send it through txt file... just create an excel attachment..

Read only

0 Likes
496

Thanks for your help...

I have used excel as output and " cl_abap_char_utilities=>newline" for each record coming in new line..

regards

Karthik.