on 08-30-2012 1:28 PM
Hi guys
How can I find out the row where user pressed on enter on same field, that have action to fill some other fields automatic.
Now I' ve done this only for the last row with get_element( index = number of rows in the table ), but I need not just for the last one. I'm using standard tables and the layout is standard.
Please share your ideas with me
Thanks
Darko,
use wdevent->get_context_element( name = 'CONTEXT_ELEMENT ) - instead of get_element....
this will work perfect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Darko,
In an action handler method, you can also use explicit importing parameter, CONTEXT_ELEMENT (type IF_WD_CONTEXT_ELEMENT) which is equivalent to
wdevent->get_context_element( name = 'CONTEXT_ELEMENT ) . The system will create this parameter for you if you choose the option "Transfer UI Event Parameters" when creating an action with the wizard, but you can also input it manually into the method signature.
Cheers,
Amy
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.