11-28-2008 3:15 AM
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
11-28-2008 10:08 AM
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.