cancel
Showing results for 
Search instead for 
Did you mean: 

on click cell for ALV

Former Member
0 Kudos

Hi ,

In ALV do we have an event for onclick cell for inputfield and dropdown by key.if you know please sugest me how to do.

thanks.

rama

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

ok

Former Member
0 Kudos

Check out the On_Cell_Action Event handler of ALV. It gets triggred.

Enable this event by using :

call method l_value->if_salv_wd_table_settings~set_cell_action_event_enabled

EXPORTING value = ABAP_TRUE.

Former Member
0 Kudos

Hello Saurav,

thanks for your reply,I already implimented that code in alv intialisation eventhouth i am not able to get.

thanks,

Rama

Former Member
0 Kudos

Hi,

Just implementing this codein ur ALV init is not enough.

There will be an event handler which u need to implement.

To do this go to the method list of the view in which u are implementing this ALV.

Select the method type as 'event handler' and select the event as 'ON_CELL_ACTION'.

Implement ur code in here.

Former Member
0 Kudos

Hello Pramod,

i created an event in method listevent type ON_CELL_ACTION.

inside this event one variable assiged one value, i kept break ,but its not going into that envent.

please sugest me .

thanks,

rama

Former Member
0 Kudos

Can you please tell me what is the action you are performing on the cells ?

If it is just a click on the contents of the cell u can use 'ON_CLICK' event.

Former Member
0 Kudos

Hi Pramod,

even through onclick option also I tried ,but not able to reach break point into that event also.could you please suggest is there any optios.

thanks,

Rama

Edited by: Ramakullay Challa on Apr 17, 2011 5:27 PM