Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Tree Refresh

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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^

Former Member
0 Kudos

Hi,

Please refer the links,

Regards,

Hema.

    • Reward points if it is useful.

Former Member
0 Kudos

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