03-05-2007 4:05 AM
Hey folks,
I am facing a weird problem with ALV tree. Its like I have two screens in my program. On the first screen, I am enabling user to select the fieldcatalog for the ALV tree. And on the second screen, the tree is displayed.
Now this thing runs perfectly for the first type, but suppose when I press back on second screen and choose the fieldcatalog again, the ALV tree doesnt get refreshed...
What may be the problem??
Regards
Puru
03-05-2007 4:09 AM
hi
good
i think though you r coming back to the first screen and trying to do the refresh function the refresh is not working,but first time when you r doing it first time it is working perfectly.
So you can do one thing,while coming back to the first screen call that refresh function again in your logic,that may work .
Thanks
mrutyun^
03-05-2007 4:14 AM
03-05-2007 4:15 AM
Hi Puru,
While coming back to the previous screen, you can try
when 'BACK'.
CALL METHOD CONTAINER->FREE.
CALL METHOD CL_GUI_CFW=>FLUSH.
Then you can create the container object again.Hope this helps.
Regards,
Beejal