on 11-26-2015 2:30 PM
Hi,
you have to create a custom POWL action:
Example:
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
DATA lo_view_controller TYPE REF TO if_wd_view_controller.
DATA lv_string TYPE string_table.
lo_api_component = WD_THIS->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = 'W_POPUP '
title = 'MESSAGE : Forwarding Process'
close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>CO_MSG_TYPE_WARNING
default_button = IF_WD_WINDOW=>CO_BUTTON_OK
).
CALL METHOD LO_WINDOW->SUBSCRIBE_TO_BUTTON_EVENT
EXPORTING
BUTTON = IF_WD_WINDOW=>CO_BUTTON_OK
BUTTON_TEXT = 'Ok'
* TOOLTIP =
ACTION_NAME = 'NEW_WINDOW'
ACTION_VIEW = WD_THIS->GO_VIEW_CONTROLLER
* IS_DEFAULT_BUTTON = ABAP_FALSE
.
lo_window->open( ).
View Action: ONACTIONNEW_WINDOW
In the action, a new Window can be created
Regards
Shkelqim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vasanth,
Can you elaborate your requirement.
Thanks & Regards,
Sankar Gelivi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.