cancel
Showing results for 
Search instead for 
Did you mean: 

Is window to window navigation is possible in a single web component int..?

Former Member
0 Kudos

Hi Experts,

I have developed a scenario in that i have stuck that is window to window navigation which is developed in a single web component interface is possible or not.If not possible why,If yes how can we achieve that send some examples on it.

Thank u,

Shabeer Ahmed.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

thank u

Former Member
0 Kudos

Hi Shabeer,

Yes it is possible.You can try in this way instead of creating Exit plug of window.

1.create seperate windows for each and also create seperate application for each.

2.Now Onaction of first view use the CREATE_EXTERNAL_WINDOW method of if_wd_window_manager.

pass url value of second application.It will call your second view in seperate browser.

Former Member
0 Kudos

There is no direct navigation between two windows.

But what can be done, is to integrate in one window the Interface view of another Webdynpro Component.

Define a usage between the Components and on embedding a view choose "Embed interface view of a component interface"

Best regards,

Rohit

uday_gubbala2
Active Contributor
0 Kudos

Hi Shabeer,

Its not directly possible to navigate between windows of the same component. However you can achieve this using an workaround which am suggesting at the latter part of my thread.

Check this fragment from the SAP's standard documentation.

"A window embeds one or more views and has a corresponding window controller. A window controller can contain navigation plugs, methods, and a context. Each view can be embedded in multiple windows.The outbound plug of a window can be connected to any inbound plug of embedded views, and the outbound plug of a view can be connected to any inbound plug of the embedding window. However, navigation between windows of the same component is not possible."

Workaround for achieving the desired navigation:

1.create 2 views and 2 windows and assign first view to first window and second view to second window.

Also create an exit plug for window1 with parameter URL of type string.

Note: when you create windows automatically an interface view will also create with same name.

2.Create application1 for window1(nothing but give interface1 ) in the same way create another application and assign interface view2.

Then write your logic in the onAction method of view1,call the exit plug of window1 then pass the URL of second application.

Regards,

Uday