I'm trying to do a drill down on Sales Order number when displaying my output using ALV Grid implementing ABAP OO. As you can see there's no exporting of i_callback_user_command and it_events on set_table_for_first_display. When I used FM 'REUSE_ALV_GRID_DISPLAY', I could export i_callback_user_command and it_events for drill-down purpose.
How can I do a drill-down using ABAP OO?!? Should I be creating methods and so forth?!?
Code: Select all
CALL METHOD grid1->set_table_for_first_display * EXPORTING * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = * I_CONSISTENCY_CHECK = * I_STRUCTURE_NAME = * IS_VARIANT = * I_SAVE = * I_DEFAULT = 'X' * IS_LAYOUT = * IS_PRINT = * IT_SPECIAL_GROUPS = * IT_TOOLBAR_EXCLUDING = * IT_HYPERLINK = * IT_ALV_GRAPHICS = * IT_EXCEPT_QINFO = CHANGING it_outtab = * IT_FIELDCATALOG = * IT_SORT = * IT_FILTER = * EXCEPTIONS * INVALID_PARAMETER_COMBINATION = 1 * PROGRAM_ERROR = 2 * TOO_MANY_LINES = 3 * others = 4 . IF sy-subrc <> 0. * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF.
Thanks for any input.