Show TOC Start of Content Area

Process documentation Editing Development Components Locate the document in its SAP Library structure

Purpose

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.

Note

Note that the context menu of a DC may look different depending on whether the DC is stored as a source or as an archive. That is because you do not need to create a project for a DC that is stored as an archive.

Prerequisites

You have imported a development configuration in the Developer Studio and are logged on to the SAP NetWeaver Development Infrastructure..

Process Flow

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 Window à Open Perspective à Other.

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.

Note

All projects appears in the Resource perspective This graphic is explained in the accompanying text.

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. For more information, see Synchronizing a DC in a Local File System.

Checking Out the Files for Changing

Checking out the files for changing is not necessary if you newly created the project. 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.

...

       1.      To check out a file or folder, choose the desired file or folder in the tree.

       2.      From the context menu, choose DTR ® Edit.

       3.      In the dialog that appears, select an existing activity or create a new one.

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 openstate, and you can always add other files to it.

       4.      To assign your file(s) to this activity, choose OK.

Note

If you assigned versions to a particular activity by mistake, as long as the activity is still open, that is, the activity is not checked in, you can:

      Move individual versions to another existing or a newly created activity.

      Rename the activity when you check it in (in case only the activity name was misleading and the activity contains only versions that belong together).

Result

You can now change the files in your local file system.

For information about editing sources, see Editing the Source Files of the Component.

For information about editing DC meta data, see Editing Development Component Metadata.

End of Content Area