In EHSM3.0 I am enhancing method process_event of class CL_EHFND_FBI_GUIBB_FORM to do some validations before data gets saved.
I set the following method parameter if user enters incorrect data:
ev_result = if_fpm_constants=>gc_event_result-failed.
With this the processing stops & data is not saved but I want to send back error message on portal.
I am trying to get message managaer using attribute MO_CONTROLLER of the class CL_EHFND_FBI_GUIBB_FORM but no success.
How to achieve this? Can someone help?