SET_FUNCTIONS = O_SALV->C_FUNCTIONS_ALL ). *...Event handler for the button... DATA: LO_EVENTS TYPE REF TO CL_SALV_EVENTS_TABLE, LO_EVENT_H TYPE REF TO LCL_EVENT_HANDLER. * event object LO_EVENTS = O_SALV->GET_EVENT( ). * event handler CREATE OBJECT LO_EVENT_H. * setting ...
How to add push-button to ALV using class CL_SALV_TABLE, because while developing a code using class CL_SALV_TABLE which requires an ALV output with oops, therefore, you are required to add a push button to the ALV using the same class.
DATA: go_alv TYPE REF TO cl_salv_table, go_funlst TYPE REF TO cl_salv_functions_list. DATA: gt_data TYPE STANDARD TABLE OF spfli. DATA: lo_cxroot TYPE REF TO cx_root, lv_excmsg TYPE string. SELECT * FROM spfli INTO TABLE gt_data . TRY. cl_salv_table=>factory( IMPORTING r_s...