on 11-28-2007 5:17 AM
Hi all,
I am creating several Popup window in the View using method create_popup_to_confirm of interface IF_WD_WINDOW_MANAGER.Is there any restrictions of creating Actions YES/NO only for button kind 'YESNO'.
For each Popup can i create different actons for handling corresponding functionalities in different Methods.
Can i use any suitable Action name for handling YES/NO functionality.
Points will be sured.
Thanks
Sanket sethi
Hi Sanket,
Yes you can make the actions as you want by assigning the action name to YES/NO events.
call method lr_wd_window_manager->create_popup_to_confirm
exporting
text = lt_text
button_kind = '4'
window_title = 'title'
receiving
result = lr_wd_window.
lr_wd_window->subscribe_to_button_event(
exporting
button = if_wd_window=>co_button_yes
action_name = 'ACT_YES'
action_view = lr_view_controller
).
lr_wd_window->subscribe_to_button_event(
exporting
button = if_wd_window=>co_button_no
action_name = 'ACT_NO'
action_view = lr_view_controller
).
Regards
Amol Deshmukh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanket,
Yes you can use suitable Action names for handling YES/NO functionality for each Popup window.
Eg: Give YES_1 for first popup window, YES_2 for second popup and proceed to write your code relevant to that specific action.
Regards,
Ismail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sanket......
you can use different action names for different popups. that should not be a issue..
--regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.