Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

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.

1 Comment
Labels in this area