<?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: ABAP Objects: Problems with controls in splitter container in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818145#M42453</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 guess you have a conditional check to build the righthand tree as "IF x IS INITIAL ." where x is the column tree object or the custom container object and between this IF-ENDIF you build your tree. Your problem may be caused from this check since as Thomas told the column tree instance is not destroyed. Then, assuming you have a flag as "gv_refresh_right_tree" which have 'X' when a double-click action is triggered at right and cleared after refresh of left tree, revise your condition as "IF x IS INITIAL OR  NOT gv_refresh_right_tree IS INITIAL" and add "CLEAR gv_refresh_right_tree." after tree-building procedure. Now, when you double click a node at left your righthand tree should be rebuilt. For sake of performance, you may want not to refresh the right tree when the same node is double-clicked. Then you should add a new condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this addition helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Aug 2004 14:30:27 GMT</pubDate>
    <dc:creator>ssimsekler</dc:creator>
    <dc:date>2004-08-27T14:30:27Z</dc:date>
    <item>
      <title>ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818143#M42451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problems with the second control in a splitter container.&lt;/P&gt;&lt;P&gt;In the left container I build up a &amp;lt;u&amp;gt;list tree&amp;lt;/u&amp;gt;.&lt;/P&gt;&lt;P&gt;On double click on a node a &amp;lt;u&amp;gt;column tree&amp;lt;/u&amp;gt; in the right container is created.&lt;/P&gt;&lt;P&gt;This is working fine. &lt;/P&gt;&lt;P&gt;But if I double click on another node in the left container the right tree remains unchanged.&lt;/P&gt;&lt;P&gt;What do I have to do to update/refresh the tree in the right splitter container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ferdi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2004 11:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818143#M42451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-27T11:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818144#M42452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that the event handler tied to your Left Column Tree - Double Click sets some flag that causes your right container and tree to be created.  However a second click on the Left does nothing.  Have you tried calling the free method of all the controls on the right side and clearing their object references in the left column tree's event handler.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justing calling the create methods won't refresh the objects if they already exsist.  You have to destroy them first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2004 14:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818144#M42452</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2004-08-27T14:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818145#M42453</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 guess you have a conditional check to build the righthand tree as "IF x IS INITIAL ." where x is the column tree object or the custom container object and between this IF-ENDIF you build your tree. Your problem may be caused from this check since as Thomas told the column tree instance is not destroyed. Then, assuming you have a flag as "gv_refresh_right_tree" which have 'X' when a double-click action is triggered at right and cleared after refresh of left tree, revise your condition as "IF x IS INITIAL OR  NOT gv_refresh_right_tree IS INITIAL" and add "CLEAR gv_refresh_right_tree." after tree-building procedure. Now, when you double click a node at left your righthand tree should be rebuilt. For sake of performance, you may want not to refresh the right tree when the same node is double-clicked. Then you should add a new condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this addition helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2004 14:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818145#M42453</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-08-27T14:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818146#M42454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Thomas and Serdar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now destroy the right container and the right tree control if it exists after the event 'double_click' on a node in the left tree.&lt;/P&gt;&lt;P&gt;The result is now that the container is created (I can see it on screen) but no tree is shown.&lt;/P&gt;&lt;P&gt;If I just destroy the tree control but not the container the tree from the first double click on the left tree is shown.&lt;/P&gt;&lt;P&gt;In the debugger I see that the list tree instance is linked to the caontainer (after first and second creation of tree control)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can see in the coding below what's wrong or missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coding after EVENT DOUBLE_CLICK in left Tree: &amp;lt;pre&amp;gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;destroy &amp;#145;old&amp;#146; tree instance and container&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if not g_container_2 is initial.&lt;/P&gt;&lt;P&gt;    call method g_container_2-&amp;gt;free.&lt;/P&gt;&lt;P&gt;    clear: g_container_2, g_tree_2.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;create right container&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call method g_splitter-&amp;gt;get_container&lt;/P&gt;&lt;P&gt;            exporting row      = 1&lt;/P&gt;&lt;P&gt;                      column   = 2&lt;/P&gt;&lt;P&gt;            receiving container = g_container_2.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;setup the hierarchy header&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  hierarchy_header-heading = 'Hierarchy Header'.&lt;/P&gt;&lt;P&gt;  hierarchy_header-width = 37.        &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;create a column tree model instance&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  create object g_tree_2&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      node_selection_mode = cl_column_tree_model=&amp;gt;node_sel_mode_single&lt;/P&gt;&lt;P&gt;      item_selection = 'X'&lt;/P&gt;&lt;P&gt;      hierarchy_column_name = 'C1'&lt;/P&gt;&lt;P&gt;      hierarchy_header = hierarchy_header.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;create tree control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call method g_tree_2-&amp;gt;create_tree_control&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      parent = g_container_2.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  perform add_columns.&lt;/P&gt;&lt;P&gt;  perform define_events.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;set registered events&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call method g_tree_2-&amp;gt;set_registered_events&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      events = events.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  perform get_data.&lt;/P&gt;&lt;P&gt;  perform add_nodes_2.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;expand the root node&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call method g_tree_2-&amp;gt;expand_node&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      node_key = 'Root'&lt;/P&gt;&lt;P&gt;      level_count = 3.&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------" /&gt;&lt;P&gt;&amp;lt;/pre&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ferdi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ferdi Meyer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Aug 2004 14:48:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818146#M42454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-29T14:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818147#M42455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferdi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not destroy instances just put the condition as I explained in my previous answer. That is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;IF gr_right_tree IS INITIAL OR  &lt;/P&gt;&lt;P&gt;NOT gv_refresh_right IS INITIAL .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;*--Additional refresh condition checks may be done here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Here put tree building code for the right tree&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CLEAR gv_refresh_right .&lt;/P&gt;&lt;P&gt;ENDIF.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will this help??? I can't foresee how instances will react. I would like to hear about the result ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2004 13:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818147#M42455</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-08-30T13:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818148#M42456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Serdar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it and it's working now as explained by you.&lt;/P&gt;&lt;P&gt;I just had to -&amp;gt;delete_all_nodes before I fill nodes and items for the next right tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Ferdi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2004 22:04:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818148#M42456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-30T22:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818149#M42457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferdi&lt;/P&gt;&lt;P&gt;It is nice that your problem is solved. Could you please turn the status of the thread to "Solved"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2004 17:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818149#M42457</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-08-31T17:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818150#M42458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Serdar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the threat is already marked as 'answered'.&lt;/P&gt;&lt;P&gt;Do I have to do another status setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ferdi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2004 17:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818150#M42458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-31T17:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818151#M42459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferdi&lt;/P&gt;&lt;P&gt;I am not in much deep with this but. There is an empty star next to your thread topic. As far as I know, it means your thread is not solved.&lt;/P&gt;&lt;P&gt;There should be something that you give points to helpful answers and also you mark one of the posts as the one that solved your problem.&lt;/P&gt;&lt;P&gt;This is just the new trend :). Mark the post which you think solves the problem as the solving post and give points to posts you find helpful. However, I do not know the way how to do???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2004 17:48:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818151#M42459</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-08-31T17:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818152#M42460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;6 reward points for you Serdar . &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2004 18:16:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818152#M42460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-31T18:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Objects: Problems with controls in splitter container</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818153#M42461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferdi&lt;/P&gt;&lt;P&gt;It was nice of you that you granted those points but my concern was just to give the consciousness about that. As told before, this is just the newest trend. Hope it goes well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2004 18:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-objects-problems-with-controls-in-splitter-container/m-p/818153#M42461</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-08-31T18:26:40Z</dc:date>
    </item>
  </channel>
</rss>

