Show TOC

Copying a Service Builder ProjectLocate this document in the navigation structure


To reduce development effort and save time, you can create a new Service Builder project by copying an existing Service Builder project together with its data model and service implementation. Note that you can copy the mapping information contained in a project’s service implementation, but you cannot copy the generated ABAP classes, as these have to be generated explicitly for the project created as a copy.

It is preferred to copy a project if a project has already been created for a similar use case and you can reuse its artifacts with minimal changes.


To copy an existing project, proceed as follows:

  1. Open the project you want to copy in tree view. To open a project, click Open Project and enter the project name or use the input help available.

  2. In the tree view, right-click on the name of the project and select Copy Project. Alternatively, click Start of the navigation path Project Next navigation step  Copy End of the navigation path.

  3. In the Create Project dialog box, overwrite the name of the existing project with a new name in Project field.


    If you want to create a new version of an existing project, you can simply append a version number, for example, _0001, to the original project name. In this way, it is apparent that the new project is based on an earlier version of the project of the same root name. In some cases, it might be helpful to have several versions of the same project indicated by a numeric counter of this kind.

  4. Overwrite the description for your new project in Description field.

  5. In Copy from Template Project section of the dialog box, ensure the name of the project you want to copy is displayed in the Project field and verify that this is the correct project.

  6. If you want to copy the project together with its data model and service implementation, select Data Model and/or Service Implementation.

    • Copying Service Implementation refers to copying of the mapping information not runtime artifacts

    • To copy Service Implementation, you must also copy Data Model. However, you can copy Data Model without copying Service Implementation.

    • In projects of type Annotation Model for Referenced Service, you can copy only the data model, copying Service Implementation option is disabled.

  7. Under Attributes type of the project you are creating as a copy is displayed in Project Type field. The type displayed here depends on the base project. Copied project inherits the base project type.

  8. Specify the generation strategy you want to use in Generation Strategy. The Standard generation strategy is used as default and it is recommended to use the same generation strategy that was specified for the original project.

  9. Under Object Directory Entry, enter the name of the package in which you want to create the copied project and click Enter.


    If you do not want the copy of the project to be created in a package to be transported from one system to another in the system landscape, enter $TMP or click Local Object.


The Service Builder creates a new project as a copy of the template project you selected. The new (copied) project is displayed in the tree view on the left-hand side of the screen.

Service Builder creates copy of the project you selected. The copied project is displayed in the tree view. Newly created project contains the same artifacts as that of the base project. Consequently, if you selected the Data Model and Service Implementation these are included in your new project. That is, the new project contains the same entity types, properties, navigation properties, associations, and entity sets contained in the base project data model.

To save the new project in the Service Builder, click Save. Your project is saved and you can subsequently return to the Service Builder at any time, open this project, and continue the service development and modeling process.

After you have made all relevant changes, click Generate to create the runtime artifacts for this new project. After generating run time artifacts, register the new service in the relevant system using the Service Maintenance function.

More Information

For information about how to generate runtime artifacts for copied projects, see Generating Runtime Artifacts for Copied Projects.

For information about how to create a new Service Builder project, see Creating a Service Builder Project.

For information about how to copy data model artifacts, see Copying Data Model Artifacts.

For information about how to register the new service, see Service Maintenance.