Entering content frame

Procedure documentationStep 7: Embedding the Views in a Window Locate the document in its SAP Library structure

Each view is a self-contained unit and does not contain any information about navigation to other views. To de able to define such a navigation, and to make the views accessible for users, they have to be embedded in a Structure linkwindow.

This graphic is explained in the accompanying text

An empty name with the same name as the component itself is generated when a component is created. You now have to embed the two views.

Procedure

       1.      Open the Windows node in the object list hierarchy on the right-hand side of the Workbench.

       2.      Double-click on the MYCOMPONENT window there, which was created automatically.

The structure of your window is now displayed in the Editor on the right-hand side. It is still empty since you have not yet embedded any views.

       3.      In the structure of the window, open the context menu for the MYCOMPONENT node and choose Embed View. Make sure that the Workbench is in change mode.

In the following window, specify the name of the view that should be embedded. The input help for the corresponding field displays all views for the current component.

       4.      Select the STARTVIEW by double-clicking on it and confirm the window.

       5.      Repeat the process to embed the second view in the window.

       6.      In the structure of the window, open the context menu for the STARTVIEW node and choose Set as Default.

       7.      Save your changes.

       8.        

Result

The MYCOMPONENT window now contains the two views, which can be bound to each other. The STARTVIEW was set as the default view, which means that it is always called first when the window is called.

Step 8: Defining Navigation

 

 

Leaving content frame