Skip to Content
-1

Preview PDF document in application server without downloading to PC

Sep 21, 2017 at 07:57 AM

74

avatar image

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 ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sandra Rossi Sep 21, 2017 at 04:32 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded