<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: View PDF without saving in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-pdf-without-saving/m-p/12122165#M1974331</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;
    CALL METHOD pdf_html_control-&amp;gt;load_data
    EXPORTING
      url          = i_url
        size         = l_len
      type         = 'application'
      subtype      = 'pdf'
    IMPORTING
      assigned_url = l_url
    CHANGING
      data_table   = l_pdf_data
    EXCEPTIONS
      OTHERS       = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is the code of the SP02, display PDF spool. There is no file &lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 12:13:15 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2019-12-17T12:13:15Z</dc:date>
    <item>
      <title>View PDF without saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-pdf-without-saving/m-p/12122164#M1974330</link>
      <description>&lt;P&gt;Good day all.I am combining data I read from the database with a PDF. I then view the filled in PDF using cl_gui_html_viewer. It seems I have to save the filled in PDF to my desktop before I can view it. Is there a way to view the filled in PDF without saving it?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 12:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-pdf-without-saving/m-p/12122164#M1974330</guid>
      <dc:creator>former_member609989</dc:creator>
      <dc:date>2019-12-17T12:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: View PDF without saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-pdf-without-saving/m-p/12122165#M1974331</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;
    CALL METHOD pdf_html_control-&amp;gt;load_data
    EXPORTING
      url          = i_url
        size         = l_len
      type         = 'application'
      subtype      = 'pdf'
    IMPORTING
      assigned_url = l_url
    CHANGING
      data_table   = l_pdf_data
    EXCEPTIONS
      OTHERS       = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is the code of the SP02, display PDF spool. There is no file &lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 12:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-pdf-without-saving/m-p/12122165#M1974331</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-12-17T12:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: View PDF without saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-pdf-without-saving/m-p/12122166#M1974332</link>
      <description>&lt;P&gt;My implementation saves a file...then loads and displays. Can you point me to an example which I can take a look at? Thanks. Mat.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 15:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-pdf-without-saving/m-p/12122166#M1974332</guid>
      <dc:creator>former_member609989</dc:creator>
      <dc:date>2019-12-17T15:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: View PDF without saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/view-pdf-without-saving/m-p/12122167#M1974333</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/users/771585/mathewlaba3.html"&gt;Mathew Laba&lt;/A&gt; Here is a Minimal Reproducible Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS dummy.
DATA go_html_viewer TYPE REF TO cl_gui_html_viewer.

AT SELECTION-SCREEN OUTPUT.
  IF go_html_viewer IS NOT BOUND.
    DATA: l_url   TYPE cndp_url,
          l_text  TYPE string.

    l_text = '&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;b&amp;gt;hello&amp;lt;/b&amp;gt; &amp;lt;i&amp;gt;world&amp;lt;/i&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;'.

    go_html_viewer = NEW cl_gui_html_viewer( parent = cl_gui_container=&amp;gt;screen0 ).

    data(soli_tab) = cl_bcs_convert=&amp;gt;string_to_soli( l_text ).
    go_html_viewer-&amp;gt;load_data(
        EXPORTING type = 'text' subtype = 'html' size = strlen( l_text )
        IMPORTING assigned_url = l_url
        CHANGING  data_table = soli_tab ).

    go_html_viewer-&amp;gt;show_url( url = l_url ).
  ENDIF.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Dec 2019 16:57:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/view-pdf-without-saving/m-p/12122167#M1974333</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-12-17T16:57:27Z</dc:date>
    </item>
  </channel>
</rss>

