Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what is the purpose of slis_t_event_exit and slis_t_extab?

Former Member
0 Kudos

Hi gurus,

pls explain what is the purpose of slis_t_event_exit and slis_t_extab?

How to get the meaning of all the elements of SLIS and where they are used and what is their purpose??

1 REPLY 1

0 Kudos

SLIS_EVENT_EXIT | SLIS_T_EVENT_EXIT : Events for callback in alv like Standard ALV functions to be processed by application, refresh alv display.


e.g. In case you want to refresh alv:

    

  Data:it_eventexit TYPE slis_t_event_exit,
        wa_eventexit
TYPE slis_event_exit.

wa_eventexit-ucomm = '&REFRESH'.    " Refresh
wa_eventexit-after =
'X'.

APPEND wa_eventexit TO it_eventexit.


CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program       = sy-repid
i_callback_user_command  =
'USER_COMMAND'
i_callback_pf_status_set =
'PFSTATUS'
it_fieldcat              = it_fieldcat
is_layout                = it_layout
it_event_exit            = it_eventexit
i_screen_start_column    =
10
i_screen_start_line      =
20
i_screen_end_column      =
70
i_screen_end_line        =
45
i_grid_title             =
'Refresh ALV'
TABLES
t_outtab                 = it_tab.