메뉴 건너뛰기

SAP 한국 커뮤니티

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

erdfg 2008.09.24 18:22 조회 수 : 2248 추천: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 뷰어는 열리지 않네요.


 



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


 


 


 


 


번호 제목 글쓴이 날짜 조회 수
2349 <b>[완료]</b>set_table_for_first_display를 이용해서 alv 출력내용중 search help 사용지 덤프에러 [2] 잠만이 2008.09.29 2392
2348 <b>[완료]</b>SUBMIT 또는 CALL TRANSACTION 에 관해서... [5] chanmaniac 2008.09.29 4754
2347 <b>[완료]</b>Request 번호를 잘못 따왔을 때 수정하는 방법?? [3] 햇병아리 2008.09.29 1593
2346 [요청]자금의 실적관리 표준 모듈 설명좀 해주세요(파일첨부-좀더 구체적으로) [1] file dkqkq 2008.09.24 1531
2345 <b>[완료]</b>DISTINCT 기능을 써보려고 하는데... 잘 모르겠네요. [4] 행복을 파는 외계인 2008.09.29 3358
2344 [요청]BAPI를 이용해서 PO를 생성하고, 바로 입고처리를 하려고 합니다. [2] 효방 ^-^ 2008.09.29 1860
2343 [요청]if문에서 and를 적용하는데 않되는부분이 있어서 질문 드립니다. [11] 캔디^^ 2008.09.29 2727
2342 [요청]SELECTION-SCREEN, at slection-screen에 대한 질문입니다. [1] 로미오 2008.09.29 1266
2341 <b>[완료]</b>BDC 디스플레이 모드로 출력 시 OK-CODE 창 처리를 어떻게 하나요? [2] file 넷가이 2008.09.26 3269
2340 [요청]도메인 속성 관련 및 SE11에서 데이터 조회관련 질문 [1] MM초보^^ 2008.09.26 6510
2339 <b>[완료]</b>Webdynpro 실습을 하려고 할때, 레이아웃이랑 브라우저로 화면이 안나올때 어떻게 해야 하나요? [5] file 하오 2008.09.26 2074
2338 [요청]smartform pdf 파일변환 후 다운로드 받으면 폰트가... [1] erdfg 2008.09.25 2264
2337 [요청]트라이얼버전 설치후, Start Application 시 빨간색 에러창으로 뜨는 문제 어떻게 해결하나요? [2] file 하오 2008.09.25 1293
2336 <b>[완료]</b>[완료]덤프 오류 관련 문제 해결이 안되네요.. [2] Hyui 2008.09.25 1428
2335 [요청][TOP OF PAGE] AND [체크박스] 다시 질문 올립니다~! [1] dndb 2008.09.25 1284
2334 [요청]도킹컨테이너사용시 커스터머컨테이너처럼 화면에서 움직이지않고 고정하는방법 있나요 혹시 [1] 기본도없는초보 2008.09.25 1829
2333 <b>[완료]</b> HR9550 이것은 무엇이죠? 궁금합니다.. [1] unicrn 2008.09.25 1247
2332 [요청]SAPSCRIPT 컬러 이미지 삽입 관련 질문입니다. 사탕수수 2008.09.25 2088
2331 <b>[완료]</b>[급] sap 쿼리 오류 문제.. 알려주세요...ㅠㅠ unicrn 2008.09.25 2281
2330 [요청]textedit 수정하여 저장이 안되요... 하얀곰 2008.09.25 2067