Entering content frame

Procedure documentation Creating a Project Locate the document in its SAP Library structure

For a Web Dynpro application, you first require a Web Dynpro Project; the Web Dynpro perspective provides a wizard for this purpose. When you define a project, the Web Dynpro Generator automatically generates the logical structure of the entire Web Dynpro project. Based on this structure, you can then define the individual entities of the Web Dynpro application.

A project also serves the purpose of organizing files and packages and maintaining settings and properties. In the SAP NetWeaver Developer Studio, you can create two different types of project:

·        Local project

·        Development Component (DC) Project

This documentation deals with the procedure for defining non-DC projects – that is, local projects.

Recommendation

Before design and implementation, check whether your development team uses the component model for Web Dynpro applications.

Procedure

To create a project, proceed as follows:

...

       1.      Choose File ® New ® Web Dynpro Project.

       2.      Make the required entries in the wizard – the project name, for example.

Recommendation

You should keep the project name as short as possible. The path name of the URL generated for the application cannot exceed 255 characters.

The default directory for the newly created project is:

C:\Documents and Settings\<UserId>\Documents\SAP\workspace

This workspace groups all Web Dynpro application entities in one directory. In the wizard, you can either use the default directory for the workspace or enter a directory of your choice. You can also specify the master language for the Web Dynpro project in the wizard.

       3.      Close the wizard by choosing Finish.

Result

In the Web Dynpro Explorer, the project is displayed as the main node of a tree hierarchy. This structure contains all definable Web Dynpro entities as subnodes. Initially, the directories are empty, since you have so far only created the project.

In the Navigator view, you can display the project structure on your local file system. As well as the directory hierarchy, three XML files are also generated: .classpath has a reference to the .jar files of the Web Dynpro runtime. .project is a project file with a reference to the natures Web Dynpro, Java Dictionary, and Java. Under no circumstances should you make any changes to these files. .tssapinfo is a metamodel reference file for the SAP/Together framework with master language English.

Additional Information

More than one project can be open for editing in the Web Dynpro Explorer. When you create a project, it remains open in the Web Dynpro Explorer until you explicitly remove or delete it from the SAP NetWeaver Developer Studio.

The procedure for opening a project that has already been created, but not since edited in the SAP NetWeaver Developer Studio, is described under Importing a Project.

Note

If you no longer require a project and want to delete it, refer to Deleting a Project for more information.

The next Web Dynpro application entity to be defined is the Web Dynpro component. Information about the procedure is available under Creating a Component

 

Leaving content frame