There are only 3 ways you can trigger an event
1) Run transaction SM64
2) Call the function BP_RAISE_EVENT from within a program.
3) Run the program "sapevt" at OS level
You can Create an Event in the SM62 but you need to raise this event in a program using the function BP_RAISE_EVENT.
The following example may help:
- eventid = 'ZYPAYEVNT'.(name of the event)
- eventparm = 'SUCCESS'.(identification of the event)
CALL FUNCTION 'BP_EVENT_RAISE'
EVENTID = EVENTID
EVENTPARM = EVENTPARM
TARGET_INSTANCE = ' '
BAD_EVENTID = 1.
ENDFORM. " RAISE_EVNT
Once an event is created, you can schedule background jobs to wait for the event to be triggered. Syntax and arguments passed to the sapevt program can be found in the SAP documentation.