We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] Set Encoding Parameter in FM 'CONVERT_OTFSPOOLJOB_2_PDF'?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from teeraw on Jun 26 at 6:16 AM
Hi tamega_ma,

I find the Encoding wording in PDF, it was said WinAnsiEncoding (It does not shown as UTF-8 or 874 to support Thai)

On SAP side, can I set some config to force PDF output as unicode?

---------------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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
teeraw  

achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language