Application Development 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: 

Email texts are not aligned with proper space

UmaArjunan
Active Participant
0 Kudos

I am sending the following email content .

Po Number : 121221

Position : 000001

But my output is

Po Number : 121221

Position : 000001

i am concatenating the text with the value and put into another varaible va_text-line.

But when i receive the contents in the email its in improper format.

Alignment are not straight.

Could you please put your valuable suggestions

Thanks.

8 REPLIES 8

Former Member
0 Kudos

Hi,

Append blank lines after one line and see the magic Works!

i.e.

wa_it = 'aaaa'

append wa_it to it.

wa_it = ' '.

append wa_it to it.

Hope magic Works!

Regards,

Purvesh

0 Kudos

I need all the colon to appear in the same straight line,that is i am giving spaces accordingly comparing the first text with second text . but still.. its not appearing,

0 Kudos

Hi,

Oh it's not possible because it's not possible to set them in one position because

every mail browser has their own rendering system.

I.e.

If you see same mail in yahoo and gmail it looks diffrent.

Hope You understand!

Regards,

Purvesh.

0 Kudos

I see it in the outlook inbox. when i forward the same email content to other id, the space are adjusted properly. when i recieve the eamil at the first time in the outlook inbox spaces before and after colon are not appearing as expected...

But is there any other way to reflect the same in all the browser.......

thanks for your suggestion

0 Kudos

Hi,

you can try alternative via SAP notification.

you can use HTML tags to display it and format it properly.

Hope magic Works!

Regards,

Purvesh Patel.

0 Kudos

Hi,

you can try using HTML tags for proper formatting

you can also try sending notifications using SAP

Inbox by using Workflow.

Regards,

Purvesh Patel.

0 Kudos

okay. i will try html option

I am using the following class

Could you suggest , where to set the document type to html :

cl_bbp_doc_send_bcs=>send_mail

0 Kudos

Hi,

no you don't have to set type but you should use

<html>

<hr>person:

</hr>

<ht>hi

</ht>

</html>.

Hope magic Works!

Regards,

Purvesh Patel.