// Explore More Tutorials
Create OData Entities with the SAP Cloud SDK's Virtual Data Model
2019-11-04
Intermediate
20 min.
Create OData entities with the SAP Cloud SDK's virtual data model to build an address manager application.
You will learn
- How to use the Virtual Data Model to create a new entity
- How to trigger a create request from an API endpoint exposed by your application
The goal of this tutorial group is to show you how to implement a JavaScript application that allows you to manage the addresses of business partners. This application will be using Express.js
and the SAP Cloud SDK for JavaScript. In this tutorial, we use the SAP Cloud SDK’s OData Virtual Data Model to create a new address and make this functionality available via an API endpoint.
Step 1: Add an API endpoint
Step 2: Create a business partner address
Step 3: Build a business partner address from the request
Step 4: Wire everything up
Step 5: Optional: Deep create
Step 6: Test yourself
Prerequisites
- Have
Node.js
andnpm
installed on your machine. - Have access to an SAP S/4HANA Cloud system or the SAP API Business Hub Sandbox, or use the Business Partner Mock Service.
- Basic knowledge of OData is recommended, but not required.
Navigate tutorial steps