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

Can we implement double click method in a Function Module.

Former Member
0 Likes
530

Hi,

I am trying to enhance a FM(COIS_OUTPUT). I want to display a screen before it displays the final output. I am successful in displaying it say summary screen.

Now I need to use the double click method and when I double click on a row it should display the records particular to that row.


CLASS lcl_handle_events DEFINITION.
 
  PUBLIC SECTION.
    METHODS:
      " The ALV Grid double_click event definition
      on_double_click                                    " For Summary Screen
        FOR EVENT double_click OF cl_salv_events_table
      IMPORTING
        row          " row clicked on
        column  .    " column clicked on
ENDCLASS.            "lcl_handle_events  

when I declare the above definition it gives me an error message

Incorrect nesting: Before the statement "CLASS", the structure

introduced by "ENHANCEMENT-SECTION" must be concluded by

"END-ENHANCEMENT-SECTION" . . . . . . . .

Instead of Classes

I have tried using REUSE_ALV_GRID_DISPLAY FM

but when I have the following code

FORM 'HANDLE_ON_USER_COMMAND' USING R_UCOMM.....

ENDFORM..

It gives me an error...Incorrect nesting.

Can any one suggest me ..Is this possible.

Thanks,

Chaithanya.

Edited by: chaithanya k on Apr 11, 2008 3:06 PM

1 REPLY 1
Read only

Former Member
0 Likes
411

Using SUBMIT called another program and executed the report.