Explain CALL FUNCTION 'BP_EVENT_RAISE'
In transaction CO11n User Exit Name - CONFPP05 the following code is added;
CALL FUNCTION 'BP_EVENT_RAISE'
eventid = 'ZMATBARPRNCO11'
bad_eventid = 1
eventid_does_not_exist = 2
eventid_missing = 3
raise_failed = 4
OTHERS = 5.
Could someone explain me the FM 'BP_EVENT_RAISE' and the Event ID 'ZMATBARPRNCO11'. How could I find 'ZMATBARPRNCO11' event.
FM 'BP_EVENT_RAISE' is used to trigger Background Event.
Trigger an event in the background processing system. This function module is for use in programs written in ABAP/4. Triggering an event tells the background processing system to start any background jobs that were scheduled to wait for the event.
You can trigger an event with or without an event argument, a string that more precisely identifies an event. Jobs can be scheduled to wait for an event for the combination of event and a particular event argument.
EVENTID is just an identifier to locate the event.
You can find this event in transaction SWEL/SWE2 transactions.
Hope it helps.