<?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 CL_DD_DOCUMENT  problems with Logo-Displaying in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-dd-document-problems-with-logo-displaying/m-p/8127495#M1619026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;a strange problem raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a dd_document with class cl_dd_document and show this document on a classic dynpro in a custom_container. That works fine calling these methods:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data:
  ip_go_dock       type ref to cl_gui_custom_container,
  ip_go_dock_0002  type ref to cl_gui_custom_container,
  ip_go_header     type ref to cl_dd_document,
  ip_repid         type sy-repid.

  ip_repid = sy-repid.


   CREATE OBJECT ip_go_dock
     EXPORTING
       container_name = 'GC_HEADER'
       repid          = ip_repid
       dynnr          = '0001'.

   CALL METHOD ip_go_header-&amp;gt;display_document
     EXPORTING
       parent = ip_go_dock.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt; the Problem&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At a second step I want to display the same document on a different dypro, but the graphic is lost. The generated html-code is still the same but somehow the graphic address changed and the logo is not displayed anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE OBJECT ip_go_dock_0002
     EXPORTING
       container_name  = 'GC_HEADER'
       repid           = ip_repid
       dynnr           = '0002'.

   CALL METHOD ip_go_header-&amp;gt;display_document
     EXPORTING
       parent = ip_go_dock_0002.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;Both dynpros deliver this html-code for the body:&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;body bottommargin="0"&amp;gt;
&amp;lt;!%_BODYSTART&amp;gt;
&amp;lt;table border="0" cellpadding="3" width="100%"&amp;gt;
  &amp;lt;tr&amp;gt;
      &amp;lt;td width="70%" align="left" valign="top"&amp;gt;
         &amp;lt;!%_A1!&amp;gt;
         &amp;lt;span class="HEADING"&amp;gt;Übergreifende Kommissionierung&amp;lt;/span&amp;gt;
         &amp;lt;!%_CURSOR!&amp;gt;&amp;lt;!A1&amp;gt;
      &amp;lt;/td&amp;gt;
                                                                                &amp;lt;td align="left" valign="top"&amp;gt;
         &amp;lt;!%_A2!&amp;gt;
          img src="EB_LOGO2S.jpg" 
         &amp;lt;!%_CURSOR!&amp;gt;&amp;lt;!A2&amp;gt;
      &amp;lt;/td&amp;gt;
  &amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;
  &amp;lt;!%_BODYEND&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;Right-clicking the Logo delivers following addresses:&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynpro 1   Logo is displayed&lt;/P&gt;&lt;P&gt;saphtmlp://htmlviewer.sap.com/X51KJdKuyadX00002cG6bW/EB_LOGO2S.jpg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynpro 2  -  Logo is not displayed&lt;/P&gt;&lt;P&gt;saphtmlp://htmlviewer.sap.com/c}1KJkIey4dX00002cG6bW/EB_LOGO2S.jpg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2011 09:46:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-24T09:46:30Z</dc:date>
    <item>
      <title>CL_DD_DOCUMENT  problems with Logo-Displaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-dd-document-problems-with-logo-displaying/m-p/8127495#M1619026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;a strange problem raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a dd_document with class cl_dd_document and show this document on a classic dynpro in a custom_container. That works fine calling these methods:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data:
  ip_go_dock       type ref to cl_gui_custom_container,
  ip_go_dock_0002  type ref to cl_gui_custom_container,
  ip_go_header     type ref to cl_dd_document,
  ip_repid         type sy-repid.

  ip_repid = sy-repid.


   CREATE OBJECT ip_go_dock
     EXPORTING
       container_name = 'GC_HEADER'
       repid          = ip_repid
       dynnr          = '0001'.

   CALL METHOD ip_go_header-&amp;gt;display_document
     EXPORTING
       parent = ip_go_dock.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt; the Problem&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At a second step I want to display the same document on a different dypro, but the graphic is lost. The generated html-code is still the same but somehow the graphic address changed and the logo is not displayed anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE OBJECT ip_go_dock_0002
     EXPORTING
       container_name  = 'GC_HEADER'
       repid           = ip_repid
       dynnr           = '0002'.

   CALL METHOD ip_go_header-&amp;gt;display_document
     EXPORTING
       parent = ip_go_dock_0002.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;Both dynpros deliver this html-code for the body:&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;body bottommargin="0"&amp;gt;
&amp;lt;!%_BODYSTART&amp;gt;
&amp;lt;table border="0" cellpadding="3" width="100%"&amp;gt;
  &amp;lt;tr&amp;gt;
      &amp;lt;td width="70%" align="left" valign="top"&amp;gt;
         &amp;lt;!%_A1!&amp;gt;
         &amp;lt;span class="HEADING"&amp;gt;Übergreifende Kommissionierung&amp;lt;/span&amp;gt;
         &amp;lt;!%_CURSOR!&amp;gt;&amp;lt;!A1&amp;gt;
      &amp;lt;/td&amp;gt;
                                                                                &amp;lt;td align="left" valign="top"&amp;gt;
         &amp;lt;!%_A2!&amp;gt;
          img src="EB_LOGO2S.jpg" 
         &amp;lt;!%_CURSOR!&amp;gt;&amp;lt;!A2&amp;gt;
      &amp;lt;/td&amp;gt;
  &amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;
  &amp;lt;!%_BODYEND&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;&lt;SPAN&gt;Right-clicking the Logo delivers following addresses:&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynpro 1   Logo is displayed&lt;/P&gt;&lt;P&gt;saphtmlp://htmlviewer.sap.com/X51KJdKuyadX00002cG6bW/EB_LOGO2S.jpg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynpro 2  -  Logo is not displayed&lt;/P&gt;&lt;P&gt;saphtmlp://htmlviewer.sap.com/c}1KJkIey4dX00002cG6bW/EB_LOGO2S.jpg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 09:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-dd-document-problems-with-logo-displaying/m-p/8127495#M1619026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-24T09:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: CL_DD_DOCUMENT  problems with Logo-Displaying</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-dd-document-problems-with-logo-displaying/m-p/8127496#M1619027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Did you solve this. I have a similar problem. Pls share if any pointers. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 14:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-dd-document-problems-with-logo-displaying/m-p/8127496#M1619027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-08T14:01:14Z</dc:date>
    </item>
  </channel>
</rss>

