sapdev logo background
sapdev logo sapdev logo
Comments

SAP CLASS EVENTS documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Events
In ABAP Objects, events are declared as components of classes. SAP makes a distinction between instance events and static events. Triggers and handlers can be objects and classes, depending on whether they are instance events, static events, or event handlers.

Instance events
Instance events are declared using the EVENTS statement. They can only be triggered in instance methods.

Static events
Static events are declared using the
CLASS-EVENTS statement. All methods (instance or static) can trigger them, but only static events can be triggered by static methods.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




CLASS_COMPONENT_SELECT_GLOSRY
CLASS_EXCEPTION_GUIDL




comments powered by Disqus