Quantcast
Channel: SCN : All Content - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 839

FPM Dialog box within a CHIP (UCW component)

$
0
0


Hello,

 

This is my first post and I hope you might be able to help me out.

 

I currently have an OVP app with a side panel (using UCW component to create the chips in the side panel).

In one of my chips, I have a list that will be populated when I search for a record in the dialog box.

However, if I use the factory->get_instance() I get the OVP instance, and according to the documentation, CHIPs have their own fpm instances that I was able to get it using IF_FPM_MULTI_INSTANTIABLE~FPM_INITIALIZE().

 

sidepanel.png

search.png

 

Now comes the tricky part, if I call the dialog box using the OVP instance it works, but when returning the FPM_CLOSE_DIALOG event, the UIBBs inside the CHIP are not being triggered (probably because it's a separate FPM instance and they have their own event loop?!). And if I use the CHIP FPM instance to call the dialog box, nothing happens (probably because my dialog box is created in the FLUID OVP component configuration?!).

 

To close the dialog box I'm invoking the close event, I'm using the OVP instance as well:

lo_fpm = cl_fpm_factory=>get_instance( ).
lo_fpm->raise_event_by_id( 'FPM_CLOSE_DIALOG' ).


I'm trying to use a dialog box that will search for a record and when selected, it returns to my CHIP and add that record to the list.


Viewing all articles
Browse latest Browse all 839

Trending Articles



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