I_REObjectByStatusObject

DDL: I_REOBJECTBYSTATUSOBJECT SQL: IREOBJBYSTOBJ Type: view COMPOSITE

Real Estate Object by Status Object

I_REObjectByStatusObject is a Composite CDS View that provides data about "Real Estate Object by Status Object" in SAP S/4HANA. It reads from 2 data sources (I_RECostCollector, I_REKeyAssgmt) and exposes 29 fields with key field REStatusObject. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_RECostCollector _RECostCollector union
I_REKeyAssgmt _REKeyAssgmt from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_REObjectTypeText _REObjectTypeText _REObjectTypeText.RealEstateObjectType = $projection.RealEstateObjectType and _REObjectTypeText.Language = $session.system_language
[1..1] I_REKeyAssgmt _REKeyAssgmt $projection.InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IREOBJBYSTOBJ view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Real Estate Object by Status Object view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey REStatusObject view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY REStatusObject REStatusObject Val. Obj. No.
InternalRealEstateNumber InternalRealEstateNumber RE Key
RealEstateObjectType RealEstateObjectType Object Type
REIdentificationKey REIdentificationKey Object ID
REInternalFinNumber REInternalFinNumber Real Estate Key
CompanyCode CompanyCode Receiver Company Code
RealEstateContract RealEstateContract Real Estate Contract
REBusinessEntity REBusinessEntity RE Business Entity
RERentalObject RERentalObject
RealEstateBuilding RealEstateBuilding Building
RealEstateProperty RealEstateProperty Land
ArchitecturalObject ArchitecturalObject Arch.Obj. ID
REServiceChargeKey REServiceChargeKey
RESettlementUnitID RESettlementUnitID
system_languagekeyREStatusObject
InternalRealEstateNumber InternalRealEstateNumber RE Key
RealEstateObjectType I_REKeyAssgmt RealEstateObjectType Object Type
REIdentificationKey I_REKeyAssgmt REIdentificationKey Object ID
REInternalFinNumber I_REKeyAssgmt REInternalFinNumber Real Estate Key
CompanyCode I_REKeyAssgmt CompanyCode Receiver Company Code
RealEstateContract I_REKeyAssgmt RealEstateContract Real Estate Contract
REBusinessEntity I_REKeyAssgmt REBusinessEntity RE Business Entity
RERentalObject I_REKeyAssgmt RERentalObject
RealEstateBuilding I_REKeyAssgmt RealEstateBuilding Building
RealEstateProperty I_REKeyAssgmt RealEstateProperty Land
ArchitecturalObject I_REKeyAssgmt ArchitecturalObject Arch.Obj. ID
REServiceChargeKey I_REKeyAssgmt REServiceChargeKey
RESettlementUnitID I_REKeyAssgmt RESettlementUnitID
REStatusObjectParent I_REKeyAssgmt REStatusObject Val. Obj. No.

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_REObjectByStatusObject.
-- 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: IREOBJBYSTOBJ

CREATE VIEW I_REObjectByStatusObject AS
SELECT
  REStatusObject,
  InternalRealEstateNumber,
  RealEstateObjectType,
  REIdentificationKey,
  REInternalFinNumber,
  CompanyCode,
  RealEstateContract,
  REBusinessEntity,
  RERentalObject,
  RealEstateBuilding,
  RealEstateProperty,
  ArchitecturalObject,
  REServiceChargeKey,
  RESettlementUnitID,
  ' ' as REStatusObjectParent AS system_languagekeyREStatusObject,
  _REKeyAssgmt.REStatusObject AS REStatusObjectParent
FROM I_REKeyAssgmt AS _REKeyAssgmt
LEFT OUTER JOIN I_REObjectTypeText AS _REObjectTypeText ON _REObjectTypeText.RealEstateObjectType = RealEstateObjectType AND _REObjectTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_REKeyAssgmt AS _REKeyAssgmt ON InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber  -- association [1..1]
-- UNION with additional select branch(es): I_RECostCollector
;