on 08-12-2015 12:31 PM
Hi Experts,
Please let me know how to get a pop up information message in a standard fpm application?
Thanks and Regards,
Shitanshu Sahai
Hi Shitanshu,
I'd say you have to create a dialog box via FLUID editor, with a simple form GUIBB in it so you can add text (or whatever FPM block you need).
Then, at the event processing of your application, that is, when you want the popup to be displayed, write something like this :
cl_fpm_factory=>get_instance( )->open_dialog_box( iv_dialog_box_id = 'your_dialog_id' io_event_data = lo_event_param ).
That should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shitanshu,
As far as I know...
You can't call the popup from the user exit, you have to do it in a feeder class (or application controller).
For example, let's say you have an FPM application with a GUIBB, and only one button within it. This GUIBB must be associated with a feeder class. In the PROCESS_EVENT method of this feeder class, you can add the code I mentioned previously (...open_dialog_box...).
As a prerequisite, you have to create the dialog box in the configuration of the FPM application. The ID you provide there is the ID you use to call OPEN_DIALOG_BOX. This dialog box should be supplied with GUIBBs (almost) as any other FPM screens.
That is, the dialog box does not exist outside the FPM application.
Hi Shitanshu,
the most easiest and fastet way to have a popup with some simple text on it is through the FPM needs confirmation concept. Just google the key words "FPM needs confirmation" or check our developer guide for this.
Kind regards,
Ulrich
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.