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: 

read alv toolbar print button

Former Member
0 Kudos

Hi SDNers,

I would like to capture the ucomm when user clicks on print button which is on ALV grid toolbar(used classes to display alv).

I can able to capture user defined button on alv tool bar, along with user defined, standard button are there. I need to read user command text when user clicked on print button on the alv toolbar.

Kindly let me know which class and wher i need to use the same to read the print button.

Thanks in advance,

Regards,

Sridhar

7 REPLIES 7

rathishr_nair
Explorer
0 Kudos

Hi Sridhar,

You can use the Event USER_COMMAND of Class CL_GUI_ALV_GRID for this purpose.

Thanks and Regards,

Rathish

0 Kudos

hii

Thanks for the reply yes i already seen that which does'nt match my requirement.Can you tell me anyother class.

regards,

Sri.

0 Kudos

to catch standard-button clicks user event before_user_command

0 Kudos

hii,

I ma not using standard buttun i created button in application toolbar which i developed.Thanks.

regards,

Sri.

0 Kudos

so what do you need in fact

event user_command to find out which button the user pressed, what do you need?

0 Kudos

Can you please describe your requirement in detail.

Thanks,

Rathish

0 Kudos

hii,

Thanks for the replies.before_user_command worked.solved my issue.

regards,

Sri.