cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Thai characters to PDF using smart forms

Former Member
0 Likes
2,454

Hi All,

I have created a smartform which displays order details. The address contains thai characters. While viewing the preview, the characters are displayed correctly.

The OTF form of this print is converted into PDF using the function module CONVERT_OTF and sent as mail attachment.

The issue is in the PDF attachment, thai characters are converted to junk characters. Can anyone suggest how to overcome this?

FYI, for displaying thai characters, chinese font THANGSAN is used.

Thanks & regards,

Juli.

View Entire Topic
Former Member
0 Likes

Hi

There are several notes about that issue, so it should be better you checked them in SAP OSS

Max

Former Member
0 Likes

Hi Max,

Is there anywhere in PDF conversion function module that maybe I can issue command 'UNICODE'?

When I preview my spool, it shows correct character.. with english character and thai character..

The problem is when I PDF print the spool using RSTXPDFT4, all the thai characters change to funny characters..

Need help here..

Juli.

aidan_black
Advisor
Advisor
0 Likes

Hi,

There is no command like this. If you use device type PDFUC or SWINCF to create the spool before converting via RSTXPDFT4, then the PDF conversion will be unicode. See SAP note #999712. But you still need to upload true type fonts to support the Thai characters, this time via report RSTXPDF2UC as per note 999712 and the attached guide. The Adobe fonts don't support Thai so it is needed to embed Angsana new true type font into the PDF file to support Thai characters.

Regards,

Aidan

Former Member
0 Likes

Go to tcode SCOT AND then click on SMTP node .

after that the dialog box appear in that box click the check button named 'SET ' infront of internet and check whether in output format of script/smartform pdf IS MAINTAINED OR NOT . IF NOT DRILL DOWN AND SELECT pdf .

<removed by moderator>

Edited by: Thomas Zloch on Oct 3, 2011 11:03 AM

Former Member
0 Likes

Hi Aidan,

I've forwarded the suggestion to my basis and now RSTXPDFT4 is converting my spool correctly to PDF format.. All characters are correct.

Thanks again.

Juli.