<?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: Dynamic Document - unwanted border in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505198#M1065765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any idea why you want to hide the border.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2008 13:40:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-07T13:40:14Z</dc:date>
    <item>
      <title>Dynamic Document - unwanted border</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505197#M1065764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a problem with removing border around Dynamic Document I created. &lt;/P&gt;&lt;P&gt;Below is my coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: o_dd_document TYPE REF TO cl_dd_document,  
          o_custom_container type ref to cl_gui_custom_container.

    CREATE OBJECT o_custom_container
    EXPORTING
     container_name              = 'DD_CONTAINER'
     style                       = cl_gui_control=&amp;gt;ws_*   "here whatever style constant I put, I can't hide the border

    CREATE OBJECT o_dd_document.

"here I am adding some elements to document
...
"then I am displaying it
CALL METHOD o_dd_document-&amp;gt;display_document
      EXPORTING
         parent             = o_custom_container.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with setting style directly on DD, but it isn't working too.&lt;/P&gt;&lt;P&gt;My question is: is there a way I can hide this unwanted border?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 12:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505197#M1065764</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-07T12:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Document - unwanted border</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505198#M1065765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any idea why you want to hide the border.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 13:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505198#M1065765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T13:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Document - unwanted border</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505199#M1065766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In custom container I want to store and image (logo program + some link)&lt;/P&gt;&lt;P&gt;I could use &lt;STRONG&gt;cl_gui_picture&lt;/STRONG&gt; class to display image without border, but the link would not work there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively instead of DD I could create cl_gui_picture + cl_gui_html_viewer (both have option to hide the border) and place them and CUSTOM_AREA, but this is workaround I would like to avoid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All in an image without a border just looks better, at least for me;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 13:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505199#M1065766</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-07T13:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Document - unwanted border</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505200#M1065767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok. I am trying various options it is not working. ws_* styles are not doing any thing. i will check any other ways to do this and post if i find any .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Oct 7, 2008 10:01 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 14:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505200#M1065767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-07T14:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Document - unwanted border</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505201#M1065768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know I've checked all of them too, but without an effect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking of another solution:&lt;/P&gt;&lt;P&gt;- creating custom container&lt;/P&gt;&lt;P&gt;- creating html viewer placing it in cust.container&lt;/P&gt;&lt;P&gt;- create DD placing it in html viewer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what SAP automatically does when displaying DD.&lt;/P&gt;&lt;P&gt;But I couldn't place DD in html viewer myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;Hi all ABAPers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a solution. I will write it here in case someone face similar problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When creating DD, SAP place it as described above (first custom container, then html viewer).&lt;/P&gt;&lt;P&gt;We can retireve this html viewer reference by using below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: o_html_viewer type ref to cl_gui_html_viewer.

"get actual instance where DD was placed
o_html_viewer = o_dd_document-&amp;gt;HTML_CONTROL.

"now we need to set appropriate flag for html viewer in order it doesn't display border
  CALL METHOD o_html_viewer-&amp;gt;set_ui_flag
  EXPORTING
    uiflag     = cl_gui_html_viewer=&amp;gt;UIFLAG_NO3DBORDER.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's it. It will result in displaying DD without border around it:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Marcin Pciak on Oct 7, 2008 7:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 14:08:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505201#M1065768</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-07T14:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Document - unwanted border</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505202#M1065769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solution was added to last post, please see it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2008 17:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505202#M1065769</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-07T17:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Document - unwanted border</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505203#M1065770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice solution, Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 14:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505203#M1065770</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2010-07-02T14:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Document - unwanted border</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505204#M1065771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcin!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was exactly the same problem i had, and your solution was the only way i could solve it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 11:54:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-document-unwanted-border/m-p/4505204#M1065771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T11:54:51Z</dc:date>
    </item>
  </channel>
</rss>

