cancel
Showing results for 
Search instead for 
Did you mean: 

WD ABAP Table, LinkToAction

Former Member
0 Kudos

Hello,

I have added a LinkToAction into a cell of a wd table column. To call the correct action in the event handler I need to know the selected row and column. How can I receive this necessary information?

Thanks in advance and kind regards,

Dagmar

Accepted Solutions (0)

Answers (1)

Answers (1)

Yashpal
Active Contributor
0 Kudos

Hi,

in the wdevent parameter of your linktoaction u will a parameter name 'CONTEXT_ELEMENT' which is of type if_WD_CONTEXT_ELEMENT from which u can get the index of the element in the talbe .using this u will know on which row the action is performed . for column u can use the ID parameter means the ID of the ELEMENT i.e ur link which column link is clicked.

set a debug point in ur action and analyse the event parameter of it. under that object see the paramters list . u will get ur required things.

Regards

Yashpal