Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Header vdm

@VDM.viewType: # BASIC , COMPOSITE,CONSUMPTION


@Analytics.DataCategory: #DIMENSION , FACT,CUBE(crearte trasaint provider)
@Analytics.Query: # TRUE,FALSE
@Analytics.dataExtraction.enabled: #TRUE, FALSE If set to true, the view is
suitable for data replication.
@ObjectModel.dataCategory: #TEXT, HIERARCHY
@Odata.Publish: TRUE
@ObjectModel.representativeKey: [ 'SalesDocument' ]
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Delivery Item data( Basic View , Fact table)'
Used below Annotations to define size and data class of the CDS view based on
requirements
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #XL

It is necessary to publish the CDS view as an OData Service to consume it in Fiori


Apps. Below annotation helps.
@ODATA.Publish: true
@Search.searchable: True: This annotation is necessary to define that the search
function is supported for the view.

for anayltical
@Analytics.query: true are transient queries which can be interpreted by the
Analytic Engine.
@Analytics.dataCategory:#CUBE are transient BW providers.

Meta Data Extension (MDE)


CDS Metadata Extension (MDE), you define CDS annotations for a CDS view outside of
the corresponding data definition. A CDS metadata extension is always assigned to a
layer such as core, industry, partner or customer.
MDEs are possible for CDS views but NOT yet for CDS table functions.
@Metadata.allowExtensions :===annotation with the value true is added. This
annotation allows explicitly the use of metadata extensions.

@Metadata:{allowExtensions: true,ignorePropagatedAnnotations: true}


@EndUserText Annotations
@Consumption Annotations
@UI Annotations

You might also like