Skip to Content
author's profile photo Former Member
Former Member

ALV Tree Refresh

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 05, 2007 at 04: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^

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 05, 2007 at 04:14 AM

    Hi,

    Please refer the links,

    How to Refresh data on ALV tree

    Alv-tree --> refresh button

    Tree ALV

    Regards,

    Hema.

    • Reward points if it is useful.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 05, 2007 at 04: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.