!--a11y-->
Creating a Plug 
You define a Plug with graphical support provided by the Navigation Modeler.
Before you create a plug, you must create the application entities project, component, and view.
...
1.
Open the Navigation
Modeler, by choosing the context menu entry
Open Navigation Modeler for the window name in the Web Dynpro
Explorer: The work area of the Navigation Modeler is displayed in the
right area of the screen.
2. In the function selection area, choose Create Outbound Plug or Create Inbound Plug. In the work area of the Navigation Modeler, click once on the view for which you want to create the plug. It is irrelevant whether you start by defining an outbound plug for the start view or creating an inbound plug for the subsequent view.
To define a view as a start view, you must create an outbound plug for this view using the following wizard: Enter a name for the plug; you can assign the same name to plugs in different views.
3. Choose Next to proceed to the next window and define the parameters.
4.
Close the wizard by
choosing Finish and then choose
Save all Metadata. The outbound plug is then displayed in the form of
a red arrow on the right side of the view.
5. To start the wizard for the inbound plug of the subsequent view, choose Create Inbound Plug and then click once on the view in the work area. Make the required entries in the wizard. With an inbound plug you can also define an event handler for the view. When you create the event handler, you choose from the following options:
a. Create an event handler with the default name onPlug<myInboundPlug>.
b. Use the predefined event handler with the name onActionRadioButtonPressed.
c. Define an event handler with optional properties. Choose New, and enter the following in the wizard: Name, Return type, Event source, Subscribed event.
d. If you do not need an event handler for the inbound plug, choose Use None.
6.
Close the wizard by
choosing Finish and then choose
Save all Metadata. The inbound plug is then displayed in the form of a
blue arrow on the left side of the view.
In the Web Dynpro Explorer, all created plugs are displayed as entities of the view.
At file system level, the plug definition exists in form of elements of the XML file <myView>.wdview. You can display these files in the Navigator view in the folder /src/packages/<myPackage>/. Under no circumstances should you make any changes to this file.
The next development step is to create a navigation link between an outbound plug and an inbound plug. Refer to Creating a Link.
