Skip to Content

SAP Containers-Different Custom button

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 :)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.)?


    Add comment
    10|10000 characters needed characters exceeded