<?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/4560417#M1076496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In secondary list, I am creating objects again as i am clearing objects while pressing back button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2008 08:41:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-29T08:41:55Z</dc:date>
    <item>
      <title>ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560413#M1076492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone..&lt;/P&gt;&lt;P&gt;I have one problem, please help me out.&lt;/P&gt;&lt;P&gt;scenario: first screen : selection screen&lt;/P&gt;&lt;P&gt;Second screen : list of data in ALV GRID format and in application bar there is Two buttons (1. Summery , 2. Detail)&lt;/P&gt;&lt;P&gt;Third screen : one container (to display data in tree format).&lt;/P&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;P&gt;After coming in third screen by pressing summery button if i do press expand all node button from toolbar and after this i am press back button, so i m coming into second screen. now from this screen in i want to display tree view by pressing any button. to do this i am pressing detail button, but in third screen it will display same output as displayed before for summery button. this problem is coming only if i do use any button from toolbar of alv tree. otherwise both the time data is coming as per expectation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me in this and if you want any further explanation of problem then ask me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Siddharth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:28:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560413#M1076492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560414#M1076493</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;This probaly is because in the secondary list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You check for the control and then get the data some thing like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If G_CONT is intiail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this condition fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hence always before leaving the second screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear G_CONT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560414#M1076493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560415#M1076494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do clear / free object by this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT G_ALV_TREE IS INITIAL.&lt;/P&gt;&lt;P&gt;        CALL METHOD G_ALV_TREE-&amp;gt;FREE.&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;          MESSAGE I999(YMFA) WITH 'Error While Getting Free'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        CLEAR G_ALV_TREE.&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;          MESSAGE I999(YMFA) WITH 'Error While Getting Clear'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHILE G_CUSTOM_CONTAINER IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;        IF NOT G_CUSTOM_CONTAINER IS INITIAL.&lt;/P&gt;&lt;P&gt;          CALL METHOD G_CUSTOM_CONTAINER-&amp;gt;FREE.&lt;/P&gt;&lt;P&gt;          IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;            MESSAGE I999(YMFA) WITH 'Error While Getting Free'.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          CLEAR G_CUSTOM_CONTAINER.&lt;/P&gt;&lt;P&gt;          IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;            MESSAGE I999(YMFA) WITH 'Error While Getting Clear'.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDWHILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because of this code I am able to display both tables(summery and detail) one by one. But the problem is occur while i press the toolbar button like expand subtree or collapse subtree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560415#M1076494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560416#M1076495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;G_ALV_TREE TYPE REF TO CL_GUI_ALV_TREE,&lt;/P&gt;&lt;P&gt;G_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560416#M1076495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560417#M1076496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In secondary list, I am creating objects again as i am clearing objects while pressing back button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560417#M1076496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560418#M1076497</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;How do you differentiate btw these to lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When 'L1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When 'L2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EndCase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes can you debug and check whats in the OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560418#M1076497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560419#M1076498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siddharth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to call Expand_root_nodes method..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this thread&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3423558"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and this thread too&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4682988"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Narin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560419#M1076498</guid>
      <dc:creator>narin_nandivada3</dc:creator>
      <dc:date>2008-09-29T08:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560420#M1076499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;button code : SUMMERY or DETAIL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560420#M1076499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560421#M1076500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats fine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you debug and see if the OK_CODES are corect in case where you are having the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:50:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560421#M1076500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560422#M1076501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes Santhosh. it is correct. even whatever data i want to pass is also correct. for summery i am passing table for summery and for detail tree i have table for detail. problem is only coming if i use toolbar buttons. otherwise because of i am calling FREE method for both objects, output is coming correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560422#M1076501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560423#M1076502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think while pressing toolbar button from alv tree, there must some object may created which i need to free before using it again. but i dont know how?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 08:57:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560423#M1076502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T08:57: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/4560424#M1076503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If anyone can not get my problem clearly then please ask, i'll explain....but please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 10:21:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-tree/m-p/4560424#M1076503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T10:21:03Z</dc:date>
    </item>
  </channel>
</rss>

