<?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: Problem in CL_GUI_ALV_TREE implementation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368121#M181766</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;if you click that Button Free the tree and repopulate the tree. but i can't see any where in your code How you are handling that Button, and is it done with others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2006 15:26:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-19T15:26:22Z</dc:date>
    <item>
      <title>Problem in CL_GUI_ALV_TREE implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368114#M181759</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;I am creating a functionality using CL_GUI_ALV_TREE. In my screen PAI, i have the foll. code&lt;/P&gt;&lt;P&gt;  IF tree1 IS INITIAL.&lt;/P&gt;&lt;P&gt;    PERFORM init_tree1.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;This code gets triggered on click of a button in a screen. This button can be clicked more than once without re-loading the program. When doing so, as the TREE1 field is holding a value, when the button is clicked the second time, i get an runtime error. Is it possible to detsroy this tree, so that that PAI can get executed again?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 13:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368114#M181759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T13:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in CL_GUI_ALV_TREE implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368115#M181760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suryanarayan.&lt;/P&gt;&lt;P&gt;If you want to refresh the data displayed in the treeview, then you should just call method REFRESH_TABLE_DISPLAY.&lt;/P&gt;&lt;P&gt;If this is not what you want to do, then just CLEAR tree object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps.&lt;/P&gt;&lt;P&gt;Jesus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 13:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368115#M181760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T13:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in CL_GUI_ALV_TREE implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368116#M181761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jesus,&lt;/P&gt;&lt;P&gt;REFRESH_TABLE_DISPLAY is a private method in CL_GUI_ALV_TREE and so I am not able to use it in my program. CLEARing the tree object is not solving the case either. Any other suggestions, please do let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 13:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368116#M181761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T13:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in CL_GUI_ALV_TREE implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368117#M181762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi... try calling method free.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 14:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368117#M181762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T14:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in CL_GUI_ALV_TREE implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368118#M181763</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;FREE has been already used.&lt;/P&gt;&lt;P&gt;This is my PBO code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK' or 'CANCEL'.&lt;/P&gt;&lt;P&gt;      CALL METHOD tree1-&amp;gt;free.&lt;/P&gt;&lt;P&gt;      CLEAR ok_code.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;      CALL METHOD cl_gui_cfw=&amp;gt;dispatch.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR ok_code.&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the problem is that the object tree is not getting destroyed when the button the triggers the ALV tree is clicked again. &lt;/P&gt;&lt;P&gt;Would appreciate any help on this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 14:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368118#M181763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T14:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in CL_GUI_ALV_TREE implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368119#M181764</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;what is your Button Code. i can't see where you are handling it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and more over this code should be under PAI not in PBO&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;This is my PBO code:&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ok_code.&lt;/P&gt;&lt;P&gt;WHEN 'BACK' or 'CANCEL'.&lt;/P&gt;&lt;P&gt;CALL METHOD tree1-&amp;gt;free.&lt;/P&gt;&lt;P&gt;CLEAR ok_code.&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_cfw=&amp;gt;dispatch.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR ok_code.&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 14:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368119#M181764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T14:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in CL_GUI_ALV_TREE implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368120#M181765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;Sorry for the confusion caused..&lt;/P&gt;&lt;P&gt;The part of the code is in my PAI only (a typo in my previous message). Any suggestions you have?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 15:03:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368120#M181765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T15:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in CL_GUI_ALV_TREE implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368121#M181766</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;if you click that Button Free the tree and repopulate the tree. but i can't see any where in your code How you are handling that Button, and is it done with others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 15:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368121#M181766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T15:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in CL_GUI_ALV_TREE implementation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368122#M181767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sury,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try method frontend_update( ) after you made the changes on your Tree control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 18:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-cl-gui-alv-tree-implementation/m-p/1368122#M181767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T18:35:28Z</dc:date>
    </item>
  </channel>
</rss>

