Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Add Button to ALV Grid

Former Member
0 Kudos

I made my first attempt to use OO programing in ABAP and created an ALV Grid using CL_GUI_ALV_GRID. I have excluded toolbar buttons without a problem, but now I would like to add a button and code my own reaction to its ok_code. Can anyone tell me how to do this? Please keep in mind I am very new to ABAP Objects.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Jason,

Have you had a look at the example program BCALV_GRID_05 ?

The program demonstrates exactly what you are intending to do.

Please get back with any specific doubts you may encounter.

Regards,

Anand MAndalika.

3 REPLIES 3

Former Member
0 Kudos

Hi Jason,

Have you had a look at the example program BCALV_GRID_05 ?

The program demonstrates exactly what you are intending to do.

Please get back with any specific doubts you may encounter.

Regards,

Anand MAndalika.

Former Member
0 Kudos

Hi Jason,

To add your own button to ALV grid toolbar, use methods 'handle_toolbar'(To add a button) and 'handle_user_command'(To catch click event).

-Tejal

Former Member
0 Kudos

Problem solved! Thank you very much, guys.