What RESTful Application Programming object contains only the fields required for a particular app?

What RESTful Application Programming object contains only the fields required for a particular app?
A . Database view
B . Metadata extension
C . Projection View
D . Data model view

Answer: C

Explanation:

A projection view is a RESTful Application Programming object that contains only the fields required for a particular app. A projection view is a CDS view entity that defines a projection on an existing CDS view entity or CDS DDIC-based view. A projection view exposes a subset of the elements of the projected entity, which are relevant for a specific business service. A projection view can also define aliases, virtual elements, and annotations for the projected elements. A projection view is the top-most layer of a CDS data model and prepares data for a particular use case. A projection view can have different provider contracts depending on the type of service it supports, such as transactional query, analytical query, or transactional interface.

A database view is a CDS DDIC-based view that defines a join or union of database tables. A database view has an SQL view attached and can be accessed by Open SQL or native SQL. A database view can be used as a projected entity for a projection view, but it does not contain only the fields required for a particular app.

A metadata extension is a RESTful Application Programming object that defines additional annotations for a CDS view entity or a projection view. A metadata extension can be used to enhance the metadata of a CDS data model without changing the original definition. A metadata extension does not contain any fields, but only annotations.

A data model view is a CDS view entity that defines a data model based on database tables or other CDS view entities. A data model view can have associations, aggregations, filters, parameters, and annotations. A data model view can be used as a projected entity for a projection view, but it does

not contain only the fields required for a particular app.

Reference: CDS Projection Views – ABAP Keyword Documentation, CDS Projection Views in ABAP

CDS: What’s Your Flavor, Business Object Projection – ABAP Keyword Documentation

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments