Entering content frame

Procedure documentation Creating a New Web Dynpro DC Locate the document in its SAP Library structure

In order to implement a Web Dynpro application using the Java development infrastructure, you first require a corresponding development component project in the Developer Studio. Using the following instructions, you will become familiar with all the steps required to create an initial project framework, using a wizard, for a new DC project of the type Web Dynpro.

Prerequisites

This graphic is explained in the accompanying text

You have launched the SAP NetWeaver Developer Studio.

This graphic is explained in the accompanying text

You have imported the relevant development configuration into the Developer Studio. For more information, refer to the section Importing Development Configurations.

This graphic is explained in the accompanying text

You have a DTR user.

Procedure

To create a new DC and to check in the corresponding activity into the DTR, proceed as follows:

Log on to the DTR server

...

       1.      Provided you have not already done so, open the Development Configurations Perspective through the menu path Window  ® Open Perspective  ® Other..  ® Development Configurations.

This graphic is explained in the accompanying text

       2.      Choose the iconThis graphic is explained in the accompanying text from the toolbar in order to log to the DTR server.

The following logon window appears:

This graphic is explained in the accompanying text

       3.      Enter your logon data and confirm by pressing OK.

This graphic is explained in the accompanying text

 

Creating a Development Component Project of the Type Web Dynpro

       4.      Choose the Inactive DCs View and identify the software relevant for you.

       5.      From the context menu for the software component, choose the Create New DC function.

This graphic is explained in the accompanying text

A wizard window appears where you can specify the general properties of the DC project.

       6.      Specify the DC project to be created.

Property

Description

Vendor

Globally unique vendor ID.
We recommend that you derive this ID from the vendor’s Internet domain (example: sap.com).

Name

Unique component name. For more information, refer to the section Basics for Naming Components.

Caption

Name by which the DC will be identified in visual tools

Language

Original language used to name UI elements belonging to the DC

Local Development Component

Identification of the DC as a local DC
Activate this option only if the DC project is not to be checked into the DTR but is to be created locally only. In this case, there is no assignment to a DTR activity.

However, you can assign the resulting local DC to project processing of an activity at a later point. 

Synch Used Archives

Activate this identification if you want to add a standard set of DCs to be used to the DC to be created. The respective DCs are then synchronized from the DTR and executed individually in the new DC project.

Type

Choose Web Dynpro.

 

This graphic is explained in the accompanying text

       7.      Choose Next.

Since all the changes so far have not yet been assigned to any DTR activity, the Select Activity dialog window appears now.

Assign DTR Activity

This graphic is explained in the accompanying text

Activities are used to combine versions that belong together. Therefore, do not use any activity that already exists and belongs to another DC.

       8.      In the displayed Select Activity dialog window, choose the New.. button.

       9.      For the new activity, enter a transparent name under Display Name and add a Description.

This graphic is explained in the accompanying text

   10.      Choose OK to confirm.

   11.      Select the new activity you created.

This graphic is explained in the accompanying text

   12.      Choose OK to confirm your selection.

   13.      Choose Finish.

The wizard generates a new Web Dynpro DC project. As soon as generation is complete, the Web Dynpro Perspective is opened automatically.

Check Development Components into the DTR

   14.      Add the Open Activities view in the Web Dynpro Perspective using the menu path Window  ® Show View  ® Other..  ® Design Time Repository ® Open Activities.

   15.      Expand the tree display and choose the Checkin option for the selected activity from the context menu.

This graphic is explained in the accompanying text

Note

Normally, you will check in your activity into the DTR only at a later point, that is, after generation of certain development steps that belong together. 

   16.      Define your new template in the dialog box that appears and choose OK to confirm your entries.

Result

You have created a new Web Dynpro DC and checked in the project sources in your inactive version into the DTR.

The logical project structure of the respective project is displayed in the Web Dynpro Explorer. Contrary to a local project, an additional node This graphic is explained in the accompanying textDC MetaData is generated in this case. Here you enter all details that are especially relevant for handling DCs (used DCs, public parts, and so on). The generated project name is derived from the DC name as follows: <Development Configuration>~<Development Component>~<Vendor>.

From now on, the Web Dynpro Explorer is your main starting point for all further development activities.

This graphic is explained in the accompanying text

 

 

 

 

 

 

 

Leaving content frame