Skip to Content
Technical Articles
Author's profile photo Srinivas Gadilli

CDS Views API Documentation

CDS Views API

CDS (Core Data Services) views are semantically rich data models, providing highly efficient built-in functions like aggregations, annotations, and conceptual associations.

We can expose CDS views as a read-only ODATA service.

Where do we can find standard CDS views and its documentation is the questions that come to me.

We can find CDS views of documentation by using https://api.sap.com/.

Go to SAP API Business Hub by opening the URL  https://api.sap.com/

Once you click on CDS views you will see list of SAP modules like HR, Finance, and sales order…

 

Just select whichever module you want, In my case, I selected SAP S/4HANA Cloud for Finance. Now you will see a list of all CDS view from the selected module.

I selected the I_Bank CDS view. Then you will see all the Field names in that CDS view. And in another tab, you will have Technical details of the CDS view.

As shown in the above image ID, Category, Extensibility, status, package, and purpose of the CDS view.

By clicking learn more it will redirect to https://help.sap.com/ where you can find more details about the CDS view.

 

Now Lets test the output of the CDS view in Eclipse ADT(ctrl+shift+A is the short cut key)

Now run the CDS view(F8 is the short cut key)

Wow, we get the result.

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ruy Pinto de Castro
      Ruy Pinto de Castro

      Hi Srinivas,

      Great Post.

      Just a question. I went through https://api.sap.com/ to looking for some CDS View in sales.

      However, in my case is related with s/4hana on-premise and not cloud. As per shared link, it´s related only with cloud, is that right ?

      So, do you have a tip find CDS Views for On-Premise ?

      Thanks

      Ruy

      Author's profile photo Srinivas Gadilli
      Srinivas Gadilli
      Blog Post Author

      Hi Ruy Pinto de Castro

      I am able to find the CDS view in S/4 Hana on-premise system Whatever the CDS views I see from  https://api.sap.com/  for the Cloud.

      Author's profile photo B@lu .
      B@lu .

      Hi Srinivas,

      Great information.i just started Reading all of your blog posts it was really good stuff. Keep blogging.thanks for sharing.

       

      Regards,

      Balu.

      Author's profile photo Rajesh Sharma
      Rajesh Sharma

      Thanks Srinivas Gadilli and all contributors,

      We are looking for some information about standard SAP API (Name and meta data string) to expose the Solution Manager/ Focus Build Data to Power BI reports.

      Do you know if there is a Standard SAP CDS view or an end point API  (O-data service) from the Solution Manager -Focus build available (ready to use) that could provide Full Data of Work items, work packages etc.?

      Rather a standalone WORK Item/ particular GUID single  Work Items data at a time, looking View (CDS) query can provide full data  of Work packages/ and work items..

       

      Any help information on this is appreciated.