cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic ALV Event linkage to Zmethod

Former Member
0 Kudos

Hi All,

I have created Webdynpro ALV using coding no where i have included component SALV_WD_TABLE  at component usage, every thing is working fiine Webdynpro ALV is displayed as expected.

Now I need to convert  one of the column to "link to action", that too done successfully with cl_salv_wd_uie_link_to_action.

when clicked on column link I need to trigger a Zmethod in which i need to write my  logic.

how to link it.

I cannot go to normal manual component usage process.I need to do through coding.

Thanks

Hari

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member197475
Active Contributor
0 Kudos

Hi Hari,

You can create a method of type Event Handler and the event as ON_CLICK of your ALV component. And then try to call your method.

BR,

RAM

Former Member
0 Kudos

Hi,

To trigger ALV events in Web Dynpro like ON_CLICK, ON_SELECT or ON_CELL_ACTION ABAP  you should register event handlers for corresponding event methods and should enable related events at WDDOMODIFYVIEW method of the Web Dynpro component.

Refer this which will help you.

Thanks

KH