Show TOC Start of Content Area

Background documentation Navigation, Plugs and Navigation Links  Locate the document in its SAP Library structure

Navigation Between Views

The navigation from one view to the next is performed using an outbound and an inbound plug which are connected by a navigation link. You can thus define the sequence in which the views of a Web Dynpro application are called. The Navigation Modeler, a graphical Web Dynpro tool, helps you with this task.

Note

It is not possible to control the data flow with this type of navigation. To do this, you must use the graphical Web Dynpro tool called Data Modeler.

You can use one of the following options to control event handling when a plug is triggered:

·        For an inbound plug, a method called onPlug<plug_name> is generated by default. This method is executed when the inbound plug is called using the outbound plug of the preceding view and a navigation link. Instead of this method, you can also call an existing method or have no event handling performed.

·        For an outbound plug, a method called wdFirePlug<plug_name> is generated by default. You can call this method in the implementation at exactly the place where you want to navigate to the next view.

You can pass parameters to the methods which must be the same for both the outbound and inbound plug if these are connected by a navigation link.

Application Startup and Exit

In the interface view, you can define an inbound plug of type Startup and an outbound plug of type Exit Plug which determine the start and end point of a Web Dynpro application.

Navigation Between a Web Dynpro Application and Another Web Application

In the interface view, you can define an outbound plug of type suspend and an inbound plug of type resume. Using these plugs, you can navigate from within a Web Dynpro application to any other Web application (suspend), and then navigate back from this application to your Web Dynpro application (resume).

Additional Links

Navigation Modeler

Event Handling

Web Dynpro Application: Configuration, Deployment and Execution

 

End of Content Area