on 04-03-2007 5:33 AM
hi,
i'm trying to create a popup window using "create_popup_to_confirm ". i have registered the event handlers for the 'yes' and 'no' actions.
my program flow should depend on the result of the popup windows. so, in the event handlers, i'm setting the flags and reading them in my method to determine the flow.
the problem is that, webdynpro does not show the popup window sometimes. and even if it shows the popup window, the code after the create_popup is being executed before the user chooses yes/no.
please clarify as to how this can be fixed. i want the popup to behave as a modal dialog and the code inside the method should get executed only after the user chooses an option.
regards,
ramalingam
Hello All,
When the user clicks on a button I am displaying the popup window. But I am unable to trace the event, when the user clicks on Ok or Cancel button on the popup window. The code I wrote in the windoopen method is,
window_descr->window->set_window_title( 'Select Activity Type' ).
window_descr->window->set_remove_on_close( abap_true ).
window_descr->window->set_close_in_any_case( abap_false ).
window_descr->window->set_button_kind( if_wd_window=>co_buttons_okcancel ).
Please suggest how to implement the logice in those events. Thanks in advance.
Regards,
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramalingam.
The code will always be executed after you have called the open popup method.
You have to build your logic accordingly. So you have to open the pop up and
return directly or use if else statement. The rest of the logic should be triggered from you event handler methods.
e.g.:
if something eq abap_true.
window->popup( ).
else.
some other stuff ..
endif.
Hope this helps.
Cheers,
Sascha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramlingam,
Please go through example Give by SAP .
WDR_TEST_CHAT .In that they have shown pop up .Trace that code.It will help you a lot.
Chheer
Parry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.