Skip to Content
0
Jun 08, 2007 at 06:50 AM

Call VA03 when user clicks ALV using cl_gui_alv_grid...

1399 Views

Hello Experts,

I am using ALV OO in my report and one of the user's request is that when they

click on a particular sales document in the ALV display it should be able to call

transaction VA03(Display Sales Order) using the sales document that they clicked.

I am using the below FM to call my ALV:

*   Display initial window
    CALL METHOD grid1->set_table_for_first_display
      EXPORTING
*        i_structure_name = ''
        is_layout        = gs_layout
      CHANGING
        it_outtab        = gt_output
        it_fieldcatalog  = gt_fieldcat.

Hope you can help me out guys. Thank you and take care!