04-16-2007 1:11 PM
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.
04-16-2007 1:14 PM
if you want to see the internal table values in popup , use FM
<b>POPUP_WITH_TABLE</b>
04-16-2007 1:14 PM
if you want to see the internal table values in popup , use FM
<b>POPUP_WITH_TABLE</b>
04-16-2007 1:16 PM
Hi,
Have a look at the standard program which is on double click.
<b>BCALV_GRID_03.</b>
regards,
kiran kumar k