Start of Content Area

Procedure documentation Migrating Local Web Dynpro Projects to the NWDI  Locate the document in its SAP Library structure

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.

Caution

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.      Choose OK to confirm your selection.

       8.      Assign an activity either by creating a new activity or by choosing an existing one.

Execute Reload

       9.      Switch to the Web Dynpro Explorer.

   10.      Select the project node of the DC project and choose Reload.

   11.      In the displayed dialog box, again choose Reload.

Note

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

Note

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.

 

 

 

 

End of Content Area