Skip to Content
0
Dec 27, 2012 at 04:32 AM

korean spool to PDF giving garbage values

72 Views

Hi,

My requirement is to convert script output as PDF and send as email attachment . My issue is, i am getting PDF in email with garbage values for korean letter english letter working fine. Please help me .

for conversion spool to PDF i am using FM

CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = i_itcpp-tdspoolid
no_dialog = 'X'
IMPORTING
pdf_bytecount = tp_numbytes
pdf_spoolid = tp_pdfsplid
btc_jobname = tp_jobname
btc_jobcount = tp_jobcount
TABLES
pdf = ta_pdf
EXCEPTIONS
err_no_otf_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_dstdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11.

Regards,

manon