!--a11y-->
Creating a New Web Dynpro DC 
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.
|
|
You have launched the SAP NetWeaver Developer Studio. |
|
|
You have imported the relevant development configuration into the Developer Studio. For more information, refer to the section Importing Development Configurations. |
|
|
You have a DTR user. |
To create a new DC and to check in the corresponding activity into the DTR, proceed as follows:
...
1. Provided you have not already done so, open the Development Configurations Perspective through the menu path Window ® Open Perspective ® Other.. ® Development Configurations.

2.
Choose the
icon
from the toolbar in
order to log to the DTR server.
The following logon window appears:

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

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.

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. |
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 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. |

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.

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.

10. Choose OK to confirm.
11. Select the new activity you created.

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.
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.


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.
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
DC
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.
|
|
|
