P_REIntegObjLvl3MsmtByKeyDate
Integration Object Measurement Type by Keydate
P_REIntegObjLvl3MsmtByKeyDate is a Composite CDS View that provides data about "Integration Object Measurement Type by Keydate" in SAP S/4HANA. It reads from 1 data source (I_REIntegObjectSubObjValidity) and exposes 3 fields with key field InternalRealEstateNumberLvl3. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_REIntegObjectSubObjValidity | _REIntegObjectSubObjValidity | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | recakeydate |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_REMeasurement | _REMeasurement | $projection.InternalRealEstateNumberLvl3 = _REMeasurement.InternalRealEstateNumber |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Integration Object Measurement Type by Keydate | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InternalRealEstateNumberLvl3 | I_REIntegObjectSubObjValidity | InternalRealEstateNumberLvl3 | |
| REMeasurementType | _REMeasurement | REMeasurementType | ||
| REMeasurementUnit | _REMeasurement | REMeasurementUnit |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Integration Object Measurement Type by Keydate'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #L,
dataClass: #MASTER
}
@VDM.private: true
@VDM.viewType: #COMPOSITE
define view entity P_REIntegObjLvl3MsmtByKeyDate
with parameters
P_KeyDate : recakeydate
as select from I_REIntegObjectSubObjValidity as _REIntegObjectSubObjValidity
association [0..*] to I_REMeasurement as _REMeasurement on $projection.InternalRealEstateNumberLvl3 = _REMeasurement.InternalRealEstateNumber
{
// _REIntegObjectSubObjValidity.InternalRealEstateNumberLvl0,
// _REIntegObjectSubObjValidity.InternalRealEstateNumberLvl1,
// _REIntegObjectSubObjValidity.InternalRealEstateNumberLvl2,
key _REIntegObjectSubObjValidity.InternalRealEstateNumberLvl3,
_REMeasurement.REMeasurementType,
_REMeasurement.REMeasurementUnit,
@Semantics.quantity.unitOfMeasure: 'REMeasurementUnit'
sum( case when _REMeasurement.ValidityStartDate <= $parameters.P_KeyDate
and _REMeasurement.ValidityEndDate >= $parameters.P_KeyDate
then _REMeasurement.REMeasurementQuantity
end ) as REMeasurementQuantity
}
where
(
(
ValidityStartDateLvl0 <= $parameters.P_KeyDate
and ValidityEndDateLvl0 >= $parameters.P_KeyDate
)
and(
ValidityStartDateLvl1 <= $parameters.P_KeyDate
and ValidityEndDateLvl1 >= $parameters.P_KeyDate
)
and(
ValidityStartDateLvl2 <= $parameters.P_KeyDate
and ValidityEndDateLvl2 >= $parameters.P_KeyDate
)
and(
ValidityStartDateLvl3 <= $parameters.P_KeyDate
and ValidityEndDateLvl3 >= $parameters.P_KeyDate
)
)
group by
_REIntegObjectSubObjValidity.InternalRealEstateNumberLvl3,
_REMeasurement.REMeasurementType,
_REMeasurement.REMeasurementUnit
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_REINTEGOBJECTSUBOBJVALIDITY",
"I_REMEASUREMENT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA