SAP

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

Create an ABAP Core Data Services (CDS) View in ABAP On-Premise

Create a CDS View, display it in Fiori Elements preview, and enhance its appearance using built-in annotations

Overview

🎓 beginner 45 min. ABAP DevelopmentBeginnerSAP Netweaver

You will learn

  • How to create a read-only CDS-based travel model
  • How to display this CDS entity in a Fiori Elements preview
  • How to extract the metadata of your CDS entity
  • How to add semantic annotations
  • How to add a search function
  • How to add selection fields to the Fiori Elements preview
Thomas Jung T Thomas Jung August 21, 2026
Created on March 9, 2023
Contributors

More from Devtoberfest Planner

See all 227 tutorials by Devtoberfest Planner →

Prerequisites

Prerequisites

Steps

Intro

In summary, based on existing persistent data sources, you will create and implement a query for an OData service to get a running app with useful read-only features. You can then use some of these features in productive development to make your applications more powerful and more user-friendly. By the end of this tutorial, your application should look like this.

final-app-create
final-app-create

For more information on creating a read-only app, see the SAP Help Portal: Developing Read-Only List Reporting Apps.

Throughout this tutorial, object names may include a suffix or group number, such as XXX. Always replace this with your own group number or initials.


Step 1 Create package

  1. Create a new package for this tutorial, by choosing New > ABAP Package.

    step1a-new-package
    step1a-new-package

  2. Enter the following then follow the wizard, choosing a new transport request:

  • Name: Z_ENHANCE_CDS_XXX

  • Description Enhance CDS Tutorial 2020

    step1a-create-package
    step1a-create-package
    step1b-new-tr
    step1b-new-tr

Step 2 Create CDS View Entity
+
Step 3 Define CDS View
+
Step 4 Display in Data Preview
+
Step 5 Create a service definition
+
Step 6 Create service binding
+
Step 7 Activate service binding
+
Step 8 Display Fiori Elements Preview
+
Step 9 Add annotations for automatic display
+
Step 10 Extract UI metadata
+
Step 11 Add semantic metadata
+
Step 12 Add search field
+
Step 13 Add selection fields
+
Step 14 Check your code
+
Step 15 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 15
1. Create package 2. Create CDS View Entity 3. Define CDS View 4. Display in Data Preview 5. Create a service definition 6. Create service binding 7. Activate service binding 8. Display Fiori Elements Preview 9. Add annotations for automatic display 10. Extract UI metadata 11. Add semantic metadata 12. Add search field 13. Add selection fields 14. Check your code 15. Test yourself
Next