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: 

pdf conversion down load is not working for cheinees language

Former Member
0 Kudos

kindly help me to solve the issues.

is there any way to convert the spool request which is in chinese langauge,

Requirement is to download SAP Script to PDF, where the PDF file should be in Chinese format.

i used the following FM

1)CONVERT_OTFSPOOLJOB_2_PDF

2)CONVERT_ABAPSPOOLJOB_2_PDF

in the spool the chinese format is visible, but in the PDF instead of the chinese language, v r getting Junk values. we r using program rstxpdft4 for pdf download

Thanks in Advance.

prakash

1 REPLY 1

Former Member
0 Kudos

hi,

try this:

CALL FUNCTION 'CONVERT_OTF'

EXPORTING

format = lc_pdf

max_linewidth = 132

IMPORTING

bin_filesize = lv_filesize

TABLES

otf = pv_otfdata

lines = li_pdfdata

EXCEPTIONS

err_max_linewidth = 1

err_format = 2

err_conv_not_possible = 3

err_bad_otf = 4

OTHERS = 5.