cancel
Showing results for 
Search instead for 
Did you mean: 

trigger event in alv without button in web dynpro

joerg_arndt
Participant
0 Kudos

Hi Friends,

in alv list I can trigger an evant by declaring field i.g. "CONNID" as button.

Is it possible without create a button.

I mean, when I have several fields like matnr, bukrs etc. I want for each calling the details, but without

to declare a button, because it looks not very smart when each field has a button.

Thanks in advance

Jimbob.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Can you be more clear...If you make any changes on that cell of the column then we have ALV events that gets triggered....

oncellaction of alv..

Answers (2)

Answers (2)

Former Member
0 Kudos

hi ,

using LINK TO ACTION , u can triger the events in ur ALV


* Display link in column connid
DATA: lr_link TYPE REF TO cl_salv_wd_uie_link_to_action.
lr_column = l_value->if_salv_wd_column_settings~get_column( 'CONNID' ).
CREATE OBJECT lr_link.
lr_link->set_text_fieldname( 'CONNID' ).
lr_column->set_cell_editor( lr_link ).

refer this tutorial :

Using Events with ALV Tables in Web Dynpro for ABAP

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

regards,

amit

Former Member
0 Kudos

hi,

You could even try with LinkToAction UI Element .

If it doesnt suit then i would suggest you to go for LeadSelection of ALV Table.

On Lead Selection , you could call the On_Lead_Select event and thus display the details.