I_RESrvcGrpObjectRelation

DDL: I_RESRVCGRPOBJECTRELATION SQL: IRESRVCGRPREL Type: view BASIC Package: VDM_RE_CS

Real Estate Service Group Relation

I_RESrvcGrpObjectRelation is a Basic CDS View that provides data about "Real Estate Service Group Relation" in SAP S/4HANA. It reads from 1 data source (viipobjrel) and exposes 13 fields with key field REIntegObjectRelationUUID. It has 4 associations to related views. Part of development package VDM_RE_CS.

Data Sources (1)

SourceAliasJoin Type
viipobjrel _REServiceGroupObjRelation from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_REServiceGroup _REServiceGroup $projection.InternalRealEstateNumber = _REServiceGroup.InternalRealEstateNumber
[1..1] I_REIntegrationObjectBasicData _RERelatedIntegrationObject $projection.InternalRealEstateNumberRltn = _RERelatedIntegrationObject.InternalRealEstateNumber
[1..1] I_REMeasurementType _REMeasurementType $projection.REMeasurementType = _REMeasurementType.REMeasurementType
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.REMeasurementUnit = _UnitOfMeasure.UnitOfMeasure

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IRESRVCGRPREL view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Real Estate Service Group Relation view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey REIntegObjectRelationUUID view
VDM.viewType #BASIC view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY REIntegObjectRelationUUID objrelguid Object Relation GUID
InternalRealEstateNumber intreno Source Object
InternalRealEstateNumberRltn intrenorel Int. Num Relation
ValidityStartDate Vers.Valid From
ValidityEndDate Vers.Valid To
REIsObjectRelationPartial isobjectrelpart Partial Object Relation
REMeasurementType meas MeasType
REMeasurementPartialQuantity measpart Partial Amount
REMeasurementUnit Units in
_REServiceGroup _REServiceGroup
_RERelatedIntegrationObject _RERelatedIntegrationObject
_REMeasurementType _REMeasurementType
_UnitOfMeasure _UnitOfMeasure

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 I_RESrvcGrpObjectRelation.
-- 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.
-- SQL view name: IRESRVCGRPREL

CREATE VIEW I_RESrvcGrpObjectRelation AS
SELECT
  objrelguid AS REIntegObjectRelationUUID,
  intreno AS InternalRealEstateNumber,
  intrenorel AS InternalRealEstateNumberRltn,
  cast( validfrom as rebdvdmvalidfrom preserving type ) AS ValidityStartDate,
  cast( validto as rebdvdmvalidto preserving type ) AS ValidityEndDate,
  isobjectrelpart AS REIsObjectRelationPartial,
  meas AS REMeasurementType,
  measpart AS REMeasurementPartialQuantity,
  cast (measunit as msehiunit preserving type) AS REMeasurementUnit
FROM viipobjrel AS _REServiceGroupObjRelation
LEFT OUTER JOIN I_REServiceGroup AS _REServiceGroup ON InternalRealEstateNumber = _REServiceGroup.InternalRealEstateNumber  -- association [1..1]
LEFT OUTER JOIN I_REIntegrationObjectBasicData AS _RERelatedIntegrationObject ON InternalRealEstateNumberRltn = _RERelatedIntegrationObject.InternalRealEstateNumber  -- association [1..1]
LEFT OUTER JOIN I_REMeasurementType AS _REMeasurementType ON REMeasurementType = _REMeasurementType.REMeasurementType  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON REMeasurementUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
;