<?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: How to create Tree Container in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-tree-container/m-p/4216670#M1007563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Samantak. I've see that peice of code in SAPSIMPLE_TREE_CONTROL_DEMO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2008 17:17:15 GMT</pubDate>
    <dc:creator>former_member295881</dc:creator>
    <dc:date>2008-07-28T17:17:15Z</dc:date>
    <item>
      <title>How to create Tree Container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-tree-container/m-p/4216667#M1007560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to implement a Simple Tree. Iu2019ve already get an idea from the sample program&lt;/P&gt;&lt;P&gt;u2018SAPSIMPLE_TREE_CONTROL_DEMOu2019 how to implement. Now when I tried to create GUI through screen painter I donu2019t see any tree control or tree container which I can use. Can somebody please tell me how can I have TREE CONTAINER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 12:27:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-tree-container/m-p/4216667#M1007560</guid>
      <dc:creator>former_member295881</dc:creator>
      <dc:date>2008-07-28T12:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Tree Container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-tree-container/m-p/4216668#M1007561</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 Custom Container through the Dynpro. That is all you need to embed the Tree Control. As such there is nothing called Tree Container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a sample code for the Custom Container. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  CREATE OBJECT l_custom_container
        EXPORTING
          container_name              = l_tree_container_name
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5.
      IF sy-subrc &amp;lt;&amp;gt; 0.
        MESSAGE x208(00) WITH 'ERROR'.                      "#EC NOTEXT
      ENDIF.
    ENDIF.

* create tree control
    CREATE OBJECT tree2
      EXPORTING
        parent                      = l_custom_container
        node_selection_mode         = cl_gui_column_tree=&amp;gt;node_sel_mode_single
        item_selection              = 'X'
        no_html_header              = ''
        no_toolbar                  = ''
      EXCEPTIONS
        cntl_error                  = 1
        cntl_system_error           = 2
        create_error                = 3
        lifetime_error              = 4
        illegal_node_selection_mode = 5
        failed                      = 6
        illegal_column_name         = 7.
    IF sy-subrc &amp;lt;&amp;gt; 0.
      MESSAGE x208(00) WITH 'ERROR'.                        "#EC NOTEXT
    ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_custom_container is the variable that will contain the name of the custom container that you defined in the Dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 12:40:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-tree-container/m-p/4216668#M1007561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T12:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Tree Container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-tree-container/m-p/4216669#M1007562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Refer the thread&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="724450"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 13:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-tree-container/m-p/4216669#M1007562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T13:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Tree Container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-tree-container/m-p/4216670#M1007563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Samantak. I've see that peice of code in SAPSIMPLE_TREE_CONTROL_DEMO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 17:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-tree-container/m-p/4216670#M1007563</guid>
      <dc:creator>former_member295881</dc:creator>
      <dc:date>2008-07-28T17:17:15Z</dc:date>
    </item>
  </channel>
</rss>

