2011 Mar 22 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
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
2011 Mar 22 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
2011 Mar 22 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.
2011 Mar 22 12:46 PM
to catch standard-button clicks user event before_user_command
2011 Mar 22 12:50 PM
hii,
I ma not using standard buttun i created button in application toolbar which i developed.Thanks.
regards,
Sri.
2011 Mar 22 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?
2011 Mar 22 1:22 PM
Can you please describe your requirement in detail.
Thanks,
Rathish
2011 Mar 23 4:44 AM
hii,
Thanks for the replies.before_user_command worked.solved my issue.
regards,
Sri.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |