Hi,
Do you have the event trace turned on? (SWELS).
Set a breakpoint and debug through that call of SAP_WAPI_CREATE_EVENT and see if it returns any messages. Change the call so that it captures any messages in MESSAGE_LINES.
I assume the event JOBCODEUPDATE exists for your custom object?
cheers
Paul