cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation between Web Dynpro Windows

Former Member
0 Kudos

Hi experts

My requirement is to create two windows in the same Web DynPro component, then call up one of the Windows in an external page, so that the users can see both at the same time. I have looked at LinkToURL, but it does not appear to support this.

Any help would be greatly appreciated!

Regards

Johan Kriek

Accepted Solutions (1)

Accepted Solutions (1)

pranav_nagpal2
Contributor
0 Kudos

Hi,

As suggested by Thomas you can use parameter passing through your URL....

here is a thread link in which Uday has explained the process in detail.....

regards

Pranav

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Pranav and Thomas

Thanks for your assistance on my last problem! I have implemented the workaround you have suggested!

Former Member
0 Kudos

Hi Pranav.

Thank you very much for your help! I have implemented the code as you have suggested, and the window pops up in a different screen as expected.

It does however not appear that the context that I set up in the previous application is transferred to the new application. I have created a context mapping in the new window, referencing the component controller context of the component that contains both applications.

Any idea how I can get the context to be available in the new application?

Thanks in advance,

Johan

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>

>

> It does however not appear that the context that I set up in the previous application is transferred to the new application. I have created a context mapping in the new window, referencing the component controller context of the component that contains both applications.

>

> Any idea how I can get the context to be available in the new application?

>

> Thanks in advance,

> Johan

You can not share context between external windows. When you open an external window, it creates a new session on the ABAP Application Server. You might even get load balanced to a different application server in a multi-app server environment. Therefore there is no memory communication between the sessions.

The only way to communicate is pass data via the URL parameters on launch of the external window.

pranav_nagpal2
Contributor
0 Kudos

Hi Johan,

use this code in action of any event, a button or link to action....

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.

lo_api_component  = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window         = lo_window_manager->CREATE_EXTERNAL_WINDOW(
                   URL =
'http://<server_name>/sap/bc/webdynpro/sap/ztesttab'
*                  title                  =
*                  close_in_any_case      = abap_true
                   ).

lo_window->open( ).

you have to create an application and in that you have tyo give interface view as name of your view in popup window and give any plug even default will work...

regards

Pranav

Edited by: Pranav Nagpal on Jan 19, 2009 11:31 AM

Former Member
0 Kudos

Hi

just have a look at this thread it might help you out with your problem

Former Member
0 Kudos

Hi,

just have a look over this thread...

it might clear all your doubt and you can also get how to sort out your problem

.

Former Member
0 Kudos

hi,

use the following link ,

http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro...

Regards

Jayapriya

Edited by: jayapriya jayaraj on Jan 19, 2009 8:10 AM