on 09-13-2011 1:38 AM
Hello
In my_view i have 2 buttons (BUT_1 and BUT_2), but, am assigning same ACTION (my_action)for both of these buttons, bcz for user friendly we are keeping 2 buttons with differnent label, but technically both will do same.
But, still i want to differentiate in throwing message text, so, how can i know that the user whether pressed BUT_1 or BUT_2?
Is there any X position, Y position or any other difference to capture the BUT?
Thank you
Hello,
From WDEVENT parameter that is passed to the Action handler method, you can get the ID of the button that is pressed.
data lv_value type string.
wdevent->get_data(
exporting
name = 'ID'
importing
value = lv_value
).
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.