call function 'convert_otf_2_pdf'
exporting
archive_index = arc_idx
importing
bin_filesize = file_size
tables
otf = tab_otf_data-otfdata
doctab_archive = doctab
lines = pdf_tab
exceptions
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
others = 3
....
if not g_html_container is initial.
call method g_html_container->free.
endif.
create object g_html_container
exporting container_name = 'html_container'.
create object g_html_control
exporting parent = g_html_container.
loop at i_pdf_tab into l_cline.
assign l_cline to <l_xline> casting.
if l_len = 2.
append <l_xline> to l_pdf_uc_data.
else.
append <l_xline> to l_pdf_nuc_data.
endif.
endloop.
call method g_html_control->load_data
exporting
size = i_file_size
type = 'application'
subtype = 'pdf'
importing
assigned_url = url
changing
data_table = l_pdf_uc_data[].
if sy-subrc <> 0.
message id sy-msgid type 'i' number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
call method g_html_control->show_data
exporting
url = url
exceptions
cntl_error = 1.
if sy-subrc <> 0.
message id sy-msgid type 'i' number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
이소스의 전체 소스를 좀 받을수있을까요...ㅜㅜ
loop at i_pdf_tab into l_cline.
assign l_cline to <l_xline> casting.
if l_len = 2.
append <l_xline> to l_pdf_uc_data.
else.
append <l_xline> to l_pdf_nuc_data.
endif.
endloop.
이부분의 필드심볼과 테이블등 선언부가 하나두 없어서요 ㅜㅜ
또 컨버젼한 한 TABLES에 값들을 어떠케 가공한것인지요
좋은하루되세요^^
다른방법을 찾아 해결하였습니다^^