2022 Mar 23 6:31 AM
Hi,
i have a job that is triggered by an event in sm37.
I want to know which program/process that triggers this event.
Regards,
Carl
2022 Mar 23 7:58 AM
Hi Carl,
these job-events are typically triggered by using the function module BP_EVENT_RAISE.
Here you can find some more details:
https://wiki.scn.sap.com/wiki/display/ABAP/Scheduling+background+job+by+triggering+an+event
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = 'Z_EVENT'
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 4
OTHERS = 5.
Maybe you can find the calling routine for your specific event via the where-used-list of this function module?
If this related to a Z-event, the ABAP-Source-Scan could also help to find the name of the event somewhere in the ABAP-coding. For this you could use the report RS_ABAP_SOURCE_SCAN via SE38.
Kind regards
Jens