<?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: Show/hide docking container in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/show-hide-docking-container/m-p/375458#M8767</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;when i do it like this, the variable lv_visible is still BLANK &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL METHOD lo_docking_container-&amp;gt;set_visible EXPORTING visible = 'X'.
  CALL METHOD cl_gui_cfw=&amp;gt;flush.
  CALL METHOD lo_docking_container-&amp;gt;get_visible IMPORTING visible = lv_visible.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Jan 2017 08:23:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-01-17T08:23:07Z</dc:date>
    <item>
      <title>Show/hide docking container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/show-hide-docking-container/m-p/375456#M8765</link>
      <description>&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;i have a docking container in my z-report. with method set_visible i can set the docking container visable or hide it (putting blank to visible parameter):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    CALL METHOD docking_control-&amp;gt;set_visible
      EXPORTING
        visible = 'X'
      EXCEPTIONS
        OTHERS  = 1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;so far, so good, BUT: i want to hide/display the container via one button in my alv grid. so i need to know the actual status of the container. so i have found the method get_visible of the class cl_gui_docking_container, see below. BUT: the lf_visible parameter returns always BLANK. there it does not matter if container is actual hided or displayed. &lt;/P&gt;&lt;P&gt;any ideas what i do wrong here ? Or is there any other method to find out if the docking container is currently displayed or hided ? &lt;/P&gt;&lt;P&gt;br Martin &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL METHOD docking_control-&amp;gt;get_visible
    IMPORTING
      visible           = lf_visible
    EXCEPTIONS
      cntl_error        = 1
      cntl_system_error = 2
      OTHERS            = 3.
&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Jan 2017 16:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/show-hide-docking-container/m-p/375456#M8765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-16T16:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide docking container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/show-hide-docking-container/m-p/375457#M8766</link>
      <description>&lt;P&gt;Many control framework methods require a subsequent CL_GUI_CFW=&amp;gt;FLUSH to get the variable filled out.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 20:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/show-hide-docking-container/m-p/375457#M8766</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-01-16T20:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide docking container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/show-hide-docking-container/m-p/375458#M8767</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;when i do it like this, the variable lv_visible is still BLANK &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL METHOD lo_docking_container-&amp;gt;set_visible EXPORTING visible = 'X'.
  CALL METHOD cl_gui_cfw=&amp;gt;flush.
  CALL METHOD lo_docking_container-&amp;gt;get_visible IMPORTING visible = lv_visible.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Jan 2017 08:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/show-hide-docking-container/m-p/375458#M8767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-17T08:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Show/hide docking container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/show-hide-docking-container/m-p/375459#M8768</link>
      <description>&lt;P&gt;Now i have found out that in the "normal" SAP GUI the lv_visible variable is set correct !!!! But NOT when i use SAP GUI HTML. unfortunately my application is SAP GUI HTML &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;  &lt;/P&gt;&lt;P&gt;so any ideas what i can use instead of this cl_gui_cfw=&amp;gt;flush   ??&lt;/P&gt;&lt;P&gt;br Martin &lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 08:44:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/show-hide-docking-container/m-p/375459#M8768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-17T08:44:26Z</dc:date>
    </item>
  </channel>
</rss>

