Show TOC

Copy a ProjectLocate this document in the navigation structure

This document describes steps to copy an existing Service Builder project complying with OData V4

Context

To reduce development effort and save time, you can create a new Service Builder project by copying an existing project. You can copy all the artifacts in the project but cannot copy the generated ABAP classes as these have to be generated explicitly for the copied project. It is preferred to copy the project if a project has already been created for a similar use case and you can reuse its artifacts with minimal changes.

Prerequisites

You should have an OData V4 project created that you want to copy.

Procedure
To copy an existing Service Builder project, proceed as follows:
  1. Open the project, that 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. Copy Project dialog box appears.
  3. In Project field overwrite name of the existing project with a new name.
  4. In Description field overwrite the description for your new project.
  5. In Copy from Template Project section, ensure name of the project you want to copy is displayed in the Project field.
  6. Under Attributes, type of the project you are creating as a copy is displayed in Project Type field.
  7. Specify the generation strategy you want to use in Generation Strategy. Standard OData V4 generation strategy is used as default. It is recommended to use same generation strategy that is specified for the base project.
  8. In Object Directory Entry section, enter name of the package in which you want to create the copied project in Package field and click Continue
    Note If you do not want the copied project to be created in a package that is transported from one system to another in system landscape, enter $TMP or click Local Object.

The Service Builder creates a 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. To save the new project in 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 the relevant changes to the new project, click Generate to create the runtime artifacts for this new project.