<?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: Split screen or docking container help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953314#M1602040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;please run and experiment report SAPSIMPLE_TREE_CONTROL_DEMO. If you double click on a node, the name of this node will appear on the right pane.&lt;/P&gt;&lt;P&gt;This is achieved in the implementation of class LCL_APPLICATION:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  METHOD  HANDLE_NODE_DOUBLE_CLICK.
    " this method handles the node double click event of the tree
                                       " control instance

    " show the key of the double clicked node in a dynpro field
    G_EVENT = 'NODE_DOUBLE_CLICK'.   "this populates a field in the dynpro
    G_NODE_KEY = NODE_KEY.           "this populates a field in the dynpro
  ENDMETHOD.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So G_EVENT and G_NODE_KEY are populated every time you double-click a node in the tree. NODE_KEY gives you information on the node which has been clicked.&lt;/P&gt;&lt;P&gt;I hope this helps. Kind regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2011 07:20:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-23T07:20:22Z</dc:date>
    <item>
      <title>Split screen or docking container help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953310#M1602036</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;&lt;/P&gt;&lt;P&gt;My program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a docking control where the user configure his own programs as nodes on the left pane&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On double click of node corresponding program has to appear or get executed on the right pane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 12:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953310#M1602036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T12:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Split screen or docking container help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953311#M1602037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;you must register the events in the left pane and then capture them for the right pane.&lt;/P&gt;&lt;P&gt;For example, if you are using a tree control, you have to register the events in this way:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: EVENTS TYPE CNTL_SIMPLE_EVENTS,
        event type cntl_simple_event.

* define the events which will be passed to the backend
  " node double click
  event-eventid = CL_GUI_SIMPLE_TREE=&amp;gt;EVENTID_NODE_DOUBLE_CLICK.
  event-appl_event = 'X'. " process PAI if event occurs
  APPEND event to events.

  CALL METHOD G_TREE-&amp;gt;SET_REGISTERED_EVENTS
    EXPORTING
      EVENTS = EVENTS
    EXCEPTIONS
      CNTL_ERROR                = 1
      CNTL_SYSTEM_ERROR         = 2
      ILLEGAL_EVENT_COMBINATION = 3.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE A000.
  ENDIF.

* assign event handlers in the application class to each desired event
  SET HANDLER G_APPLICATION-&amp;gt;HANDLE_NODE_DOUBLE_CLICK FOR G_TREE.
  SET HANDLER G_APPLICATION-&amp;gt;HANDLE_EXPAND_NO_CHILDREN FOR G_TREE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then you have to capture the events:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CLASS LCL_APPLICATION DEFINITION.

  PUBLIC SECTION.
    METHODS:
      HANDLE_NODE_DOUBLE_CLICK
        FOR EVENT NODE_DOUBLE_CLICK
        OF CL_GUI_SIMPLE_TREE
        IMPORTING NODE_KEY,
ENDCLASS.

CLASS LCL_APPLICATION IMPLEMENTATION.

  METHOD  HANDLE_NODE_DOUBLE_CLICK.
    " this method handles the node double click event of the tree
                                       " control instance

  ENDMETHOD.
  ...
ENDCLASS.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, please have a look at the Reuse Library (transaction SE83) &amp;gt; SAP Technology &amp;gt; Controls &amp;gt; Tree Controls, or go directly to program SAPSIMPLE_TREE_CONTROL_DEMO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps. Kind regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 14:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953311#M1602037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T14:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Split screen or docking container help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953312#M1602038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do I understand your right, you want to execute &lt;EM&gt;any&lt;/EM&gt; program in the right pane, e.g. a SAP standard transaction? Like in an iView... this is unfortunately not possible in SAPGUI environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Bodo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 14:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953312#M1602038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T14:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Split screen or docking container help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953313#M1602039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alvaro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code i have written already. My requirement is when the user double clicks on the left node i am able to identify where the user has clicked now i want to bring that selection screen on the right hand side of pane. Is it possible or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 06:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953313#M1602039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-23T06:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Split screen or docking container help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953314#M1602040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;please run and experiment report SAPSIMPLE_TREE_CONTROL_DEMO. If you double click on a node, the name of this node will appear on the right pane.&lt;/P&gt;&lt;P&gt;This is achieved in the implementation of class LCL_APPLICATION:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  METHOD  HANDLE_NODE_DOUBLE_CLICK.
    " this method handles the node double click event of the tree
                                       " control instance

    " show the key of the double clicked node in a dynpro field
    G_EVENT = 'NODE_DOUBLE_CLICK'.   "this populates a field in the dynpro
    G_NODE_KEY = NODE_KEY.           "this populates a field in the dynpro
  ENDMETHOD.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So G_EVENT and G_NODE_KEY are populated every time you double-click a node in the tree. NODE_KEY gives you information on the node which has been clicked.&lt;/P&gt;&lt;P&gt;I hope this helps. Kind regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 07:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953314#M1602040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-23T07:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Split screen or docking container help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953315#M1602041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alvaro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This won't work in my case. My selection screens will vary based on the program user has selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 12:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953315#M1602041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-23T12:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Split screen or docking container help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953316#M1602042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is: when you call a program, it is not on the right or something - it is always fullscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to keep the left pane, you have to foresee it in each program you call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course this is possible only in specific programs and you won't be able to do it generically&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 13:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-screen-or-docking-container-help/m-p/7953316#M1602042</guid>
      <dc:creator>franois_henrotte</dc:creator>
      <dc:date>2011-06-23T13:14:51Z</dc:date>
    </item>
  </channel>
</rss>

