‎2011 Aug 24 10:46 AM
Hi there,
a strange problem raised.
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:
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->display_document
EXPORTING
parent = ip_go_dock.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.
CREATE OBJECT ip_go_dock_0002
EXPORTING
container_name = 'GC_HEADER'
repid = ip_repid
dynnr = '0002'.
CALL METHOD ip_go_header->display_document
EXPORTING
parent = ip_go_dock_0002.<body bottommargin="0">
<!%_BODYSTART>
<table border="0" cellpadding="3" width="100%">
<tr>
<td width="70%" align="left" valign="top">
<!%_A1!>
<span class="HEADING">Übergreifende Kommissionierung</span>
<!%_CURSOR!><!A1>
</td>
<td align="left" valign="top">
<!%_A2!>
img src="EB_LOGO2S.jpg"
<!%_CURSOR!><!A2>
</td>
</tr></table>
<!%_BODYEND>
</body>
</html>Dynpro 1 Logo is displayed
saphtmlp://htmlviewer.sap.com/X51KJdKuyadX00002cG6bW/EB_LOGO2S.jpg
Dynpro 2 - Logo is not displayed
saphtmlp://htmlviewer.sap.com/c}1KJkIey4dX00002cG6bW/EB_LOGO2S.jpg
‎2013 Oct 08 3:01 PM
Hi, Did you solve this. I have a similar problem. Pls share if any pointers. Thanks!