<?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: Toggle button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggle-button/m-p/916706#M58296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I missed the your comment on the bottom, that solved it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2005 13:49:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-10T13:49:17Z</dc:date>
    <item>
      <title>Toggle button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggle-button/m-p/916703#M58293</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;I would like to use a Toggle (like in me22n) and Full screen button (like in se80) in my dynpros, does anyone know how to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 13:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggle-button/m-p/916703#M58293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T13:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggle-button/m-p/916704#M58294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is a docking container hanging off the side of the application.  Here is a sample application which has a docking container hanging off of a selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report  zrich_0005.

data: imara type table of mara with header line.
data: it001w type table of t001w with header line.

parameters: p_check type c,
            p_rad1 radiobutton group grp1 default 'X',
            p_rad2 radiobutton group grp1,
            p_rad3 radiobutton group grp1.

start-of-selection.

at selection-screen output.

  data: dockingbottom type ref to cl_gui_docking_container,
        dockingright  type ref to cl_gui_docking_container,
        alv_bottom    type ref to cl_gui_alv_grid,
        alv_right     type ref to cl_gui_alv_grid,
        repid type syrepid.

  repid = sy-repid.

  select * into corresponding fields of table imara
              from mara
                    where mtart = 'ZNBW'.

  select * into corresponding fields of table it001w
              from t001w.


  check dockingbottom is initial.

  create object dockingbottom
              exporting repid     = repid
                        dynnr     = sy-dynnr
                        side      = dockingbottom-&amp;gt;dock_at_bottom
                        extension = 170.

  create object alv_bottom
                exporting i_parent = dockingbottom.


  call method alv_bottom-&amp;gt;set_table_for_first_display
      exporting
           i_structure_name       = 'MARA'
      changing
           it_outtab       = imara[].

  create object dockingright
              exporting repid     = repid
                        dynnr     = sy-dynnr
                        side      = dockingright-&amp;gt;dock_at_right
                        extension = 600.

  create object alv_right
              exporting i_parent = dockingright.

  call method alv_right-&amp;gt;set_table_for_first_display
     exporting
          i_structure_name       = 'T001W'
     changing
          it_outtab       = it001w[].

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All you have to do is put a button in your application which turns on/off the docking container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that you could use the method SET_VISIBLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 13:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggle-button/m-p/916704#M58294</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-06-10T13:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggle-button/m-p/916705#M58295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply, but I would like to show and hide part of the screen using a toggle button - or show and hide a container on a dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 13:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggle-button/m-p/916705#M58295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T13:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggle-button/m-p/916706#M58296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I missed the your comment on the bottom, that solved it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 13:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggle-button/m-p/916706#M58296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T13:49:17Z</dc:date>
    </item>
  </channel>
</rss>

