on 06-29-2007 2:44 AM
Hello,
How can i integrate BSP Application URL display in a Popup window of a WD Application? Is there any example available that shows this scenario?
Thanks,
Vasu
Hi
There are two solutions for your problem.
1. Create an external window and show your URL there.
2. Create a new window and view , and create an IFRAME in your view which points to the BSP URL.In this case you can show your URL as a pop up.
Thanks
Anzy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Below code , explains how you can create a pop up window.I have used the code in the component controller method.If you are using this in the view , make necessary changes.
Thanks
Anzy
Data:l_cmp_api type ref to if_wd_component,
l_window_manager type ref to if_wd_window_manager,
l_comp_info type ref to IF_WD_RR_COMPONENT,
l_final_window type ref to IF_WD_WINDOW.
l_cmp_api = wd_this->wd_get_api( ).
CALL METHOD L_CMP_API->GET_COMPONENT_INFO
RECEIVING
COMPONENT_INFO = l_comp_info
.
l_window_manager = l_cmp_api->get_window_manager( ).
CALL METHOD L_WINDOW_MANAGER->CREATE_WINDOW
EXPORTING
MODAL = ABAP_TRUE
WINDOW_NAME = <WINDOW NAME>
TITLE =
CLOSE_BUTTON = ABAP_TRUE
BUTTON_KIND =
MESSAGE_TYPE = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
CLOSE_IN_ANY_CASE = ABAP_TRUE
MESSAGE_DISPLAY_MODE =
DEFAULT_BUTTON =
RECEIVING
WINDOW = l_final_window
.
wd_this->LO_POP_UP = L_FINAL_WINDOW.
CALL METHOD L_FINAL_WINDOW->OPEN
.
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.