on 03-19-2014 5:53 AM
Dear Experts,
I have a FPM Application which i need to open in new Window in my Webdynpro Application.
As of now I am using the URL of the Application to open it as an external WIndow, this causes some problem while refreshing the main Webdynrpo view While closing the FPM application window.
In the Main Webdypro view the refresh is not happeing since it is opening as an external WIndow.
If i open as a model window it may solve the issue. But Since i am using the URL if i open a model Window using the Window name it is not calling the FPM application.
Kindly give some suggestions or link to achieve the same.
Thanks,
Nalla B.
Hi Nalla,
I suggest you the below points to achieve your requirement
- Create a view V_FPM_APP and insert an iFrame ui element
- Create an attribute FPM_URL as string and bind it to the source of iFrame ui element
- Create a window, W_FPM_APP and embed the view V_FPM_APP
- Now, you can use method CREATE_WINDOW of interface IF_WD_WINDOW_MANAGER to open the FPM application and pass parameter MODEL = ABAP_TRUE
- You can register the onClose action of popup window to your own action on view as below
data lo_view_ctrl type ref to if_wd_view_controller.
lo_view_ctrl ?= wd_this->wd_get_api( ).
lo_window->set_on_close_action(
exporting
view = lo_view_ctrl
action_name = 'ON_CLOSE'
- Create an action ON_CLOSE in view from where the popup window is called
- Now, you get the control when user closes the popup window, so, you can refresh the main view
Also other way, you can use the concept component usages to achieve your requirement
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Rama,
I have checked the Iframe option earlier. But we are in the lower version which doesn't even have the Iframe Ui element
Could you please help me with the other option of using the Component usage to achieve this.
I tried using this option, But it didnt work, I got stucked up with some erros.
Kindly suggest some method to achieve this in steps. so that I can understand better
Thanks,
Nalla B.
Hi Nalla,
What kind of errors are you getting?
You can achieve your requirement by using component usage concept as below
Please follow the steps provided in the below link ( till it gets embedded into the window )
Embedding an FPM (Application) in Webdynpro Application
Hope this helps you,
Regards,
Rama
Message was edited by: Ramakrishnappa Gangappa
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.