Alv itab events

Aus SAP-Wiki
Wechseln zu: Navigation, Suche
*&---------------------------------------------------------------------*
*&      Form  alv_itab_events
*&---------------------------------------------------------------------*
*       ALV-Events
*----------------------------------------------------------------------*
form alv_itab_events
   changing p_ct_events type SLIS_T_EVENT.

Data: ls_events   type slis_alv_event.

ls_events-name = 'USER_COMMAND'.              "Event für Benutzereingaben auf Liste
ls_events-form = 'ALV_ITAB_USER_COMMAND'.     "Form-Routine
append ls_events to p_ct_events.

ls_events-name = 'TOP_OF_PAGE'.               "Kopf-Bereich der Liste für Textausgaben
ls_events-form = 'ALV_ITAB_TOP_OF_PAGE'.
append ls_events to p_ct_events.

*ls_events-name = 'PF_STATUS_SET'.            "Status-Events (Title und Status)
*ls_events-form = 'ALV_ITAB_PF_STATUS_SET'.
*append ls_events to p_ct_events.

endform.                    " alv_itab_events