Skip to Content

ALV Grid refresh table and toolbar

Hi all.

Can I execute a refresh for the alv toolbar?

When I call method 'REFRESH_TABLE_DISPLAY' can I execute refresh for the toolbar (because I change or insert pushbutton "custom" toolbar...).

Can I do it?

Thanks a lot.

CV

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2012 at 07:45 AM

    Hi Christiano,

    Alv toolbar will also be refreshed when you call REFRESH_TABLE_DISPLAY.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2012 at 08:53 PM

    Hi Cristiano,

    as far as I remember, the toolbar is rebuilt every time an alv is refreshed, define an event handler for Toolbar event of CL_GUI_ALV_GRID and there you can handle your logic with custom buttom.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2012 at 06:06 AM

    Yes,

    You can refresh the the ALV Display when your click on a tool bar ICON.

    CALL METHOD ref_grid2->refresh_table_display

    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.