on 08-13-2015 5:52 AM
Hi,
I am using popup to confirm window. Surprisingly i am getting runtime errror.
Error: The following error text was processed in D08 system : View- , Window , interface and configuration controller can not be generated later.
After clicking on YES or NO button, i am facing this issue.
Code:
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_popup_to_confirm(
text = lt_text
button_kind = if_wd_window=>co_buttons_yesno
message_type = if_wd_window=>co_msg_type_information
close_button = abap_true
window_title = 'Confirmation'
* window_left_position =
* window_top_position =
window_position = if_wd_window=>co_center
window_width = '40%'
window_height = '5%'
* default_button =
).
lo_view_controller = wd_this->wd_get_api( ).
lo_window->subscribe_to_button_event(
EXPORTING
button = if_wd_window=>co_button_yes
button_text = 'YES'
action_name = 'YES_SNAIL'
action_view = lo_view_controller
* is_default_button = ABAP_FALSE
).
lo_window->subscribe_to_button_event(
EXPORTING
button = if_wd_window=>co_button_no
button_text = 'NO'
action_name = 'NO_SNAIL'
action_view = lo_view_controller
* is_default_button = ABAP_FALSE
).
lo_window->open( ).
Thanks in advance.
Thanks & Regards,
Sankar
Hi Sankar,
Are the actions YES_SNAIL, NO_SNAIL created in your view?
if yes, then check for the code written inside the actions, may that causing the error.
If you are still facing issue, provide full error text for clarity.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.