03-22-2011 11:38 AM
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
03-22-2011 12:05 PM
Hi Sridhar,
You can use the Event USER_COMMAND of Class CL_GUI_ALV_GRID for this purpose.
Thanks and Regards,
Rathish
03-22-2011 12:27 PM
hii
Thanks for the reply yes i already seen that which does'nt match my requirement.Can you tell me anyother class.
regards,
Sri.
03-22-2011 12:46 PM
03-22-2011 12:50 PM
hii,
I ma not using standard buttun i created button in application toolbar which i developed.Thanks.
regards,
Sri.
03-22-2011 1:08 PM
so what do you need in fact
event user_command to find out which button the user pressed, what do you need?
03-22-2011 1:22 PM
Can you please describe your requirement in detail.
Thanks,
Rathish
03-23-2011 4:44 AM
hii,
Thanks for the replies.before_user_command worked.solved my issue.
regards,
Sri.