Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Read the table row data and dispaly it in the ME21n transaction

Former Member
0 Kudos

Hi All,

i'm new to ABAP and OO ABAP .Please somebody help me out for my req. My req is , when i double click on the table row which is having PO details , then that data should be displayed in the ME21n transaction. please some on tell me how to achive this using SALV class..

thanks,

Rajeev.

1 REPLY 1

Former Member
0 Kudos

Hi rajeev bikkani ,

you can use the events 'Double_click' in alv. below given the code, try out.

class lcl_list_event_handler definition.

PUBLIC SECTION.

methods on_double_click

for event double_click of cl_gui_alv_grid

importing e_row .

endclass.

class lcl_list_event_handler implementation.

method on_double_click.

call transaction 'ME21N'.

ENDMETHOD.

ENDCLASS.

before executing the method SALV.

write code

set handler obj2(reference for lcl_list_event_handler) ->on_double_click

for obj1(referenece for cl_gui_alv_grid).