Suppose we have a table UI element and in the table UI element if we have a Link to action. In many cases we need to get the value of the attribute which raised this event. This is the most usual case. In Webdynpro the value of the context element that raised the event is stored in event WD_EVENT.
we can retrieve the value by accessing the GET_CONTEXT_ELEMENT method if the WD_EVENT. Here is the code snippet for getting the context element of the raised event.
DATA: l_elem type ret to IF_WD_CONTEXT_ELEMENT.
l_elem = WDEVENT->GET_CONTEXT_ELEMENT( 'CONTEXT_ELEMENT' ).
Hope this will be useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |