cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation from one window to another

Former Member
0 Kudos

Hi experts,

I have a scenario in which i have three views : View1, view2 and view3. i have to open the view2 in a popup window from view1. In View2 i have a button, when i click the button i have to close the popup(View2) window and i have to navigate to view3 in main window. Could you please guide me how shall i navigate to View3(main window) from View2(popup window).

Regards,

Sarathy.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

When you want to close the pop up, you can do it in a method of the component controller, by calling that method when you want to close the pop up and then raise an event there, the event handler for this event can be kept in view 1 where you can fire the plug to view 2 in the handler action.

[Check this|http://help.sap.com/saphelp_nw04s/helpdata/en/eb/ed6f4169e25858e10000000a1550b0/content.htm]

Thanks & Regads,

Gayathri Shanbhag

Former Member
0 Kudos

Hi Gayathri,

Thank you for your valuable answer.

Regards,

Sarathy.

Answers (2)

Answers (2)

ChandraMahajan
Active Contributor
0 Kudos

Hi,

Navigation is achived by creating proper navigation links and firing events on outbound plugs. refer http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/308ebfe9-a07a-2c10-e494-9849d50efc88

and code accrodingly.

Thanks,

Chandra

Former Member
0 Kudos

Hi,

In the view2 ,in the coding of the event that is triggered on the click of the button , write the code of view navigation on view3 and in the view2 create an outbound plug and on main window link this outbound plug of view2 with an inbound plug of view3.