Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Migrating Local Web Dynpro Projects to the NWDI (SAP Library - Using Java)

Use
You can use this procedure to migrate an existing local Web Dynpro project to the Java infrastructure at a later time.

Prerequisites
The local Web Dynpro project was created in your Eclipse workspace and can be built without errors using the local build process. You have already logged on to the DTR server.

Procedure
To migrate a local Web Dynpro project into a Web Dynpro DC project, proceed as follows:

Creating a New Development Component


... 1. Create a new Web Dynpro DC project.

You create an empty container for a Web Dynpro DC that does not yet have any functions. The new DC should include all relevant development objects of the local project.
Generated by Jive SBS on 2011-05-09+02:00 1

Migrating Local Web Dynpro Projects to the NWDI (SAP Library - Using Java)

Do not check in the newly created DC into the DTR yet.

Copying Packages from the Local Project


2. In the Web Dynpro perspective, switch to the Navigator view.

3. Select the local Web Dynpro project to be migrated and expand the project structure down to the source folder: <My_Local_Project> src packages. 4. Select all packages and from the context menu choose Copy.

Inserting Packages into the New DC Project


5. Now choose the DC project that was just created and expand the project structure in the Navigator view, again down to the source folder. 6. Select the Packages node and choose Paste.

The Add Files to DTR dialog box appears. 7. 8. Choose OK to confirm your selection. Assign an activity either by creating a new activity or by choosing an existing one.

Execute Reload
9. Switch to the Web Dynpro Explorer.

Generated by Jive SBS on 2011-05-09+02:00 2

Migrating Local Web Dynpro Projects to the NWDI (SAP Library - Using Java)

10. 11.

Select the project node of the DC project and choose Reload. In the displayed dialog box, again choose Reload.

Reload now also reloads the Web Dynpro metadata into the new project.

Building the Project


12. Execute a local rebuild for the entire DC project. Choose the function Rebuild project. 13. If there are no errors in the task view, execute a DC-based build by choosing the function Development Component Build.

This build is identical to the central build tool; it is needed to take mutual dependencies of DCs into consideration during the build.

Result
You have migrated your local Web Dynpro project into a DC project. You can now deploy the new DC into your local environment and test it before you commence checking in the assigned activity into the DTR.

Generated by Jive SBS on 2011-05-09+02:00 3

You might also like