cancel
Showing results for 
Search instead for 
Did you mean: 

ON_CLICK, ON_CELL_ACTION events don't work in WD ALV

Former Member
0 Kudos

Hi!

I've created an editable ALV in my application and registered event handlers ON_CLICK (for button field - cl_salv_wd_uie_button), ON_CELL_ACTION (for input field - cl_salv_wd_uie_input_field). But the these handlers are not invoked, though ON_DATA_CHCECK is invoked.

What can be the problem?

I used the manuals:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814...

UPD:

ON_CLICK event has began working after rebuilding the application. There is also ON_LEAD_SELECT event working when user changes selection row in the ALV.

But I need an event which occurs when user changes contents of a cl_salv_wd_uie_input_field or at least after he presses "Enter" in the cell. This is to update contents of column "Partner name" after the user changed the contents of "Partner code" column.

Is there an event or another way to implement such functionality?

Edited by: abap 4 on Nov 10, 2008 2:45 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The problem is solved.

To make ON_CELL_ACTION work one should call in the WDDOMODIFYVIEW method:

if_salv_wd_table_settings~set_cell_action_event_enabled( abap_true ).