Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem while converting smartform out to PDF.

Former Member
0 Likes
574

Hi,

I have an issue while converting smartform output to PDF. After converting samrtform out to PDF, apostrophe(') is appearing as # in the pdf file. For example the word Indian's is getting printed as Indian#s. I'm using Helvetica font for printing this text.

How ever print preview is coming fine.

Could anybody provide me some inputs to solve this.

Thanks,

Rick.

3 REPLIES 3
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
508

What method are you using to convert OTF to PDF...?

Nabheet

Read only

Former Member
0 Likes
508

I'm using FM: CONVERT_OTF

CALL FUNCTION 'CONVERT_OTF'

EXPORTING

format = 'PDF'

IMPORTING

bin_filesize = lv_filesize

TABLES

otf = ls_job_info-otfdata

lines = lt_pdf_table

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.

Read only

Former Member
0 Likes
508

Hi,

Please refer the below link -

<link to blocked site removed by moderator>

Thanks,

Mansi

Edited by: Thomas Zloch on Dec 1, 2011 12:40 PM