2017 Sep 21 8:57 AM
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 ?
2017 Sep 21 5: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.