10-09-2007 9:27 AM
Hi experts,
I having my problem in smartform convert to pdf. I can preview the smartforms and it can show the chinese character properly. But after i run the convert to pdf function, it unable to show the chinese word. it display # # # instead.
here is my functions:
bin_filesize TYPE i,
pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE,
tab_otf_final TYPE itcoo OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = bin_filesize
TABLES
otf = tab_otf_final
lines = pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5
.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
May i know how to solved it?
Thanks and Regards
10-09-2007 9:34 AM