on 01-08-2016 11:40 AM
Hi experts
I created a web dynpro application with 2 views.( Main and MAIL ).
In the Main VIEW I use this code to call the MAIL view:
l_api = wd_this->wd_get_api( ).
ls_buttons-do_close = 'X'.
ls_buttons-text ='OK'.
ls_buttons-action-action_name = 'VMAIL'.
ls_buttons-action-view = ????????????????
DATA lo_m TYPE REF TO if_main.
MODIFY lt_buttons FROM ls_buttons INDEX 1.
*ZONACTION_INS_MAIL
lo_window = lo_window_manager->create_and_open_popup(
window_name = 'ZMAIL'
title = 'Mails Adress'
message_type = if_wd_window=>co_msg_type_none
message_display_mode = if_wd_window=>co_msg_display_mode_selected
* is_resizable = ABAP_TRUE
buttons = lt_buttons
cancel_action = ls_canc_action
).
MY PROBLEM IS THE ls_buttons-action-view PARAMETER .HOW CAN I GET THE wd_this->wd_get_api( ) OF MAIL VIEW WHEN I AM IN
MAIN VIEW?
I WANT TO DYSPLAY THE MESSAGES INSIDE THE MAIL VIEW THEN I NEED PASS IT IN METHOD.
THANKS FOR HELP.
Hi Ronaldo,
Instead of creating standard buttons from popup creation code you can create your own buttons in the MAIL view itself and call the popup without any button , give full control to your buttons placed in the MAIL view.
Hope this helps.
- Gowtham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.