Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

chinese char issue in smartform preview as pdf format

Hi chinese guy!!

please help me with chinese char in smartform preview as pdf format

i created smartform with chinese char and then when executing this smartform by t-code smartforms, it show as simplified chinese char, but when getting JOB_OUTPUT_INFO in order to convert OTF as pdf format, although smartforms performed as pdf format, only chinese char were broken. smartform with english or korean language does not have any issue, only chinese issue now.

    • i got into r/3 as logon ZH by SAP GUI english version and i used adobe acrobat reader chinese simplifed version. r/3 version is ecc60 unicode system***

please help me,, any chinese guy there?

1. CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

2. CONTORL_PARAMETERS-NO_DIALOG = 'X'.

CONTORL_PARAMETERS-GETOTF = 'X'.

OUTPUT_OPTIONS-TDNOPREV = 'X'.

CLEAR JOB_OUTPUT_INFO.

3.

CALL FUNCTION FUNCTION

EXPORTING

CONTROL_PARAMETERS = CONTORL_PARAMETERS

OUTPUT_OPTIONS = OUTPUT_OPTIONS

IMPORTING

JOB_OUTPUT_INFO = JOB_OUTPUT_INFO

TABLES

ITEM = ITEM

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

SEND_ERROR = 3

USER_CANCELED = 4.

OTF_TAB[] = JOB_OUTPUT_INFO-OTFDATA[].

CALL FUNCTION 'CONVERT_OTF'

EXPORTING

FORMAT = 'PDF'

IMPORTING

BIN_FILESIZE = PDF_FSIZE

TABLES

OTF = OTF_TAB

LINES = PDF_TABLE

EXCEPTIONS

ERR_MAX_LINEWIDTH = 1

ERR_FORMAT = 2

ERR_CONV_NOT_POSSIBLE = 3

OTHERS = 4.

Former Member
Former Member replied

hi,

please see the notes 999712.

thanks

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question