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

FPM_CLOSE_DIALOG not triggered when closing dialog box

$
0
0

We have an FPM application where a Dialog Box has been defined. The dialog box is triggered by an event - handled in the componentcontroller method PROCESS_EVENT of the main application.

 

The dialog box is opened as follows:

 

  DATA l_o_fpm  TYPE REF TO if_fpm.

  l_o_fpm = cl_fpm_factory=>get_instance( ).

 

  CASE io_event->mv_event_id.

 

    WHEN 'OPEN_POPUP'.

 

      l_o_fpm->open_dialog_box(

        EXPORTING

          iv_dialog_box_id          = 'POPUP2'  "ID of Popup window

      ).

 

 

This triggers correctly an FPM_OPEN_DIALOG event, but when the popup is subsequently closed, the FPM_CLOSE_DIALOG event is never fired.

 

We have tried triggering our own events from within the popup (in the view's WDDOEXUT method, for instance). In this case, the main componentcontroller's PROCESS_EVENT detects our custom event, but not the FPM_DIALOG_CLOSE. Using the latter is a prerequisite for checking which button was used to close the Dialog Box (OK or Cancel), but this is something we cannot currently do...

 

We have tested this behaviour in 2 separate applications, but the event is never triggered.

 

Any input (or similar observations) are higly appreciated!

 

Regards,

Trond


Viewing all articles
Browse latest Browse all 1726

Trending Articles



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