Skip to Content
avatar image
Former Member

Navigation from one window to another

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 28, 2011 at 03:25 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 28, 2011 at 05:54 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 28, 2011 at 06:11 AM

    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

    Add comment
    10|10000 characters needed characters exceeded