Get information about how to use the type #AS_DATAPOINT to refer to other annotations.
The type #AS_DATAPOINT maps to DataFieldForAnnotation. DataFieldForAnnotation is used to refer to other annotations using the Edm.AnnotationPath abstract type. The annotation path must end in vCard.Address or UI.dataPoint.
You use this type to include a microchart in the UI annotation @UI.lineItem, for example.
... define view ZExample_SalesOrdersByCustomer as select from ... as so { key so.buyer_guid as BuyerGuid, ... @Semantics.currencyCode: true so.currency_code as CurrencyCode, @UI.dataPoint: { title: 'Gross Amount' } @UI.lineItem: [ { type: #AS_DATAPOINT } ] @Semantics.amount.currencyCode: 'CurrencyCode' so.actual_amount as ActualAmount }