Hi,
I'm working with webdynpro abap and in my application I have to generate a smartform which one has been created and converted to a PDF file.
In the conversion routine, some special characters are loosing the properties itself, for example: the characterΩ has been transformed in © and I don't know why this is happening.
The function that I'm using to generato the pdf file is the code below:
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_file = e_result
TABLES
otf = t_out-otfdata
lines = t_saida
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
And after I take the bin file that the function returns and use the static method from the cl_wd_runtime_services class:
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'Calibracao.PDF'
i_content = v_pdf
i_mime_type = 'application/pdf'
i_in_new_window = 'X'
i_inplace = 'X'
).
Follow an attachment file...
Anyone knows can help?