Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from tamega_ma on Jun 26 at 5:14 AM Hi , Try RSTXPDFT4 if it works. put a breakpoint on the call of "CONVERT_OTFSPOOLJOB_2_PDF" copy-past the FM params. 2012/6/26 teeraw email@removed > ** > Question from teeraw on Jun 26 at 3:44 AM I have ABAP program to > export OTF spool to PDF. But I was found problem about PDF encoding cannot > display Thai. (My SAP database is Unicode, but my PDF output seems ANSI > encoding that have problem to display Thai) > > Can I set encoding parameter in FM "CONVERT_OTFSPOOLJOB_2_PDF"? > > My code: > ... > CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF' > EXPORTING > src_spoolid = pl_print-rqident > no_dialog = c_flag > * DST_DEVICE = 'PDF1' > * PDF_DESTINATION = > * IMPORTING > * PDF_BYTECOUNT = > * PDF_SPOOLID = > * OTF_PAGECOUNT = > * BTC_JOBNAME = > * BTC_JOBCOUNT = > TABLES > pdf = t_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 > OTHERS = 12. > .... > > Thank you. > > *Reply to this email* to post your response.
| | | ---------------Original Message--------------- From: teeraw Sent: Tuesday, June 26, 2012 3:45 AM Subject: Set Encoding Parameter in FM 'CONVERT_OTFSPOOLJOB_2_PDF'? I have ABAP program to export OTF spool to PDF. But I was found problem about PDF encoding cannot display Thai. (My SAP database is Unicode, but my PDF output seems ANSI encoding that have problem to display Thai) Can I set encoding parameter in FM "CONVERT_OTFSPOOLJOB_2_PDF"? My code: ... CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF' EXPORTING src_spoolid = pl_print-rqident no_dialog = c_flag * DST_DEVICE = 'PDF1' * PDF_DESTINATION = * IMPORTING * PDF_BYTECOUNT = * PDF_SPOOLID = * OTF_PAGECOUNT = * BTC_JOBNAME = * BTC_JOBCOUNT = TABLES pdf = t_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 OTHERS = 12. .... Thank you. | | Reply to this email to post your response. __.____._ | _.____.__ |