Data Model Definition via Declarative Method
In SAP Gateway Service Builder, you can define a new data model within your project to suit your exact service requirements based on the data you want to expose at runtime.
Context
You can define a new data model by creating (and editing) individual data model elements and their properties. In the tree view of the Service Builder, you use the data model folder structure to create and edit the individual data model elements. The data model structure comprises the following subfolders for each of the element types:
- Double-click the specific data model element in the data model folder and make the relevant entries.
- Right-click the Data Model folder, select Create and then select the data model element you want to create.
- Expand the Data Model folder, right-click the data model element you want to create and select Create.
After defining your model, generate runtime artifacts. For more information, see Generating Runtime Objects