Skip to Content
Technical Articles

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.

1 Comment
You must be Logged on to comment or reply to a post.
  • 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