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 body alignment

karthikreddy8174
Explorer
0 Kudos
903
Hi need to align email body in the below code "THANKS & REGARDS , SENDER" is showing on the right side 
how to align on left side please check the attachment

wa_text-line = 'DEAR RECEPIENT,'.
append wa_text to i_text.
wa_text-line = 'PLEASE FIND THE PO DETAILS AS REQUESTED IN THE ATTACHMENT.'.
append wa_text to i_text.
wa_text-line = 'THANKS & REGARDS , SENDER'.
append wa_text to i_text.
clear wa_text.

4 REPLIES 4

raymond_giuseppi
Active Contributor
833

If you really want to format the body text, switch to an html format, as more options are available.

  • Remember that recipients can do a lot in their e-mail client settings....
  • Also add the context and relevant part of the code used (cl_bcs I guess)

833

HTML E-mail body is the way 🙂

-- Tomas --

Sandra_Rossi
Active Contributor
0 Kudos
833

I know that you tried your best to format the code correctly, but right now the formatting is terrible. Better check your question after posting and don't format at all if you can't make it look better.

thilakan_t
Participant
0 Kudos
833

Try the below FMs or search FMs with (*WORD*WRAP*) in SE37

HR_PL_WORD_WRAP

RKD_WORD_WRAP

SDB_WORD_WRAP.

if required to use delimiter, add it at end of each line and replace with blank after the FM call.