on 11-12-2012 12:28 PM
Hi,
I have a scenario where I'm thrwing a dialog box I configured in FPM WebDynpro. However I'm not able to pass any data to the dialog box that I called.
Any suggestions for me
Cheers
Arnab
Hello Arnab,
I was searching for the same question when i came across this thread. Doing some analysis i got the answer. I am not sure its helpful to you as the thread is from year 2012.
For your scenario when you need to pass the data in the pop up from an FPM, you must be using
cl_fpm=>get_instance( )->open_dialog_box to open the pop up.
If you check the import parameters this contains io_event_data as one of the importing parameters. This will be used to pass the data to the pop up.
Create the instance of this object and use set_data method to pass the data.
Now the question is where you can catch this data. If its a free style UIBB then you must have implemented an interface if_wd_ui_building_block.
In the before_output method you will get this passed data in io_event object.
There you can access the passed data, using mo_event_data->parameters.
I wish the solution will be helpful to someone who come searching for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Uwe,
in NW 7.03 in fact it doesn't make a difference whether you call CL_FPM_FACTORY=>GET_INSTANCE() or CL_FPM=>GET_INSTANCE. However, please keep in mind that CL_FPM is not intended for official use and may underly future incompatible changes. We do not plan to shut off CL_FPM=>GET_INSTANCE() for the time being.
As of NW 7.31 we enable a multi-instance functionality in the FPM. In order to use that you have to call CL_FPM_FACTORY=>GET_INSTANCE(). It will not work with CL_FPM=>GET_INSTANCE().
Best regards,
Jens
Hi Arnab,
you can have UIBBs on your FPM dialog box as on any other FPM page. The data transport mechanisms are therefore the same as between UIBBs. For example, you could create a singleton class as data container that can be accessed from any UIBB in your application, or, if there are just a very few parameters to be transferred between the UIBBs you can also add application-specific event parameters to your FPM events.
Best regards,
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.