Entering content frame

Background documentation Navigation Through Window Plugs Locate the document in its SAP Library structure

You can vary – at runtime – which link that was set up at design time you wish to follow. You can do this through navigation control with the help of event handlers from Structure linkwindow plugs. In this manner you can control at runtime – within navigation in a window of an embedded component – which view of this embedded window is to be displayed first. 

Including the Window Plugs into Navigation

An additional step in navigation is necessary to include a parameter for navigation control. Instead of linking the outbound plug of a view in the window editor with the inbound plug of a subsequent view, the outbound plug of the view is linked with an inbound plug of the embedded window.

Note Each window automatically has the inbound plug Default. However, you can create any number of your own inbound and outbound plugs for each window. The plugs of a window are displayed as its elements in the tree structure in the window editor and can be processed there as well.

In addition, an outbound plug is created for the window for each required navigation option. The corresponding navigation link is set up in the window editor. In this way, all possible navigations are planned ahead of time.

So that navigation can be controlled at runtime, the outbound plug of the starting view must pass a parameter to the inbound plug of the window. 

In the event handler method of the inbound plug of the window, the system controls which outbound plug of the window is called at runtime with the help of a suitable implementation – depending on the value of the passed parameter. This means that the navigation path to be executed is controlled.

This graphic is explained in the accompanying text

 

 

 

Leaving content frame