Show TOC

Create Service Builder ProjectLocate this document in the navigation structure

This document describes creating an empty Service Builder project complying with OData V4.

Context

To develop a service using SAP Gateway Service Builder complying with OData V4, you have to create a project. Service Builder uses projects to bundle all the artifacts to develop a service in one central place and thereby helps you to organize service development and modeling process. You can use projects to organize the transport of objects from one system environment to another, so that all the artifacts remain together at all times.
NoteThe following image contains links to more information.
This document describes about the Service Builder projects that comply with OData V4, the development approach followed by it and its User Interface. This document describes creating an empty Service Builder project complying with OData V4. This document describes steps for creating Entity Types in Service Builder Project complying with OData V4. This document describes creating properties for an entity type complying with OData V4. This document describes creating Navigation Properties in the Service Builder project complying with OData V4. This document describes creating Entity Sets for the Service Builder projects complying with OData V4 This document describes defining Navigation Property Binding for the Service Builder projects complying with OData V4. This document describes creating complex types in the project complying with OData V4.

To create a Service Builder project complying with OData V4, proceed as follows:

Procedure

  1. In menu bar select Start of the navigation path Project Next navigation step Create End of the navigation path. This opens the Create Project dialog box. Alternatively you can also create a project by clicking Create Project.
  2. Enter a name for your project; this name should be unique. Project name is a repository object and thus it must follow namespace rules. You can use the input help to check if the project name is already in use.
  3. In Description column enter a description for your project in not more than 60 characters. The description is displayed alongside the project name in Service Builder. It is a mandatory field and provides additional information about your project.
  4. Under Attributes, in Project Type select “OData 4.0 Service” from the drop down menu. This results in the system selecting “Standard” as the default Generation Strategy.
  5. Under Object Directory Entry, select the package in which you want to create your project and press Enter. To create the project locally, enter $TMP or choose Local Object.
    The Service Builder creates a new project with an empty folder structure. You can view the folder structure in the tree-view on the left. The folder structure comprises:
    • Data Model
      • Entity types

      • Entity Sets
    • Runtime Artifacts
  6. Save your project by clicking Save. This saves your project, and you can subsequently return to Service Builder, open this project, and continue service development and modeling process. If you do not save your project, a warning message appears prompting you to save the project.