Tuesday, 15 November 2011

Use of REUSE_ALV_EVENTS_GET




CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 4
IMPORTING
et_events = i_event
EXCEPTIONS
list_type_wrong = 0
OTHERS = 0.






This FM is used to get the default event table of the ALV LIST DISPLAY.


The IN_EVENTS internal table is of TYPE SLIS_T_EVENT. This table contains


all the events wrapped up in the ALV LIST or ALV GRID and consistsof two fields


NAME and FORM .The NAME corresponds to names of the events like TOP_OF_PAGE and END_OF_PAGE ,USER_COMMAND and FORM will contain the name of the FORM ROUTINE that will be called dynamically through callback mechanism when the particular event will fire and is initial for all events bt default and has to be filled for


events for which handling is required.


0 = simple list REUSE_ALV_LIST_DISPLAY

1 = hierarchcal-sequential list REUSE_ALV_HIERSEQ_LIST_DISPLAY

2 = simple block list REUSE_ALV_BLOCK_LIST_APPEND

3 = hierarchical-sequential block list REUSE_ALV_BLOCK_LIST_HS_APPEND

4 = Fullscreen REUSE_ALV_GRID_DISPLAY

1 comment: