on 03-08-2018 3:26 PM
Hey,
We got a report which is sending reminder mails to the employees. The customer wants those mails to be in font size 10 and font type arial.
The font size I think is adjustable via SE72. I also tried to set a 'font family' here. But I couldn't find 'arial'.
I already experimented a bit with SE73 to create a font family.
But I'm still not sure if I can use the typical 'arial' font type (like we got it in Word) in my mails. Do I first have to import that font or something like that?
Thanks and kind regards.
Wasn't originally Arial a low-cost HELVE type, so?
If you actually require it, read 1151806 - Arial Unicode MS TrueType fonts from Monotype Corp. and look at attachments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply.
I just searched for a font family and found one called 'HELVE'. The RTF-Fontinfo is '\fswiss\fcharset&&& Arial' so I tried to use it in my style. I added the style to my SO10 text and set the format parameter for every line to 'AB' which is defined in my syle.
I also found a RTF-Fontinfo '\fswiss\fcharset204 Arial' and tried it as well.
For some reason there is no change in the mail I get. No size change nor font style.
Is there anything I miss?
Thanks for the SAP Note btw. Problem here is that we can't simply download those things because of an internal restriction. 😕 So it would be nice to manage this requirement with the tools we got right now.
How is the actual mail generated, is it converted from a smartforms, sap script form into a pdf attachment, converted in html and included in mail body, with which tool?
We just read the SO10 text via function module 'READ_TEXT' and then send it via class methods 'cl_bcs', 'cl_document_bcs', etc.
lo_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = lt_text
i_length = '12'
i_subject = 'Offene Aufgabe in MSS'
i_sensitivity = 'O').
lo_sendrequest->set_document( lo_document ).
I'm new to SAP so I'm not pretty sure which one of those tools you mentioned this is. But here is a piece of code where a document is create with the 'lt_text' (TYPE: bcsy_text) which contains the SO10.
So there is no notion of font in your mail, just a flat notepad text? I would have converted text to html with CONVERT_ITF_TO_HTML and use the result html table as the main body of the mail (i_type = 'HTM')
Because the customer didn't want to put more effort in just the font this topic got canceled.
Unfortunately I didn't have time to try this HTML stuff right now. Would be interesting if this should work. Maybe the next days I can try that.
Thanks for the help so far!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.