on 06-29-2015 5:30 PM
Hello all,
I'm using a interactive form componente to show some employee documents, and because this, I cannot use modal popup to show, interactive form has problems using in modal popup.
So, I would like to open a external window to show this view. Can someone help me? I'm not using webdynpro JAVA, I'm using webdynpro ABAP. ok?
Best regards,
Bruno Lima
Hi Bruno,
Create a view which you wants to call as popup and create all the required elements in it , create a window and bind this view into that window and from the button click or whichever action call the following code.
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_ATTACHMENTS_POPUP'
title = 'Attachments'
close_in_any_case = abap_true
message_display_mode =
if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
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 ).
lo_window->open( ).
- Gowtham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.