Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 1726

FPM: how to close a dialog by click button instead of "OK"/"Close"?

$
0
0

     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?


Viewing all articles
Browse latest Browse all 1726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>