Entering content frame

Procedure documentation Step 9: Creating and Testing a Web Dynpro Application Locate the document in its SAP Library structure

In this last step you have to create a Web Dynpro application so that the window can be called using a URL. A Web Dynpro application is linked uniquely to a URL with which it can be started in the browser. The Web Dynpro application does not contain any information about the inner structure of the window behind it.

This graphic is explained in the accompanying text

For every window of a component, a uniquely assigned interface with the same name is generated when it is created: the interface view. The window is linked with the Web Dynpro application using this interface view.

Procedure

       1.      Open the context menu for your Web Dynpro component in the object list hierarchy and choose Create ® Web Dynpro Application.

       2.      Give your application an appropriate name (such as “myApplication”) and confirm the dialog.

A list of the properties of your new application is displayed on the right-hand side. MYCOMPONENT was automatically entered in the Interface View line, since no more windows with corresponding interface views are available for selection.

       3.      Save your changes.

       4.      Activate all parts of your component by choosing the corresponding entry in the context menu of the myComponent component.

       5.      Then open the context menu of the Web Dynpro application you have just created and choose Test.

The Workbench ensures that a browser is started and that the URL that was generated for your application is called. You may need to log on to your system again using the browser.

An interface element is displayed in the top-left corner of your browser, and there is a button to the right of it. Once you have entered a text and clicked on the button, you will be taken to your second view. The text that you entered appears there together with the button for backwards navigation.

Result

The simple Web Dynpro application with the equally simple context example is complete. You can now extend it as you like and try out the varied design options that the Web Dynpro framework offers.

 

Have fun!

 

 

Leaving content frame