Skip to Content
0
Former Member
Jun 24, 2015 at 07:26 PM

Push button as ALV Column

699 Views

Hi Folks,

I need to have a push button for each row of ALV output with some text (say "countries"). When the the particular push button is clicked i need to display some data. Can anybody tell me how to handle this. I am able to create the push button, but facing two below issues

1.unable to place the text for the button and

2.when that is clicked how to display some data.

w_fcat-fieldname = 'PB'.

w_fcat-scrtext_m = 'Select'.

w-fcat-tabname = 'T_FINAL'.

append w_fcat to t_fcat.

w_fcat-fieldname = 'xxx'.

w_fcat-scrtext_m = 'xxx''.

w-fcat-tabname = 'T_FINAL'.

append w_fcat to t_fcat.

loop at t_fcat into w_fcat where fieldname = 'PB'.

w_fcat-style = c;_gui_alv_grid=>mc_style_button.

modify t_fcat from w_fcat.

endloop.

this is working fine but with above two issue.

I am using RESUE_ALV_GRID_DISPLAY_LVC. If this cannot be achieved through this FM atleast please let me know through any other approach.

Thanks in advance.

Regards

Mallikarjun Reddy G.