Data Access in S/4 HANA Cloud. Part 1 – CDS View Introduction

0
90

In this post, we would scratch the surface of CDS Views in S/4 HANA. In the subsequent post in the series, we would dig deeper into this new concept and its practical usage and technicalities.

We all know SAP is offering S/4HANA Product as:

  • On-premise
  • Cloud version

In S/4HANA On-Premise system, we can access all the database tables to fetch the data and display the data in any format just like we used to do before in ABAP.

But in S/4HANA Cloud System, we won’t be having access to the database tables. Only the Standard CDS views delivered by SAP are available, which are developed on top of the database tables.

What are CDS views?

CDS (Core Data Services) views are built on top of the existing database tables and views, to provide an efficient way of data modeling.

In the below link you can find the detail about CDS views:
SAP – ABAP CDS Development User Guide

To get a full idea of CDS views, you can refer the below links for more clarity:
SAP ABAP on HANA – Introduction to CDS Concept
SAP ABAP on HANA – Deep Dive into CDS Views

Apart from the Standard CDS Views offered by SAP, one can create their own Custom CDS Views by combining (joining) various relevant CDS views.

If you have access to S/4HANA Cloud System, you can see the Custom CDS Views Fiori App which can be used to create the custom CDS views and also to access all the standard CDS views provided by SAP.

Sample screenshot from the S/4HANA Cloud system Fiori Launchpad where you can find the Apps is shown below: S4 HANA Cloud CDS View

Note: You need to have the Business role BR_ADMINISTRATOR, assigned to your user in order to access these Custom CDS View App.

If you do not have access to S/4HANA Cloud system, you can get the 14-day free trial version from SAP, by registering in the URL given below:
Free Trial S/4 HANA Cloud System

Once you register you can access the S/4HANA Cloud System Fiori Launchpad, and appreciate the look and feel of all Fiori Apps delivered by SAP along with detailed explanation of each component.

Please Note: The Custom CDS View App is NOT part of the free trial account offering. You can access it only if you have a licensed system.

  • When you first log into your trial S/4 HANA Cloud System, you would be greeted with the below screen.

S4 HANA Cloud System

  • By default, you would have a My Learning Tile. You can go through the materials regarding SAP S4/HANA.

My Learning in S/4 HANA

  • You can click Home any time to see all the Fiori apps listed, as shown below.Fiori Apps in S/4 HANA

  • Execute any App and play around to see the functionality of each.

How is CDS Views DiffereNT between On-Premise and S/4 HANA on Cloud?

  • If you are using the S/4HANA On-Premise System, you can access all the CDS Views released by SAP either from Fiori Launchpad or from Eclipse or HANA Studio, by adding the system in ABAP Development Perspective, as shown in the below figure:

abap on sap hana

  • But, if you are using the S/4HANA Cloud System, you can access the CDS Views only from Fiori Launchpad, as shown below.

S4 HANA Cloud CDS View

Just like standard Fiori Apps, SAP is continuously releasing new Standard CDS Views in their quarterly releases, based on the requirement and the road-map they follow.

Recommendation: SAP recommends using only released CDS Views, since they may change (add/remove fields) the structure of the CDS View over a period of time before making the View as released.

In the next article, we will explain How to create the Custom CDS View? So, please stay tuned.

Click here to Learn AMDP Programming.
Click here to S/4 HANA Technical Overview From an ABAPers Eyes

Do you have any tips, tricks, tutorial, concept, config, business case or anything related to SAP to share? Write articles at SAPYard and EARN up to 500 INR per article? Please contact us at mail@sapyard.com to know more.

If you GENUINELY like our articles then it would be a HUGE help if you shared, subscribed and liked us on FacebookIt might seem insignificant, but it helps more than you might think.

We have organized all our SAP Tutorials on one page. Please visit the below link to find all materials at one convenient place.

All SAP Tutorials at One Page

LEAVE A REPLY

Please enter your comment!
Please enter your name here