<?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 Alv Tree in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913140#M1330135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz let me know how to find out the level count(level number) after expanding the alv tree.&lt;/P&gt;&lt;P&gt;In the UI if i drop down the nodes of a tree till some level, i need to know at what level i am in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2009 15:33:57 GMT</pubDate>
    <dc:creator>former_member841378</dc:creator>
    <dc:date>2009-07-17T15:33:57Z</dc:date>
    <item>
      <title>Alv Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913140#M1330135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz let me know how to find out the level count(level number) after expanding the alv tree.&lt;/P&gt;&lt;P&gt;In the UI if i drop down the nodes of a tree till some level, i need to know at what level i am in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 15:33:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913140#M1330135</guid>
      <dc:creator>former_member841378</dc:creator>
      <dc:date>2009-07-17T15:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alv Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913141#M1330136</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;This code will help u..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD G_ALV_TREE-&amp;gt;ADD_NODE&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_RELAT_NODE_KEY = P_RELAT_KEY&lt;/P&gt;&lt;P&gt;      IS_NODE_LAYOUT   = FOLDER&lt;/P&gt;&lt;P&gt;      I_RELATIONSHIP   = CL_GUI_COLUMN_TREE=&amp;gt;RELAT_LAST_CHILD&lt;/P&gt;&lt;P&gt;      I_NODE_TEXT      = L_NODE_TEXT&lt;/P&gt;&lt;P&gt;      IS_OUTTAB_LINE   = IT_KUNNR&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      E_NEW_NODE_KEY   = P_L_DATE_KEY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this  i_relate_node_key  tell the level of selection...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2009 05:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913141#M1330136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-20T05:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alv Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913142#M1330137</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;While you're adding nodes to your tree , you can fill an internal table with two fields which has 2 columns ; NODE KEY and LEVEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a node is picked , you can easily get the node key and find the level using the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can just write the level inside the structure of the node . You basiclly add a level field and make it invisible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2009 11:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913142#M1330137</guid>
      <dc:creator>huseyindereli</dc:creator>
      <dc:date>2009-07-22T11:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alv Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913143#M1330138</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;Thanks for your reply,but here i am not mannully populating the internal table which populates the tree 'or' in other words i cannot do any modifications while tree is gettng populated.&lt;/P&gt;&lt;P&gt;I need to trigger the PAI when i expand the third level of the tree..please let me know how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 05:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913143#M1330138</guid>
      <dc:creator>former_member841378</dc:creator>
      <dc:date>2009-07-23T05:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alv Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913144#M1330139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you've got the node key of the selected node , than you can easily find the level by the help of GET_PARENT&lt;/P&gt;&lt;P&gt;GET_PATH methods of cl_gui_alv_tree. Otherwise , considering the condition that you can't modify the program it is not possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 07:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/5913144#M1330139</guid>
      <dc:creator>huseyindereli</dc:creator>
      <dc:date>2009-07-23T07:21:02Z</dc:date>
    </item>
  </channel>
</rss>

