메뉴 건너뛰기

SAP 한국 커뮤니티

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

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


 



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


 


 


 


 


번호 제목 글쓴이 날짜 조회 수
4195 <b>[완료]</b>tunning 관련 질문입니다 SQL TRACE (ST05) 에 관하여 좀 가르쳐 주세요 [2] 아밥어렵네요 2008.09.23 3617
4194 <b>[완료]</b>mainternance view(유지보수 뷰)에서 내역자동 기입.. [1] redlemon14 2008.09.23 2146
4193 [요청]ALV구현시 LAYOUT넓이 최적화가 안되네요!! [3] CoolGuy 2008.09.23 2972
4192 <b>[완료]</b>ALV 화면의 REFRESH 하는 명령이 뭔가요? [2] 보경아빠 2008.09.24 2361
4191 [요청]ALV에 SEARCH HELP 다는 방법좀 가르쳐 주세요 [1] 123456 2008.09.24 3501
4190 [요청]ALV 리스트에서 탑오브리스트로 헤더부분 나오는거랑 OUPUT FIELD에서 체크박스 관련 질문 2개요~~ 급해욤~^^* [2] dndb 2008.09.24 1413
4189 [요청]자금의 실적관리 표준 모듈 설명좀 해주세요(파일첨부-좀더 구체적으로) [1] file dkqkq 2008.09.24 1532
4188 [요청]REUSE_ALV_GRID_DISPLAY 에서 필드카탈로그 변경시 화면에 반영안될때 [4] Happy~ 2008.09.24 1964
4187 [요청]ALV List 방식으로 Header 에 Write 로 구현 가능한가요 ? [2] file 꼬맹이 2008.09.24 1372
4186 [요청]Write에 관하여.... 급합니다!!! [2] YaoGuai 2008.09.24 1998
» <b>[완료]</b>smartform pdf 파일 바로 열기가 안돼요... [1] erdfg 2008.09.24 2258
4184 <b>[완료]</b>excel 파일 첨부해서 E-mail 보낼때 한글 깨짐 현상 발생 [3] file 김영욱 2008.09.24 3393
4183 [요청]textedit 수정하여 저장이 안되요... 하얀곰 2008.09.25 2076
4182 <b>[완료]</b>[급] sap 쿼리 오류 문제.. 알려주세요...ㅠㅠ unicrn 2008.09.25 2282
4181 [요청]SAPSCRIPT 컬러 이미지 삽입 관련 질문입니다. 사탕수수 2008.09.25 2092
4180 <b>[완료]</b>[완료]덤프 오류 관련 문제 해결이 안되네요.. [2] Hyui 2008.09.25 1428
4179 <b>[완료]</b> HR9550 이것은 무엇이죠? 궁금합니다.. [1] unicrn 2008.09.25 1247
4178 [요청]도킹컨테이너사용시 커스터머컨테이너처럼 화면에서 움직이지않고 고정하는방법 있나요 혹시 [1] 기본도없는초보 2008.09.25 1829
4177 [요청][TOP OF PAGE] AND [체크박스] 다시 질문 올립니다~! [1] dndb 2008.09.25 1284
4176 [요청]트라이얼버전 설치후, Start Application 시 빨간색 에러창으로 뜨는 문제 어떻게 해결하나요? [2] file 하오 2008.09.25 1293