I have a dialog containing a free style webdynpro component, which will add a comments to some entity. "Add" button is part of the free style web dynpro component. Sometimes, after user inputs comments and clicks "Add" button , I want to the dialog close automatically.
I tried following method, without success:
in handler of "Add" button, raise event "Note added".
lo_fpm = cl_fpm_factory=>get_instance( ).
lo_fpm->raise_event_by_id(
EXPORTING
iv_event_id = gc_event_note_created
).
the statements are executed without any problem.
however, in feeder class of the page, I tried to catch "Note added" event, but this event could not be found in process event, it is not raised at all?? or becuase the page is in dialog mode?