메뉴 건너뛰기

SAP 한국 커뮤니티

<b>[완료]</b>smartform pdf 파일 바로 열기가 안돼요...

erdfg 2008.09.25 03:22 조회 수 : 2293 추천:2

스마트폼 내용을 pdf 파일로 열려고 하는데 안되네요.


 


pdf 파일로 변환하고 다운로드는 정상적으로 되는데 바로 파일을 여는게 안되서요..


 


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.


 


call method  모두 sy-subrc 는 0 이라 에러도 없는데 pdf 뷰어는 열리지 않네요.


 



원인이 뭘까요? 고수님들의 답변 부탁드립니다.


 


 


 


 


번호 제목 글쓴이 날짜 조회 수
2339 <b>[완료]</b>Webdynpro 실습을 하려고 할때, 레이아웃이랑 브라우저로 화면이 안나올때 어떻게 해야 하나요? [5] file 하오 2008.09.26 2131
2338 [요청]smartform pdf 파일변환 후 다운로드 받으면 폰트가... [1] erdfg 2008.09.26 2359
2337 [요청]트라이얼버전 설치후, Start Application 시 빨간색 에러창으로 뜨는 문제 어떻게 해결하나요? [2] file 하오 2008.09.26 1297
2336 <b>[완료]</b>[완료]덤프 오류 관련 문제 해결이 안되네요.. [2] Hyui 2008.09.25 1434
2335 [요청][TOP OF PAGE] AND [체크박스] 다시 질문 올립니다~! [1] dndb 2008.09.25 1315
2334 [요청]도킹컨테이너사용시 커스터머컨테이너처럼 화면에서 움직이지않고 고정하는방법 있나요 혹시 [1] 기본도없는초보 2008.09.25 1836
2333 <b>[완료]</b> HR9550 이것은 무엇이죠? 궁금합니다.. [1] unicrn 2008.09.25 1254
2332 [요청]SAPSCRIPT 컬러 이미지 삽입 관련 질문입니다. 사탕수수 2008.09.25 2101
2331 <b>[완료]</b>[급] sap 쿼리 오류 문제.. 알려주세요...ㅠㅠ unicrn 2008.09.25 2303
2330 [요청]textedit 수정하여 저장이 안되요... 하얀곰 2008.09.25 2098
2329 <b>[완료]</b>excel 파일 첨부해서 E-mail 보낼때 한글 깨짐 현상 발생 [3] file 김영욱 2008.09.25 3445
» <b>[완료]</b>smartform pdf 파일 바로 열기가 안돼요... [1] erdfg 2008.09.25 2293
2327 [요청]Write에 관하여.... 급합니다!!! [2] YaoGuai 2008.09.25 2010
2326 [요청]ALV List 방식으로 Header 에 Write 로 구현 가능한가요 ? [2] file 꼬맹이 2008.09.25 1378
2325 [요청]REUSE_ALV_GRID_DISPLAY 에서 필드카탈로그 변경시 화면에 반영안될때 [4] Happy~ 2008.09.25 2024
2324 [요청]ALV 리스트에서 탑오브리스트로 헤더부분 나오는거랑 OUPUT FIELD에서 체크박스 관련 질문 2개요~~ 급해욤~^^* [2] dndb 2008.09.24 1423
2323 [요청]ALV에 SEARCH HELP 다는 방법좀 가르쳐 주세요 [1] 123456 2008.09.24 3604
2322 <b>[완료]</b>ALV 화면의 REFRESH 하는 명령이 뭔가요? [2] 보경아빠 2008.09.24 2368
2321 [요청]ALV구현시 LAYOUT넓이 최적화가 안되네요!! [3] CoolGuy 2008.09.24 3128
2320 <b>[완료]</b>mainternance view(유지보수 뷰)에서 내역자동 기입.. [1] redlemon14 2008.09.24 2165