Editing Development Components
Use
To change a development component (DC) you have to perform the following steps:
-
Select the appropriate perspective to work in the SAP NetWeaver Developer Studio.
-
Synchronize the files of the DC in the local file system with the Design Time Repository (DTR) files.
-
Make the change known to the repository, that is, you perform a check out.
-
Edit the source files of the DC.
-
Locally build the component.
-
Copy the changes into the repository, that is, you perform a check in.
Prerequisites
You have imported a development configuration in the Developer Studio and are logged on to the SAP NetWeaver Development Infrastructure.
Procedure
Selecting the Appropriate Perspective
You edit a component in the perspective that corresponds to its type. To open the appropriate perspective in the menu path choose .
For example, if the DC is of type Web Dynpro, you edit it in the Web Dynpro perspective. If it is of type J2EE, then edit it in the J2EE Development perspective, and so on.
Synchronizing the Files of the Component in the Local File System
Either you must synchronize the component or - if none exists - create a project for it. More information: Synchronizing a DC in a Local File System .
Checking Out the Files for Changing
Checking out the files for changing is necessary for old projects. After the synchronization, the files are stored read-only on the local file system. Before you can change individual files of this component, you must check them out for editing.
-
To check out a file or folder, choose the required file or folder in the tree.
-
From the context menu, choose .
-
In the dialog that appears, select an existing activity or create a new activity.
You need an activity to combine changes that belong together. Therefore, select only suitable activities (activities of the same DC) for your changes or create a new activity. As long as an activity has not been checked in, it is in open state, and you can always add other files to it.
-
To assign your file(s) to this activity, choose OK .
Editing the Source Files
-
To change the source files of a component, select the perspective that corresponds to the component type.
-
In the context menu of the component, choose either:
-
: Other users can also check out this file.
-
: The file is locked for other users until you check it back in.
An activity is created.
-
-
Make your changes.
-
Save your changes.
Locally Building the DC
-
Open the perspective that belongs to the component type.
-
In the context menu of the DC to be built, choose Build .
A dialog box appears.
-
Check the selected action and the DCs concerned in the dialog window and make changes, if necessary.
The development environment automatically recognizes which components have changed and need to be built, and marks them accordingly. However, you can always change these selections, for example, if you want to enforce the building of a component.
Checking In Changes Into the Repository
After you made sure that your changes do not trigger compilation errors, check in your activity with the changes you made.
-
Switch to the Open Activities view.
-
In the context menu of the activity, choose Checkin .

