<?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: Document Viewer: Show document inplace using &amp;quot;view_document_from_table&amp;quot; in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-viewer-show-document-inplace-using-quot-view-document-from-table/m-p/7745702#M1582184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI margger,&lt;/P&gt;&lt;P&gt;to see a pdf take a look to f.m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR_IT_DISPLAY_WITH_PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's very simple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2011 14:21:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-22T14:21:36Z</dc:date>
    <item>
      <title>Document Viewer: Show document inplace using "view_document_from_table"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-viewer-show-document-inplace-using-quot-view-document-from-table/m-p/7745701#M1582183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am trying to show a pdf-document on a dynpro using i_io_document_viewer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as I don't activate "show_inplace", it works fine. The document is correctly shown in an external browser window. So the parameters i export seem to be allright. But when I set show_inplace='X' nothing happens - neigther the document is shown nor I get an error. I think my way to create the control and the container could be the problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name of my Custom Control at the dynpro: CC_DOCUMENT&lt;/P&gt;&lt;P&gt;my_viewer TYPE REF TO i_oi_document_viewer&lt;/P&gt;&lt;P&gt;my_custom_container TYPE REF TO cl_gui_custom_container&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    CALL METHOD c_oi_container_control=&amp;gt;get_document_viewer
      IMPORTING viewer = my_viewer.

    CREATE OBJECT my_custom_container
      EXPORTING container_name = 'CC_DOCUMENT'.

    CALL METHOD my_viewer-&amp;gt;init_viewer
      EXPORTING parent = my_custom_container.

    CALL METHOD my_viewer-&amp;gt;view_document_from_table
      EXPORTING show_inplace = 'X'      "With ' ' it works...but of couse NOT inplace :-(
              type = 'application'
              subtype = 'pdf'
              size = file_size
      CHANGING  document_table = file_table
    .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody see my mistake? I've been searching for hours -.-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for helping,&lt;/P&gt;&lt;P&gt;Best regards, margger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: margger on Mar 22, 2011 2:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 13:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-viewer-show-document-inplace-using-quot-view-document-from-table/m-p/7745701#M1582183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T13:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Document Viewer: Show document inplace using "view_document_from_table"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-viewer-show-document-inplace-using-quot-view-document-from-table/m-p/7745702#M1582184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI margger,&lt;/P&gt;&lt;P&gt;to see a pdf take a look to f.m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR_IT_DISPLAY_WITH_PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's very simple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 14:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-viewer-show-document-inplace-using-quot-view-document-from-table/m-p/7745702#M1582184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T14:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Document Viewer: Show document inplace using "view_document_from_table"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-viewer-show-document-inplace-using-quot-view-document-from-table/m-p/7745703#M1582185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer. The problem is that the .pdf is only a test file - later there will be images, movies, pdf-documents, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the integration of the document viewer would be nice. And, like I said, showing the document works, but not embedded in my dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;margger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 14:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-viewer-show-document-inplace-using-quot-view-document-from-table/m-p/7745703#M1582185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T14:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Document Viewer: Show document inplace using "view_document_from_table"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-viewer-show-document-inplace-using-quot-view-document-from-table/m-p/7745704#M1582186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, i found the problem. It was somewhere else. My container was killed in PBO after putting the document in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 14:49:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-viewer-show-document-inplace-using-quot-view-document-from-table/m-p/7745704#M1582186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T14:49:18Z</dc:date>
    </item>
  </channel>
</rss>

