Entering content frame

Procedure documentation Step 8: Defining the Navigation Locate the document in its SAP Library structure

When you designed the two views, you created an inbound and an outbound plug for your views. You have already bound the button actions to the relevant outbound plug.

This graphic is explained in the accompanying text

You must now determine to which inbound plug an outbound plug binds itself when it is called. This navigation is also declared in the view hierarchy of the respective window. You are still in the view of the structure of your MYCOMPONENT window.

Procedure

       1.      Open the STARTVIEW node in the structure of your window.

Below this node you will find two additional nodes, one for each plug in this view.

       2.      Open the context menu of the OUT1 outbound plug and choose Create Navigation Link.

In the following window, specify the required target view (you can use the input help for all the views that are available in this window).

       3.      Select the RESULTVIEW by double-clicking on it and confirm the dialog.

After you have selected the target view, the only inbound plug IN2 that is available for this view was automatically selected for the navigation. If a view has several inbound plugs, you will have to make another decision again here.

       4.      Save your changes.

The navigation you have just created appears in the structure of the window as an additional subnode below the node of the OUT1 outbound plug of the STARTVIEW.

Now open the RESULTVIEW node and repeat the whole operation to create a navigation link from the OUT2 outbound plug of the second view to the IN1 inbound plug of the first view.

Result

All necessary actions for creating the views and their navigation are complete.

Step 9: Creating and Testing an Application

 

 

Leaving content frame