on 03-24-2014 5:15 AM
Hi Experts,
I have requirement that i have a component with view1 in Window1 and view2 in Window2, my req is i want to call second view2 of window2 in first view1. Please help to solve this req
Regards
Syed
Hi,
You can achieve this in two ways.
1. Navigation using plugs :
2. Using Webdynproapplication :
cl_wd_utilities=>construct_wd_url(
EXPORTING
application_name = ' ' " Pass Second webdynpro application name
IMPORTING
out_absolute_url = lv_url ).
lv_url is Second Webdynrpo application URL.
lo_window_manager = wd_comp_controller->wd_get_api( )->get_window_manager( ).
lo_window = lo_window_manager->create_external_window( url = lv_url ).
lo_window->open( ).
Regards,
Ravikiran.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Suppose u want to open second WB from WA the following code will work
DATA: lr_view TYPE REF TO if_wd_view_controller,
lr_api_main TYPE REF TO if_wd_component,
lr_window_man TYPE REF TO if_wd_window_manager.
l_window2 type REF TO IF_WD_WI
lr_view = wd_this->wd_get_api( ).
lr_api_main = wd_comp_controller->wd_get_api( ).
lr_window_man = lr_api_main->get_window_manager( ).
*Creating the Popup Window
CALL METHOD lr_window_man->create_window
EXPORTING
modal = abap_true
window_name = 'WB'
title = 'Demo example'
close_button = abap_true
RECEIVING
window = wd_comp_controller->l_window2.
wd_comp_controller->l_window2->open( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi worked ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Please read some basic webdynpro tutorials before posting a question. It will save your time and others.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.