Start of Content Area

Procedure documentation Multiple iViews  Locate the document in its SAP Library structure

You can create separate iViews for each view in a Web Dynpro Java application. This enables you to modify the way the views are laid out on the page.

Note

Not all Web Dynpro applications can be split into individual iViews for each view. The developer of a Web Dynpro application must prepare the application to be split into individual iViews.

For more developer information on enabling multiple iViews, see Enabling Multiple iViews from an Application.

Procedure

...

...

       1.      Start the iView Wizard by right-clicking the folder in which you want to create the iView, and then selecting New ® iView:

The iView wizard opens.

       2.      In the Source Type pane, select Web Dynpro Java application, and click Next.

       3.      In the iView Type pane, select Create one iView from each application view, and click Next.

       4.      In the Source Objects pane, open the tree node of the Web Dynpro application whose views you want to use to create iViews, and then select the views.

A tree of available applications is displayed, with the following hierarchy:

       Development Component (DC)

       Web Dynpro Application

        Application Variant

        Views

For applications that were created without variants, a default variant is displayed. The variant has the same name as the application, but without the package name.

This graphic is explained in the accompanying text

Click Next.

       5.      In the iView Properties pane, modify the iView properties, as needed, and then click Next.

       6.      Create a Web Dynpro page in which to place the new iViews.

When creating a new page, iViews are created from the selected views, and delta links to these iViews are automatically added to the new page.

To create a page, do the following:

                            a.      Select the Open page wizard checkbox, and click Next.

                            b.      Select the Web Dynpro Proxy Page template, and click Next.

                            c.      Enter a page name and ID, and click Next.

                            d.      Add at least one layout to the page, and click Next.

If you do not want to create a page, deselect the Open page wizard checkbox, and click Next. You can later create a Web Dynpro page using the page wizard, and add your iViews to that page.

In the Summary pane, a list of the iViews and page to be created is displayed.

       7.      Click Finish.

Result

An iView is created for each selected view. If you chose to create a page, a page is created with delta links to all the created iViews.

 

End of Content Area