<?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: Simple Tree using custom container in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-tree-using-custom-container/m-p/1428053#M205015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the standard program SAPSIMPLE_TREE_CONTROL_DEMO in SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the following code in the include SIMPLE_TREE_CONTROL_DEMOCL1.&lt;/P&gt;&lt;P&gt;&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,
      HANDLE_EXPAND_NO_CHILDREN
        FOR EVENT EXPAND_NO_CHILDREN
        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

    " show the key of the double clicked node in a dynpro field
    G_EVENT = 'NODE_DOUBLE_CLICK'.
    G_NODE_KEY = NODE_KEY.
  ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Amit Mishra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Jul 2006 05:59:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-01T05:59:47Z</dc:date>
    <item>
      <title>Simple Tree using custom container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-tree-using-custom-container/m-p/1428051#M205013</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;I am facing a problem, I am preparing a simple tree in a custom container of using two table such as mchb and mska, from these table i am selecting fields wearks ,matrn ,veblen, quantity , lgort (storage location) and made a internal table, for using this fields I sorted three times with werks for plant than storage location for those plant which was sorted than  material comes for all sorted plant and storage location ,for all sorting I made  node for all  i was using CONCATENATE command using index take all values of sorting make local index for all sorting, now i want to make when i double-click on material i want all field come in my tablecontrol which is there and than I want a pop-up window comes for further processing. &lt;/P&gt;&lt;P&gt;plese help me.&lt;/P&gt;&lt;P&gt;Ankur Garg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2006 05:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-tree-using-custom-container/m-p/1428051#M205013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-01T05:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Tree using custom container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-tree-using-custom-container/m-p/1428052#M205014</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;You can create a class to manage the event of tree (see the event for double clic: NODE_DOUBLE_CLICK).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2006 05:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-tree-using-custom-container/m-p/1428052#M205014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-01T05:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Tree using custom container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-tree-using-custom-container/m-p/1428053#M205015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the standard program SAPSIMPLE_TREE_CONTROL_DEMO in SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the following code in the include SIMPLE_TREE_CONTROL_DEMOCL1.&lt;/P&gt;&lt;P&gt;&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,
      HANDLE_EXPAND_NO_CHILDREN
        FOR EVENT EXPAND_NO_CHILDREN
        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

    " show the key of the double clicked node in a dynpro field
    G_EVENT = 'NODE_DOUBLE_CLICK'.
    G_NODE_KEY = NODE_KEY.
  ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Amit Mishra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2006 05:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-tree-using-custom-container/m-p/1428053#M205015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-01T05:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Tree using custom container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-tree-using-custom-container/m-p/1428054#M205016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I  create my local class before sensing my problem ,because I am getting data when i take fields of my internal table on that screen on double click event, but i have problem when i  create table control on that screen the values not come in table control instead of field form get programs please help me.&lt;/P&gt;&lt;P&gt;Ankur Garg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 06:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-tree-using-custom-container/m-p/1428054#M205016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T06:48:51Z</dc:date>
    </item>
  </channel>
</rss>

