on 04-11-2008 4:25 AM
Hi,
i have two buttons in my WD view.
i have assigned same event to both the buttons.
now how do i know which button have triggered the event.
please let me know soon.
Thanks & Regards,
Ritwik.
Hi Ritwik,
Do the following in the event handler to get the button on which user clicked on.
DATA l_button TYPE string.
CALL METHOD wdevent->get_string
EXPORTING
name = 'ID'
receiving
value = l_button
l_buton holds the name of the button user clicked on.
Regards,
Sravan Varagani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ritwik,
check your "r_param->id = button1 or button2" in your event handler method.
basically these two button technical names you can get in this r_param->id.
r_param->id will give you the button which you clicked.
All the best.
Regards,
Naresh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.