on 07-23-2012 10:13 PM
Helo
I am throwing a info message to user via a popup by using TimedTrigger UI element for running out time.
Popup is opening correctly after specified time, well, but, once the popup is opened than, my TimedTrigger is not working any more! (even from 2nd time onwards.once popup got opened..my break point is also not triggering on the my_action_on_time_trigger)
If i put just as a simple message with 'report_message' methid, that break point is triggering every interval correctly, with popup is not working
Pls. let me know how can solve this? I checked the google/scn, no use
Any hellp pls?
I am using the below code to get pop up
DATA lo_nd_popup_title TYPE REF TO if_wd_context_node.
DATA lo_el_popup_title TYPE REF TO if_wd_context_element.
DATA lo_window_manager_title TYPE REF TO if_wd_window_manager.
DATA lo_api_component_title TYPE REF TO if_wd_component.
DATA lo_window_title TYPE REF TO if_wd_window.
DATA: lr_view_controller_title TYPE REF TO if_wd_view_controller.
DATA: lv_text_ele TYPE string.
lo_api_component_title = wd_comp_controller->wd_get_api( ).
lo_window_manager_title = lo_api_component_title->get_window_manager( ).
lv_text_ele = "TimedTrigger is not working after a Popup"
* Here w_window is i defined under attribute tab of this view
wd_this->w_window = lo_window_manager_title->create_window(
window_name = 'POPUPTITLE_WIN'
title = lv_text_ele
message_display_mode = if_wd_window=>co_msg_display_mode_selected
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>co_msg_type_information
).
wd_comp_controller->go_window = lo_window_title.
lr_view_controller_title = wd_this->wd_get_api( ).
wd_this->w_window->subscribe_to_button_event(
button = if_wd_window=>co_button_okcancel
action_name = 'DUMMY' "Just like Cancel, nothing doing
** action_view = lr_view_controller_title ).
* Open the window;
wd_this->w_window->open( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thomas Jung said some thing abt WDDOMODIFY in the below (to what value i have to RESTET context attribute in WDDOMOFIFYVIEW method? in our system we have 1800 seconds)
http://scn.sap.com/message/7376072#7376072
but, i did not understood, pls eloborate
Thank you
Thank you. Yup i set it to 5 seconds for testing purpose and i put a REPORT_MESSAGE on the assicated ACTIONT as well, working perfectly.
But, i want to thro message in POPUP instaed of REPORT-MESSAGE, now its not working with popup!
1) Thomas said some thingf in WDDOMODIFY, i did not understood that part
2) Why its working for just REPORT_MESSAGE (on the top pf the screen am gettign this mesage), why it not working for a POPUP message? hoiw can i fix it for popup?
Thank you
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
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.