You use this procedure to navigate from one view to another view using code snippets in Web Dynpro.
You have created:
Views
For more information, see Creating Views
An outbound plug for the view in the Navigation Modeler.
For more information, see Creating Plugs
In the Web Dynpro perspective, choose
In the Web Dynpro explorer, select the required view.
Choose
using the secondary mouse button.Drag the Fire a Plug snippet and drop it in the appropriate user code area of the Java editor.
In the Insert Snippet: Fire a Plug dialog box, select the required plug and choose Insert.
In the confirmation dialog box, choose Yes to insert the snippet in the Java editor.
The system inserts the required code to trigger an outbound plug from a view.