Entering content frame

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

 

It is possible that you have the task of migrating a local Web Dynpro project subsequently to the Java infrastructure. In particular, you wish to implement the DTR in order to take on management of the project resources. In the following description, you will learn what you need to pay attention to and how you can execute this migration.

Prerequisites

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 have yet have any functions. The new DC should include all relevant development objects of 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 to be migrated and expand the project structure down to the source folder: <My_Local_Project> ® src ® packages.

       4.      Select all packages and choose Copy using the 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 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 a DTR activity either by creating a new activity or choosing an existing one.

Execute Reload

       9.      Switch to the Web Dynpro Explorer.

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

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

Reload 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 function This graphic is explained in the accompanying text 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 and is required to take dependencies of DCs among each other into consideration.

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 the assigned activity into the DTR.

 

 

 

Leaving content frame