SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Expose a Standard Core Data Service for ABAP Environment

Create a service definition, service binding and communication scenario to expose a Core Data Services (CDS) view in SAP Business Technology Platform ABAP Environment.

Overview

🎓 beginner 15 min. SAP BTP ABAP EnvironmentBeginnerABAP DevelopmentSAP Business Technology Platform

You will learn

  • How to create a service definition
  • How to create a service binding
  • How to create a communication scenario
Created by March 9, 2023
Contributors

Prerequisites

Steps

Intro

Always replace XXX with your initials or group number.

Create all business services with ABAP namespace Z....


Step 1 Overview

You need to create an OData service by defining and binding a service based on the corresponding CDS view. As soon as the OData service is published in the local system repository, it is ready to be consumed by an OData client, such as a SAP Fiori app. To be able to use this exposed service and its related service binding, you need to create a published Communication Scenario. This published Communication Scenario will be assigned to a Communication Arrangement.

Create ABAP package
Create ABAP package

Step 2 Install ADT
+
Step 3 Create your own ABAP package
+
Step 4 Create a service definition
+
Step 5 Expose CDS View
+
Step 6 Create a service binding
+
Step 7 Activate your service binding
+
Step 8 Preview your service binding
+
Step 9 Create a communication scenario
+
Step 10 Add inbound into communication scenario
+
Step 11 Publish communication scenario
+
Step 12 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 12
1. Overview 2. Install ADT 3. Create your own ABAP package 4. Create a service definition 5. Expose CDS View 6. Create a service binding 7. Activate your service binding 8. Preview your service binding 9. Create a communication scenario 10. Add inbound into communication scenario 11. Publish communication scenario 12. Test yourself

Learn more →