<?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: ALV Tree in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327904#M511812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok... the method TREE_GET_NODE_LAYOUT is called from method GET_OUTTAB_LINE that return ES_NODE_LAYOUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot to all.&lt;/P&gt;&lt;P&gt;Massimo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2007 13:29:00 GMT</pubDate>
    <dc:creator>massimo_sforza</dc:creator>
    <dc:date>2007-06-11T13:29:00Z</dc:date>
    <item>
      <title>ALV Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327897#M511805</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;maybe is a stupid question but I don't find the answer anywhere...&lt;/P&gt;&lt;P&gt;I'm using CL_GUI_ALV_TREE. When I build the hierarchy and set the parameters of a node, I put also IS_NODE_LAYOUT-ISFOLDER = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an event I have the node_key and I want the characteristic of this node and in particular if this node is a folder or not.&lt;/P&gt;&lt;P&gt;How to do this? What is the method to get the layout?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot.&lt;/P&gt;&lt;P&gt;Giuseppe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 08:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327897#M511805</guid>
      <dc:creator>massimo_sforza</dc:creator>
      <dc:date>2007-06-11T08:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327898#M511806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chek this sample report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BCALV_GRID_DND_TREE_SIMPLE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 08:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327898#M511806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T08:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327899#M511807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Vasanth,  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;thanks, but I can't solve my problem with this report because it use a different class and it has different methods and different parametrs for the events... or I'm not able to see where it is similar.  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;For example it use the parameter GROUPLEVEL in the event NODE_DOUBLE_CLICK to understand if that node is a folder or not, but in my class (CL_GUI_ALV_TREE) doesn't exist.  &lt;/P&gt;&lt;P&gt;And however this report not use parameters for LAYOUT.  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;I have already implemented all my report with class CL_GUI_ALV_TREE and I don't want to change all... is it possible that in this class I can't get the characteristic (layout) of a node?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:41:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327899#M511807</guid>
      <dc:creator>massimo_sforza</dc:creator>
      <dc:date>2007-06-11T09:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327900#M511808</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;Go through the link,&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvtree.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvtree.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also go through the below code,&lt;/P&gt;&lt;P&gt; LOOP AT it_ekko INTO wa_ekko.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build the node table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Caution: The nodes are inserted into the tree according to the order&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;in which they occur in the table. In consequence, a node must not&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;occur in the node table before its parent node.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Node with key 'Root'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    node-node_key = wa_ekko-ebeln. " 'Root'.   "#EC NOTEXT&lt;/P&gt;&lt;P&gt;    " Key of the node&lt;/P&gt;&lt;P&gt;    CLEAR node-relatkey.      " Special case: A root node has no parent&lt;/P&gt;&lt;P&gt;    CLEAR node-relatship.     " node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    node-hidden = ' '.        " The node is visible,&lt;/P&gt;&lt;P&gt;    node-disabled = ' '.      " selectable,&lt;/P&gt;&lt;P&gt;    node-isfolder = 'X'.      " a folder.&lt;/P&gt;&lt;P&gt;    CLEAR node-n_image.       " Folder-/ Leaf-Symbol in state "closed":&lt;/P&gt;&lt;P&gt;    " use default.&lt;/P&gt;&lt;P&gt;    CLEAR node-exp_image.     " Folder-/ Leaf-Symbol in state "open":&lt;/P&gt;&lt;P&gt;    " use default&lt;/P&gt;&lt;P&gt;    CLEAR node-expander.      " see below.&lt;/P&gt;&lt;P&gt;    node-text = wa_ekko-ebeln.      "'Root'.&lt;/P&gt;&lt;P&gt;    APPEND node TO node_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT it_ekpo INTO wa_ekpo WHERE ebeln EQ wa_ekko-ebeln.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Node with key wa_ekpo-ebelp    "'Child1'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      ld_node = sy-tabix.&lt;/P&gt;&lt;P&gt;      concatenate wa_ekpo-ebelp ld_node into ld_node.&lt;/P&gt;&lt;P&gt;      node-node_key = ld_node.  "'Child1'. #EC NOTEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Node is inserted as child of the node with key wa_ekpo-ebeln  "'Root'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      node-relatkey = wa_ekpo-ebeln.  " 'Root'.&lt;/P&gt;&lt;P&gt;      node-relatship = cl_gui_simple_tree=&amp;gt;relat_last_child.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      node-hidden = ' '.&lt;/P&gt;&lt;P&gt;      node-disabled = ' '.&lt;/P&gt;&lt;P&gt;      node-isfolder = ' '.&lt;/P&gt;&lt;P&gt;      CLEAR node-n_image.&lt;/P&gt;&lt;P&gt;      CLEAR node-exp_image.&lt;/P&gt;&lt;P&gt;      node-expander = ' '.  " The node is marked with a '+', although&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       it has no children. When the user clicks on the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       + to open the node, the event&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       expand_no_children is fired. The programmer can&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       add the children of the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       node within the event handler of the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       expand_no_children event&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       (see method handle_expand_no_children&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       of class lcl_application)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      node-text = wa_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;      APPEND node TO node_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Add nodes to alv tree&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL METHOD GD_TREE-&amp;gt;ADD_NODES&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      TABLE_STRUCTURE_NAME = 'MTREESNODE'&lt;/P&gt;&lt;P&gt;      NODE_TABLE           = NODE_TABLE&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      FAILED                         = 1&lt;/P&gt;&lt;P&gt;      ERROR_IN_NODE_TABLE            = 2&lt;/P&gt;&lt;P&gt;      DP_ERROR                       = 3&lt;/P&gt;&lt;P&gt;      TABLE_STRUCTURE_NAME_NOT_FOUND = 4&lt;/P&gt;&lt;P&gt;      OTHERS                         = 5.&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;Azaz Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:25:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327900#M511808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327901#M511809</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 think the method TREE_GET_NODE_LAYOUT is useful. here you have the node layout info in ES_NODE_LAYOUT when u supply the node key to I_NODE_KEY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 13:03:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327901#M511809</guid>
      <dc:creator>sharat_chandra</dc:creator>
      <dc:date>2007-06-11T13:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327902#M511810</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;already I tried to use this method but it is private and when I check the code, the system return this message:  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;"Access to protected method "TREE_GET_NODE_LAYOUT" is not allowed."  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Ther's a way to use a private method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 13:15:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327902#M511810</guid>
      <dc:creator>massimo_sforza</dc:creator>
      <dc:date>2007-06-11T13:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327903#M511811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... sorry, not private.... protected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 13:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327903#M511811</guid>
      <dc:creator>massimo_sforza</dc:creator>
      <dc:date>2007-06-11T13:18: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/2327904#M511812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok... the method TREE_GET_NODE_LAYOUT is called from method GET_OUTTAB_LINE that return ES_NODE_LAYOUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot to all.&lt;/P&gt;&lt;P&gt;Massimo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 13:29:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/2327904#M511812</guid>
      <dc:creator>massimo_sforza</dc:creator>
      <dc:date>2007-06-11T13:29:00Z</dc:date>
    </item>
  </channel>
</rss>

