Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Refresh problem in CL_GUI_ALV_TREE

Hi Experts,

I am taking an object name as input and based on the input value, fetching data from the table and displaying it in the form of a tree, using the class CL_GUI_ALV_TREE. The outtab is passed empty to the set_table_for_first_display method. Now, when I go back, enter a new object name and click on display, the data that is used to build the tree gets updated properly, all the add_node calls get executed fine, but the tree does not get refreshed. It gets refreshed properly if I restart the transaction and start with the new object. I am calling the method frontend_update to update the screen, still there is no change. I am clearing the tree object and building the tree from scratch with the new data. But it does not change.

Is there any clearing of cache required? I am missing anything that is not refreshing the tree. Any help on this would be greatly appreciated since I am stuck with this for a long time now. Thank you!

Regards,

Nithya

Edited by: Nithya S on Apr 8, 2008 8:57 AM

Tags:
Not what you were looking for? View more on this topic or Ask a question