Application Development and Automation 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 only

Classes and Methods - handle_double_click

Former Member
0 Likes
429

Hi All,

I am working on classes and methods now. I have a doubt.

I have declared as:

CLASS lcl_event_receiver DEFINITION.

PUBLIC SECTION.

METHODS:

handle_double_click

FOR EVENT double_click OF cl_gui_alv_grid

IMPORTING e_row e_column.

ENDCLASS.

CLASS lcl_event_receiver IMPLEMENTATION.

Method to handle the double click.

METHOD handle_double_click.

IF e_row-rowtype IS INITIAL.

READ TABLE tb_output INDEX e_row-index INTO wa_out.

PERFORM get_secondary_list.

PERFORM display_secondary_list.

ENDIF.

ENDMETHOD. "handle_double_click

ENDCLASS.

Now, can't i define the same method 'handle_double_click' with some other functionality in IMPLEMETATION?

From the first screen when it is double clicked it should take me to screen 200. Inside 200, if i double click on somthing..it should take me to screen 3. But it is taking me to screen 200 again. Please help me put. It's urgent.

Thanks a lot.

Regards,

Seenu

2 REPLIES 2
Read only

Former Member
0 Likes
396

define next screen as 3 in the properties of 200 screen

or in event handler method write statement:

call screen 3.

Read only

Former Member
0 Likes
396

Closed