P_REIntegObjMsmtHierarchyCalc

DDL: P_REINTEGOBJMSMTHIERARCHYCALC Type: view_entity COMPOSITE

Integration Object Measurement Hierarchy Calculated

P_REIntegObjMsmtHierarchyCalc is a Composite CDS View that provides data about "Integration Object Measurement Hierarchy Calculated" in SAP S/4HANA. It reads from 1 data source (P_REIntegObjMsmtHierCalc1) and exposes 8 fields with key fields InternalRealEstateNumber, REMeasurementType, ValidityStartDate, ValidityEndDate.

Data Sources (1)

SourceAliasJoin Type
P_REIntegObjMsmtHierCalc1 _REIntegObjMsmtHierCalc1 from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Integration Object Measurement Hierarchy Calculated 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 (8)

KeyFieldSource TableSource FieldDescription
KEY InternalRealEstateNumber P_REIntegObjMsmtHierCalc1 InternalRealEstateNumber RE Key
KEY REMeasurementType P_REIntegObjMsmtHierCalc1 REMeasurementType
KEY ValidityStartDate P_REIntegObjMsmtHierCalc1 ValidityStartDate Validity Start Date
KEY ValidityEndDate P_REIntegObjMsmtHierCalc1 ValidityEndDate ValidTo
REIntegrationObjectType P_REIntegObjMsmtHierCalc1 REIntegrationObjectType
REMeasurementUnit P_REIntegObjMsmtHierCalc1 REMeasurementUnit
REMeasurementQuantity
REMeasurementTotalQuantity

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 P_REIntegObjMsmtHierarchyCalc.
-- 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 P_REIntegObjMsmtHierarchyCalc AS
SELECT
  _REIntegObjMsmtHierCalc1.InternalRealEstateNumber AS InternalRealEstateNumber,
  _REIntegObjMsmtHierCalc1.REMeasurementType AS REMeasurementType,
  _REIntegObjMsmtHierCalc1.ValidityStartDate AS ValidityStartDate,
  _REIntegObjMsmtHierCalc1.ValidityEndDate AS ValidityEndDate,
  _REIntegObjMsmtHierCalc1.REIntegrationObjectType AS REIntegrationObjectType,
  _REIntegObjMsmtHierCalc1.REMeasurementUnit AS REMeasurementUnit,
  sum( coalesce(_REIntegObjMsmtHierCalc5.REMeasurementQuantity,_REIntegObjMsmtHierCalc6.REMeasurementQuantity ) ) AS REMeasurementQuantity,
  sum( coalesce(_REIntegObjMsmtHierCalc5.REMeasurementQuantity,_REIntegObjMsmtHierCalc6.REMeasurementTotalQuantity ) ) AS REMeasurementTotalQuantity
FROM P_REIntegObjMsmtHierCalc1 AS _REIntegObjMsmtHierCalc1
;