Start of Content Area

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

 

Let us suppose that you need to migrate a local Web Dynpro project to the Java infrastructure. You also need to use the DTR to manage the project resources. The instructions below will show you how to perform this migration, and what to look out for while doing so.

Prerequisites

Procedure

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

Creating a New Development Component

..

       1.      Create a new Web Dynpro DC Project.

This creates an empty container for a Web Dynpro DC that does not have yet have any functions. The new DC should include all relevant development objects in the local project.

Do not check 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 that you want to migrate and expand the project structure.

       4.      Select the source folder src and the Model Folder, then choose Copy in the context menu (right mouse click).

This graphic is explained in the accompanying text

Inserting Packages into the New DC Project

       5.      Now choose the DC project that you have just created and expand the project structure in the Navigator view 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 a DTR activity either by creating a new activity or choosing an existing one.

Execute Reload

       9.      Switch to Web Dynpro Explorer.

   10.      Choose the project node for the DC project and choose the This graphic is explained in the accompanying text Reload function.

   11.      A dialog box appears. Choose Reload again.

This function now also reloads Web Dynpro metadata into the new project.

Building the Project

   12.      Execute a local rebuild for the entire DC project. Choose the This graphic is explained in the accompanying text Rebuild project function.

   13.      If there are no errors in the task view, execute a DC-based build by choosing Development Component Build.

This build is identical to the central build tool; it is needed to cater for mutual dependencies of DCs during the build.

Result

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

 

 

End of Content Area