Show TOC Start of Content Area

Procedure documentation Creating Components  Locate the document in its SAP Library structure

For the development of WD components (from now on referred to as components), you easily can follow the component wizard. When you create a component, you simultaneously optionally determine the usage of the default window with its views and you can check the available WD Models as well as the implemented interfaces.

Prerequisites

      WD Project has been created in the Web Dynpro Explorer view.

Procedure

       1.      Place the cursor on subnode Components of your WD project and choose Create Component from the context menu.

       2.      Follow the wizard and consider that you keep the name for the component and the package as short as possible. The path name of the URL generated for the application cannot exceed 255 characters.

Result

The logical structure of the component is displayed in the Web Dynpro Explorer. Starting from this structure, you would create or edit the further component units Component Controller, Local Component Interface including Interface Controller and Interface Views as well as other WD application units such as Windows, Views, and Messages.

The code generator has created a number of XML files and Java classes. In the Navigator view, you can open these files by choosing the context menu entry Open With Text Editor.Do not make any changes to the generated files.

End of Content Area