Welcome to SAP Central
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Raising the event in ABAP Objects

Go down

Raising the event in ABAP Objects Empty Raising the event in ABAP Objects

Post  Uma_ABAP Sun Apr 01, 2012 12:49 pm


An event can be raised in by using the ABAP statement “raise event”. Events can be raised anywhere It may be raised in any method of a class or may be raised anywhere in the main

program. Let’s take an example

Code:

CLASS testing_event DEFINITION.
PUBLIC SECTION.
EVENTS my_event.
METHODS event_raising_method.
ENDCLASS.
CLASS testing_event IMPLEMENTATION.
METHOD event_raising_method.
RAISE EVENT my_event.
ENDMETHOD.
ENDCLASS.

Uma_ABAP

Posts : 56
Join date : 2012-03-31

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum