C_REIntegObjMsmtByKeyDate

DDL: C_REINTEGOBJMSMTBYKEYDATE Type: view_entity CONSUMPTION

Integration Object Measurement by Keydate

C_REIntegObjMsmtByKeyDate is a Consumption CDS View that provides data about "Integration Object Measurement by Keydate" in SAP S/4HANA. It reads from 3 data sources (I_CalendarDate, I_REIntegObjectSubObjValidity, I_REIntegrationObjectBasicData) and exposes 6 fields with key fields InternalRealEstateNumber, REMeasurementType, REKeyDate. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
I_CalendarDate _CalendarDate cross
I_REIntegObjectSubObjValidity _REIntegObjectSubObjValidity inner
I_REIntegrationObjectBasicData _REIntegrationObject from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_REMeasurement _REMeasurement _REIntegObjectSubObjValidity.InternalRealEstateNumberLvl3 = _REMeasurement.InternalRealEstateNumber and _REMeasurement.ValidityStartDate <= _CalendarDate.CalendarDate and _REMeasurement.ValidityEndDate >= _CalendarDate.CalendarDate

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Integration Object Measurement by Keydate view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY InternalRealEstateNumber I_REIntegrationObjectBasicData InternalRealEstateNumber RE Key
KEY REMeasurementType _REMeasurement REMeasurementType
KEY REKeyDate
REMeasurementUnit _REMeasurement REMeasurementUnit
REMeasurementQuantity
_REMeasurementType _REMeasurement _REMeasurementType

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_REIntegObjMsmtByKeyDate.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW C_REIntegObjMsmtByKeyDate AS
SELECT
  _REIntegrationObject.InternalRealEstateNumber AS InternalRealEstateNumber,
  _REMeasurement.REMeasurementType AS REMeasurementType,
  cast ( _CalendarDate.CalendarDate as recakeydate preserving type ) AS REKeyDate,
  _REMeasurement.REMeasurementUnit AS REMeasurementUnit,
  sum(_REMeasurement.REMeasurementQuantity) AS REMeasurementQuantity,
  _REMeasurement._REMeasurementType AS _REMeasurementType
FROM I_REIntegrationObjectBasicData AS _REIntegrationObject
CROSS JOIN I_CalendarDate AS _CalendarDate
INNER JOIN I_REIntegObjectSubObjValidity AS _REIntegObjectSubObjValidity ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_REMeasurement AS _REMeasurement ON _REIntegObjectSubObjValidity.InternalRealEstateNumberLvl3 = _REMeasurement.InternalRealEstateNumber AND _REMeasurement.ValidityStartDate <= _CalendarDate.CalendarDate AND _REMeasurement.ValidityEndDate >= _CalendarDate.CalendarDate  -- association [0..1]
;