<?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 cl_gui_alv_tree - Auto expand Node in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-auto-expand-node/m-p/1635883#M283553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Is it possible to auto expand all/some nodes in the ALV Tree(Uisng cl_gui_alv_tree Class) in the initial display? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Sep 2006 05:52:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-28T05:52:48Z</dc:date>
    <item>
      <title>cl_gui_alv_tree - Auto expand Node</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-auto-expand-node/m-p/1635883#M283553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Is it possible to auto expand all/some nodes in the ALV Tree(Uisng cl_gui_alv_tree Class) in the initial display? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 05:52:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-auto-expand-node/m-p/1635883#M283553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T05:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_alv_tree - Auto expand Node</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-auto-expand-node/m-p/1635884#M283554</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;  Try the below way to expand all nodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;   CALL METHOD TREE1-&amp;gt;EXPAND_NODES
     EXPORTING
       IT_NODE_KEY             = GT_NODE_KEY
     EXCEPTIONS
       FAILED                  = 1
       CNTL_SYSTEM_ERROR       = 2
       ERROR_IN_NODE_KEY_TABLE = 3
       DP_ERROR                = 4
       NODE_NOT_FOUND          = 5
       others                  = 6.
   IF SY-SUBRC &amp;lt;&amp;gt; 0.
*    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
   ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Note GT_NODE_KEY will be having the values of nodes that we wish to expand. Basing on the conditions and the nodes to expand, populate the node keys and call the method to expand the respective nodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 08:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-auto-expand-node/m-p/1635884#M283554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T08:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_alv_tree - Auto expand Node</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-auto-expand-node/m-p/1635885#M283555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Methods:   EXPAND_NODE   - Expands one Node&lt;/P&gt;&lt;P&gt;           EXPAND_NODES  - Expands Several Nodes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreejesh  P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 09:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-auto-expand-node/m-p/1635885#M283555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T09:06:38Z</dc:date>
    </item>
  </channel>
</rss>

