Show TOC

 Creating a Web Dynpro ComponentLocate this document in the navigation structure

Use

A Web Dynpro application defines a starting point for a Web Dynpro component that the user can call in the Web browser. In the following procedure, you will create a new Web Dynpro component, which will then be used as the root component in your first Web Dynpro application.

Procedure
  1. In the overview tree of the Web Dynpro Explorer, open your newly created project and then the Web Dynpro node. Open the context menu for the node Web Dynpro Components.
  2. Choose  Create Web Dynpro Component.
  3. Enter a name for the new Web Dynpro component, for example FirstComponent, and specify the Java package it is to belong to, for example com.sap.tc.webdynpro.tutorials.introduction.basics.

    Note

    Do not change the default selection of src/packages as the Source Folder. This file is where the underlying metadata files for the Web Dynpro project are stored in the further development process.

Result

In the Web Dynpro Explorer, a newly added Web Dynpro component FirstComponent is visible under the node Web Dynpro Components:

You can now add the visible section to this currently empty shell.

Further Procedure

 The next step is to create and design the first View .