on 12-01-2009 10:07 AM
Hello everybody,
i have tried to create an external modal window (methode if_wd_window_manager->create_external_window with the parameter modal = ABAP_true). The window has been created but it isn't modal. What should I do to create a modal window?
Best regards
Bogdan
Hi Bogdan,
the parameter 'modal' is obsolet for external windows.
Look here:
[SAP Help Documentation|http://help.sap.com/saphelp_nw70/helpdata/en/43/79f82ccbec6fcde10000000a1553f6/frameset.htm]
Best regards
Renald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bogdan,
Create a separate view and design as per the requirements.Create a window.Embed the view in the window and write this code in the OnAction event of the button.
Popup
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = 'W_POPUP' " your window name
message_display_mode = if_wd_window=>co_msg_display_mode_selected
button_kind = if_wd_window=>co_buttons_ok
message_type = if_wd_window=>co_msg_type_none
default_button = if_wd_window=>co_button_ok
).
DATA: l_api TYPE REF TO if_wd_view_controller.
l_api = wd_this->wd_get_api( ).
lo_window->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
action_name = 'ON_OK
action_view = l_api
is_default_button = abap_true ).
lo_window->open( ).
Also, have a look at the standard Example "WDR_TEST_POPUPS_RT_00".
http://help.sap.com/saphelp_nw04s/helpdata/en/43/bccdcfe326332ee10000000a11466f/content.htm
I hope this helps you. Let me know if you have any difficulties.
Regards,
Gopal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bogdan,
I believe as you can see in the SAP Help document provided earlier, the modal external window in Webdynpro is obselete. So, I believe that would not be possible. Meanwhile, I did a search on this forum and found post that might be helpful for you. Have a look at this.
I hope this helps you.
Regards,
Gopal.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.