Refactoring a Web Dynpro Object
Use
To rename a Web Dynpro object or move it to another package, you must first refactor it. A refactoring action changes the code without affecting its semantic behavior.
To rename an application, model classes, components, component interfaces, interface views, custom controllers, used components, views, and windows, you must use Rename . You can also rename the context node and context attributes of a view, window, component and interface view.
To move a component, application, or component interfaces from one package to another, you must use Move .
Prerequisites
You have:
-
Installed SAP NetWeaver Developer Studio 7.1.
-
Opened the Web Dynpro perspective in SAP NetWeaver Developer Studio and you have created the Web Dynpro object that you want to refactor.
Procedure
Renaming a Web Dynpro Object
-
In the Web Dynpro Explorer , click the object that you want to rename with the secondary mouse button and choose .
-
Enter the new name.
-
To preview the list of objects that contain references to the object that you are going to rename, choose Next .
-
Choose Finish.
Moving a Web Dynpro Object to another Package
-
In the Web Dynpro Explorer , click the object that you want to move with the secondary mouse button and choose .
-
Enter the new package name or click Browse to select an existing package.
-
To preview the list of objects that contain references to the object that you are going to move, choose Next .
-
Choose Finish .

