<?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: cl_gui_alv_tree node layout not working! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-node-layout-not-working/m-p/5735920#M1300750</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;Check this demo program BCALV_TREE_06. You can find the soluition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2009 11:43:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-27T11:43:13Z</dc:date>
    <item>
      <title>cl_gui_alv_tree node layout not working!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-node-layout-not-working/m-p/5735919#M1300749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a Tree, and an Item layout. All setting in the node_layout don't work,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the item layout i set a specific item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set this icon, i still have the "folder" icon of the node layout in my tree, so i have two displayed items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats why i tried to set the icon of the node layout to the "dummy_icon"&lt;/P&gt;&lt;P&gt;however, all settings i try with the node layout didn't work. If I set an icon into the node layout EXP_IMAGE or N_IMAGE it doesn't work as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ls_item_layout-fieldname = gd_tree-&amp;gt;c_hierarchy_column_name.
  ls_item_layout-style     = cl_gui_column_tree=&amp;gt;style_default.
  ld_node_text             = ls_equnr.
 ls_node_layout-N_IMAGE = 'ICON_DUMMY' "doesn't work
 ls_node_layout-EXP_IMAGE = 'ICON_DUMMY' "doesn't work
ls_node_layout-isfolder = ' '   "doesn't work



  APPEND ls_item_layout TO lt_item_layout.

* Add node
  CALL METHOD gd_tree-&amp;gt;add_node
    EXPORTING
      i_relat_node_key = p_relate_key
      i_relationship   = cl_gui_column_tree=&amp;gt;relat_last_child
      i_node_text      = ld_node_text
      is_outtab_line   = ps_equi
      it_item_layout   = lt_item_layout
      is_node_layout   = ls_node_layout
    IMPORTING
      e_new_node_key   = p_node_key.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 11:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-node-layout-not-working/m-p/5735919#M1300749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T11:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_alv_tree node layout not working!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-node-layout-not-working/m-p/5735920#M1300750</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;Check this demo program BCALV_TREE_06. You can find the soluition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 11:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-node-layout-not-working/m-p/5735920#M1300750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T11:43:13Z</dc:date>
    </item>
  </channel>
</rss>

