Skip to Content
0
Apr 07, 2010 at 07:05 AM

Funct: CONVERT_OTF or CONVERT_OTF_2_PDF not conver to pdf ECC 6.0

441 Views

Hello,

I have a problem, this function dont convert to pdf.

when I invocate this smartforms in a table 'output_info' get different symbols after I invocate this function 'CONVERT_OTF' but it dosent convert to pdf.

Before the customer have ERP R/3 4.6c THEM last month update version ECC 6.0.

can you help me, please.

1.

call function lf_fm_name

exporting

archive_index = toa_dara

archive_parameters = arc_params

control_parameters = ls_control_param

mail_recipient = ls_recipient

mail_sender = ls_sender

output_options = ls_composer_param

is_ekko = l_doc-xekko

user_settings = ' ' "Disable User Printer

is_pekko = l_doc-xpekko

is_nast = l_nast

iv_from_mem = l_from_memory

iv_druvo = iv_druvo

iv_xfz = iv_xfz

iv_nocopias = ' '

importing

job_output_info = output_info

job_output_options = output_option

tables

it_ekpo = l_doc-xekpo[]

it_ekpa = l_doc-xekpa[]

it_pekpo = l_doc-xpekpo[]

it_eket = l_doc-xeket[]

it_tkomv = l_doc-xtkomv[]

it_ekkn = l_doc-xekkn[]

it_ekek = l_doc-xekek[]

it_komk = l_xkomk[]

exceptions

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

others = 5.

2-

CALL FUNCTION 'CONVERT_OTF'

EXPORTING

format = 'PDF'

max_linewidth = 132

IMPORTING

bin_filesize = v_len_in

  • bin_file = l_pdf_xstring

TABLES

otf = i_otf

lines = i_tline

EXCEPTIONS

err_max_linewidth = 1

err_format = 2

err_conv_not_possible = 3

OTHERS = 4.

Regards,

Gustavo