on 12-01-2010 2:38 PM
Hi,
in my wd4a component I need to create pdf file from smartfom
I call generated FM for smartform and then use FM CONVERT_OTF to get xstring.
the only problem is, that created file has wrong encoding. special characters like ť or č are not displayed properly.
setting for smartforms:
ls_output_options-xsf = space. " XSF Output active
ls_output_options-xsfcmode = 'X'. " Get XSF params from program
ls_output_options-bcs_langu = sy-langu.
ls_output_options-tdnoprev = 'X'.
ls_control_parameters-langu = sy-langu.
ls_control_parameters-no_dialog = 'X'.
ls_control_parameters-getotf = 'X'.
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
EXPORTING
i_language = sy-langu
IMPORTING
e_devtype = ls_output_options-tdprinter
EXCEPTIONS
no_language = 1
language_not_installed = 2
no_devtype_found = 3
system_error = 4
OTHERS = 5.
Does anybody have any idea?
thanks
Juraj
Hi Juraj,
if these are Latin-2 characters, then true type fonts that support these characters must also be installed in SAP via report RSTXPDF2 as described in SAP note #141343.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have had font issues (not quite like yours) when I use our default Own Data->OutputDevice default of "LOHP". I have changed that to "LOCL" for differing results within the program when sending parameters to the Smartform. Both devices go to an HP printer, but something about their configuration, settings, drivers, etc makes them different.
job_output_options-tddest = 'LOCL'.
output_controls-tddest = 'LOCL'.
user_settings = ' '.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.