cancel
Showing results for 
Search instead for 
Did you mean: 

Use Arial font in SO10 text for mail

former_member310342
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

raymond_giuseppi
Active Contributor

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.

former_member310342
Participant
0 Kudos

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.

raymond_giuseppi
Active Contributor

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?

former_member310342
Participant
0 Kudos

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.

raymond_giuseppi
Active Contributor

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')

former_member310342
Participant
0 Kudos

Hey, thanks for the reply.

I'm currently on it to make the changes. But I'm not sure how the font will change.

Will the HTML take the changes which are saved in my style or do I have to change the font in the new html directly?

raymond_giuseppi
Active Contributor
0 Kudos

First look at the generated html style, with some luck you won't be required to adapt... Else some find and replace strings may be enough.

former_member310342
Participant
0 Kudos

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!