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

Toolbar in alvgrid common to all grids

Hi Everyone,

I have around 3 alv grids in my screen.

Is there a way to have the toolbar which is in the alv grid screen outside it and must work in common to all the grids. The icons functionality in the toolbar must work for all the grids.

Is there a way to achieve this. Can anyone please let me know about this. Sample code will be good.

Thanks in advance,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 15, 2005 at 11:55 PM

    Exactly what functionality in the toolbar do you

    want to use as "global" functionality. I'm thinking

    that in most cases, the toolbar buttons would be grid specific. How would you know which grid to perform

    the functionality on. Could you use GET CURSOR for

    this. I'm not sure. If you can find out which container

    is the "active" one, I guess there is a possibility to do

    this, but I think it would be a major programming effort.

    First, you have to build your toolbar, and code all of

    the functionality that you want manually. The easy part would be stripping the toolbar off of the individual


    Again, what funcationality do you want to back "global"

    to the grids.


    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

    • Not sure, if you can know where the users cursor is and you can either re-code the functions or somehow call the methods of the class of the object to do the functionality, then yes, I guess it would be possible. A little too much work for me.

      I would start by creating a simple test program with 2 containers in a screen. Put your cursor in the second container and test whether you can use the GET CURSOR statement to know where the cursor is.


      Rich Heilman

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.