Skip to Content
-1

Preview PDF document in application server without downloading to PC

Hi all,

I uploaded PDF document to application server using ARCHIVFILE_CLIENT_TO_SERVER function. Now I want to view saved PDF document when a button click on dialog program screen. How to load saved PDF to PDF preview without downloading in to PC ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 21, 2017 at 04:32 PM

    You may upload the PDF file from the frontend into an internal table, and display it via the HTML Viewer control (CL_GUI_HTML_VIEWER) and passing the MIME type application/pdf. See the demo program RSDEMO_HTML_VIEWER to display an image, and the function module SCWB_NOTE_DISPLAY_PDF for displaying a PDF more specifically.

    Add comment
    10|10000 characters needed characters exceeded