
There are various ways of reacting to what happens when a user chooses a function in the toolbar.
Events for Standard ALV Functions
With standard ALV functions, you can only handle events at two specific points in time: when the user performs a function or when the user completes a function. You do not receive any information about which standard ALV function the user has selected.
You can use the following events to handle standard ALV functions:
ON_STD_FUNCTION_BEFO
ON_STD_FUNCTION_AFTE
User-Defined Function Events
With user-defined functions, you can determine specifically which functions the user has selected.
Event ON_FUNCTION is available to handle self-defined functions.