
A property can be annotated with the sap:aggregation-role attribute if it has an aggregation role.
The attribute can have the following values:
| Value | Meaning |
|---|---|
| Dimension | The property represents the key of a dimension. Only valid for properties of an entity type that is annotated with sap:semantics=“aggregate“. |
| Measure | The property represents a measure whose values will be aggregated according to the aggregating behavior of the containing entity type. Only valid for properties of an entity type that is annotated with sap:semantics=“aggregate“. |
for
further details regarding OData annotations and SAP semantics.