Show TOC

Procedure documentationUsing Code Snippets to Fire a Plug Locate this document in the navigation structure

 

You use this procedure to navigate from one view to another view using code snippets in Web Dynpro.

Prerequisites

You have created:

Procedure

  1. In the Web Dynpro perspective, choose   Windows   Show Views   Snippets  

  2. In the Web Dynpro explorer, select the required view.

  3. Choose   Open   Java Editor   using the secondary mouse button.

  4. Drag the Fire a Plug snippet and drop it in the appropriate user code area of the Java editor.

  5. In the Insert Snippet: Fire a Plug dialog box, select the required plug and choose Insert.

  6. 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.