Professional Documents
Culture Documents
Events In OOABAP
Events are the message raised by an object. Whenever any condition is met, object can raise an event. E.g. Timer has
expired, Cut-off Limit has reached, User Interaction happened etc. This event than can be caught by the receiver. The
receiver than implements the logic to handle the event. E.g. When Timer has expired, render the page again; When cut-
off limit is reached, tell user to stop etc.
The objects designer doesn’t need to know who would handle the event or not. But it gives an opportunity for any
receiver object to catch and process. Its kind of taking a roll call at few intervals in the discussion if anyone of the line
has any question. If anyone has the question, they can ask at that time. The receiver object generally doesn’t care how the
event was raised. For receiver, it only matters the fact that event was raised and its now trapped in its event handler.