Registering Events with the BRF
Use
You must register an event with the BRF. You have to do this before you can define rules for an event.
Prerequisites
When you register events in the BRF, you must consider the following:
-
You have registered all the events called in the program in the BRF
-
You have only registered events that are actually called in the BRF.
Procedure
-
Call up transaction BRF
-
Enter your application class.
-
Choose Enter.
-
In the navigation tree, expand the All Groups folder.
-
Choose New Event in the context menu of the Events folder.
The Create New Event dialog box appears.
-
Enter a name for your event (such as MY_EVENT_001).
-
Enter an implementing class (such as 1EVENT; this is the standard implementation for BRF events).
-
Choose Enter.
The Create BRF Event <Name of Event> screen appears.
-
Make the following entries:
-
In the Short Text field, enter a meaningful text.
-
In the Description section, enter some documentation.
For example, here you can describe
-
The business context in which the event is called
-
Which data can be accessed
-
-
If necessary, enter a context for the event.
-
-
Save your entries.
Result
You have defined the following:
When event MY_EVENT_001 is called in your application, the system uses the standard implementation (event type) 1EVENT.
This event type 1EVENT accesses the object-oriented class (OO class) CL_EVENT_BRF.