Code: Alles auswählen.
LEAVE TO SCREEN 0.
CALL TRANSACTION 'MM03'.
Code: Alles auswählen.
METHOD handle_double_click1.
CALL METHOD sender->set_visible
EXPORTING
visible = space.
LEAVE TO SCREEN 0.
CALL TRANSACTION 'MM03'.
ENDMETHOD. "handle_double_click1
Code: Alles auswählen.
MODULE status_0501 OUTPUT.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
IF g_custom_container2 IS INITIAL.
CREATE OBJECT g_custom_container2
EXPORTING container_name = g_container_dialog.
CREATE OBJECT grid2
EXPORTING i_parent = g_custom_container2.
CALL METHOD grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'MAST'
CHANGING
it_outtab = gt_mat_alv.
CREATE OBJECT event_receiver.
SET HANDLER event_receiver->handle_double_click1 FOR grid2.
ENDIF.
CALL METHOD cl_gui_control=>set_focus
EXPORTING
control = grid2.
CALL METHOD cl_gui_cfw=>flush.
IF sy-subrc NE 0.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = g_repid
txt2 = sy-subrc
txt1 = 'Error in FLush'(500).
ENDIF.
ENDMODULE. " STATUS_0501 OUTPUT
Code: Alles auswählen.
*Double Click Dynpro 501
METHOD handle_double_click1.
CALL METHOD sender->set_visible
EXPORTING
visible = space.
set parameter id 'MAT' field gv_matnr.
call transaction 'MM03' and skip first screen.
CALL TRANSACTION 'MM03'.
LEAVE TO SCREEN 0.
ENDMETHOD. "handle_double_click1