SAP Message SPRX318 - event not possible for synchronous methods

SPRX318 : event not possible for synchronous methods