On_Select userexit in each menu/button-area or On_Event userexit in each state of the user interface.
Example: In DataView itself the keyboard event of the key combination [Shift+Delete] is assigned to this userexit in all states.