‎2013 Jun 10 2:53 PM
Hello All,
Could any one tell me how to format SO10 text.
My Requirement is to send a log file to external mails.
I am able to send the mail successfully to the concerned email's but the format in the mail is wrong.
I need the mail display as shown below
But mail body is in wrong format as shown below
Could any one help me out on this.
Thanks in Advance.
Harsha P
‎2013 Jul 02 8:32 AM
‎2013 Jun 10 3:04 PM
Write the output to spool in ABAP and then convert it to PDF and attach? Would that be acceptable?
Neal
‎2013 Jun 10 3:07 PM
HI Neal,
Thank you very much for your Quick Response.
Here we are not sending any attachment just we are sending information in mail body.
If i am going in a wrong way please advice me.
Thanks in Advance.
Harsha P
‎2013 Jun 10 4:42 PM
From my experience,
You can't just write output. In order to be successful, for instance with what Alok suggested, you'd have to do character point counting and variably adjust your tabs. That would be insanely difficult. You could get it to work most of the time without that but is wouldn't work all of the time.
Prashant's is the simplest solution for writing directly into the body. You just got to know your HTML!
My method is something that you will need in the future, so it could be a good thing to traverse to. It's one of those things where you need to get a feel for how far you are reaching and not over reach.
Hope this Helps!
Neal
‎2013 Jun 10 3:16 PM
Hi,
You can create a style with the required font size and other formatting parameters. Use the style in SO10 to create standard text SO10->Format->Change Style.
Regards,
Alok
‎2013 Jun 10 3:25 PM
Hi,
Use HTM format instead of RAW and use HTML tag to format the output.
Regards,
Prashant
‎2013 Jun 10 3:36 PM
I think you want the email to be displayed in such a way that semicolons are vertically aligned.
Arial font:
total file : 3
success file : 3
Same text in Courier New font:
total file : 3
success file : 3
Try sending email in HTML format. The semicolons will be aligned when monospaced font like Courier New is used.
SPAN tag in email could have font specified like this:
<span style="font-family: courier new,courier;">
This wiki article has html email example that specifies font using SPAN tag.
‎2013 Jul 02 8:32 AM
‎2013 Jul 02 8:32 AM
‎2013 Jul 02 8:32 AM