Skip to Content

SAP Containers-Different Custom button

Dec 05, 2016 at 12:57 PM


avatar image
Former Member

Hi ,

I created three containers on 3 sub-screen calling them in single screen , all working fine and alv displayed .

How can i add different custom button for each sub screen container ALV using CL_ALV_GUI_GRID ?

If handle_toolbar method is used , same custom button is added in each 3 sub-screen ALV output .

Appreciate for providing solution.


Ashu :)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Dec 06, 2016 at 02:47 PM

Did you

  • Create THREE occurences of CL_GUI_ALV_GRID, use those to create separated layout, field catalog and the like, did you use some handle or log_group to identify each grid?
  • Set a handler (of event toolbar) for each occurence or a single one for all instances, in this case did you use and check the implicit sender parameter in your implementations (some case sender, when alv1, when alv2, etc.)?


10 |10000 characters needed characters left characters exceeded