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:
- Open the project, that you want to copy, in tree view. To open a project, click and enter the project name or use the input help available.
- In the tree view, right-click on the name of the project and select
Copy Project. Alternatively, click . Copy Project dialog box appears.
- In Project field overwrite name of the existing
project with a new name.
- In Description field overwrite the description for your new project.
- In Copy from Template Project section, ensure name of
the project you want to copy is displayed in the Project field.
- Under Attributes, type of the project you are
creating as a copy is displayed in Project Type field.
- 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.
- In Object Directory Entry section, enter name of the package in
which you want to create the copied project in
Package field and click
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.