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: 

alv double click

Former Member
0 Kudos

Hallow

I doing a alv report and I wont just In one Colman to do a double click and see value (in popup)from my itab.

This is what I doing but what next in popup ?

regards

CLASS class DEFINITION.

PUBLIC SECTION.

METHODS:

handle_double_click

FOR EVENT double_click OF cl_gui_alv_grid

IMPORTING e_row e_column.

PRIVATE SECTION.

ENDCLASS.

CLASS class IMPLEMENTATION.

METHOD handle_double_click.

DATA: ls_sflight LIKE LINE OF gt_sflight.

  • § 4.The event DOUBLE_CLICK provides parameters for row and column

  • of the click. Use row parameter to select a line of the

  • corresponding internal table.

  • read selected row from internal table gt_sflight

READ TABLE gt_sflight INDEX e_row-index INTO ls_sflight.

  • § 5.Select data and call the second dynpro.

  • select corresponding lines of table sbook

PERFORM select_table_sbook USING ls_sflight

CHANGING gt_sbook.

  • call dialog screen and display new alv control

CALL SCREEN 101 STARTING AT 10 5.

ENDMETHOD. "handle_double_click

ENDCLASS. "quota_class

CALL FUNCTION 'POPUP_TO_INFORM'

EXPORTING

titel = g_repid

txt2 = sy-subrc

txt1 = 'The control could not be created'(510).

ENDIF.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

if you want to see the internal table values in popup , use FM

<b>POPUP_WITH_TABLE</b>

2 REPLIES 2

Former Member
0 Kudos

if you want to see the internal table values in popup , use FM

<b>POPUP_WITH_TABLE</b>

Former Member
0 Kudos

Hi,

Have a look at the standard program which is on double click.

<b>BCALV_GRID_03.</b>

regards,

kiran kumar k