on 11-28-2010 9:38 PM
Hi Experts,
I'mcreating a popup in a standard way from a normal View called 'MAIN':
lr_popup = lr_window_manager->create_window(
modal = abap_true
window_name = 'WND_POPUPMAIN'
title = lv_text
close_button = abap_true
button_kind = if_wd_window=>co_buttons_yesno
message_type = if_wd_window=>CO_MSG_TYPE_NONE
close_in_any_case = abap_false
).
lr_popup->subscribe_to_button_event(
button = if_wd_window=>co_button_yes
button_text = lv_text
action_name = 'CPY'
action_view = lr_view_controller
is_default_button = abap_true ).
In the Action handler of the YES button (It is in the MAIN View), I made some operations, then I'd like to close this popup then open a new one, which shows the errors (if there are errors) in another popup.
lr_nd_errors->bind_table( lt_errors ).
lr_api_comp_controller = wd_comp_controller->wd_get_api( ).
lr_window_manager = lr_api_comp_controller->get_window_manager( ).
lr_popup = lr_window_manager->create_window(
modal = abap_true
window_name = 'WND_ERROR'
title = lv_text
close_button = abap_true
button_kind = if_wd_window=>CO_BUTTONS_CLOSE
message_type = if_wd_window=>CO_MSG_TYPE_ERROR
close_in_any_case = abap_true
).
The problem is: that this second popup doesn't open.
My question is: IS this possible in WenDynpro? (open poopup from another one) If no then what do you think, how can I show the error table?
Thanks
N.
It seems, WDA can't open a popup from a popup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.