The function module SWE_EVENT_CREATE, used to elevate workflow events, does not return the event ID.
This is the code error in SWE_EVENT_CREATE, to resolve this error please do as following:
- First, go to transaction SE24, And open the class CL_SWF_EVT_EVENT in change mode.
- Then go to the tab 'methods' and change the visibility of the method 'get_event_id' from 'protected' to 'public'.
- If system does not allow to change the visibility you must deactivate the modification assistant first (Menu: Edit -> Modification operations -> Switch Off Assistant).
- Lastly save and activate the class.