I_REBusinessEntity

DDL: I_REBUSINESSENTITY SQL: IREBUSENTITY Type: view BASIC Package: VDM_RE_BD

Real Estate Business Entity

I_REBusinessEntity is a Basic CDS View (Dimension) that provides data about "Real Estate Business Entity" in SAP S/4HANA. It reads from 1 data source (vibdbe) and exposes 69 fields with key field InternalRealEstateNumber. It has 29 associations to related views. Part of development package VDM_RE_BD.

Data Sources (1)

SourceAliasJoin Type
vibdbe _REBusinessEntity from

Associations (29)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _ChangedByUser $projection.LastChangedByUser = _ChangedByUser.UserID
[0..1] I_User _ResponsibleUser $projection.Responsible = _ResponsibleUser.UserID
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..1] I_UnitOfMeasure _UnitOfMeasureArea $projection.REAreaUnit = _UnitOfMeasureArea.UnitOfMeasure
[0..1] I_UnitOfMeasure _UnitOfMeasureCubic $projection.RECubicUnit = _UnitOfMeasureCubic.UnitOfMeasure
[0..1] I_UnitOfMeasure _UnitOfMeasureLength $projection.RELengthUnit = _UnitOfMeasureLength.UnitOfMeasure
[0..1] I_RECreationType _RECreationType $projection.RECreationType = _RECreationType.RECreationType
[1..1] I_REKeyAssgmt _REKeyAssgmt $projection.InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber
[1..1] I_REObjectType _REObjectType $projection.RealEstateObjectType = _REObjectType.RealEstateObjectType
[0..1] I_REAuthorizationGroup _REAuthorizationGroup $projection.REAuthorizationGroup = _REAuthorizationGroup.REAuthorizationGroup and $projection.RealEstateObjectType = _REAuthorizationGroup.RealEstateObjectType
[0..1] I_RETenancyLaw _RETenancyLaw $projection.RETenancyLaw = _RETenancyLaw.RETenancyLaw
[0..1] I_StatusObject _StatusObject $projection.REStatusObject = _StatusObject.StatusObject
[1..*] I_StatusObjectStatus _StatusObjectStatus $projection.REStatusObject = _StatusObjectStatus.StatusObject
[0..1] I_REObjectAddress _REObjectAddress $projection.InternalRealEstateNumber = _REObjectAddress.InternalRealEstateNumber
[0..1] I_REMaintenanceDistrict _REMaintenanceDistrict $projection.REMaintenanceDistrict = _REMaintenanceDistrict.REMaintenanceDistrict
[0..1] I_RERegionalLocation _RERegionalLocation $projection.RERegionalLocation = _RERegionalLocation.RERegionalLocation
[0..1] I_RETransportConnection _RETransportConnection $projection.RETransportConnectionBusEntity = _RETransportConnection.RETransportConnectionBusEntity
[0..1] I_RELocationNumberBusEntity _RELocationNumberBusEntity $projection.RELocationNumberBusEntity = _RELocationNumberBusEntity.RELocationNumberBusEntity
[0..1] I_REDistrictLocation _REDistrictLocation $projection.REDistrictLocation = _REDistrictLocation.REDistrictLocation
[0..1] I_REListOfRents _REListOfRents $projection.REListOfRents = _REListOfRents.REListOfRents
[0..1] I_RESettlementVariant _RESettlementVariant01 $projection.REPrdfndOperatingCostSettlmt = _RESettlementVariant01.RESettlementVariant
[0..1] I_RESettlementVariant _RESettlementVariant02 $projection.REPrdfndHeatingCostSettlmt = _RESettlementVariant02.RESettlementVariant
[0..*] I_REPartnerAssgmt _REPartnerAssgmt $projection.InternalRealEstateNumber = _REPartnerAssgmt.InternalRealEstateNumber
[0..*] I_REObjectAssgmt _REObjectAssgmt $projection.REStatusObject = _REObjectAssgmt.REStatusObjectSource
[1..*] I_REOrganizationalAssgmtTerm _REOrganizationalAssgmtTerm $projection.InternalRealEstateNumber = _REOrganizationalAssgmtTerm.InternalRealEstateNumber
[0..*] I_REReminderObjRule _REReminderRule $projection.InternalRealEstateNumber = _REReminderRule.InternalRealEstateNumber
[0..*] I_REMeasurement _REMeasurement $projection.InternalRealEstateNumber = _REMeasurement.InternalRealEstateNumber

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IREBUSENTITY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Real Estate Business Entity view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Analytics.internalName #LOCAL view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Metadata.allowExtensions true view
VDM.viewType #BASIC view

Fields (69)

KeyFieldSource TableSource FieldDescription
KEY InternalRealEstateNumber intreno Source Object
CompanyCode bukrs Value
REBusinessEntity Business Entity
REStatusObject objnr Val. Obj. No.
REInternalFinNumber Real Estate Key
RECreationType creationtype How Created
CreatedByUser rerf Entered By
CreationDate derf First Enterd On
CreationTime terf Time of Entry
RESourceOfCreation reher Source.In.Entry
LastChangedByUser rbear Last Changed By
LastChangeDate dbear Last Processing
LastChangeTime tbear Last Edited At
RESourceOfChange rbher Editing Source
Responsible responsible User Name
REUserExclusive userexclusive Change Auth.
REAuthorizationGroup authgrp Authorization Group
ValidityStartDate Vers.Valid From
ValidityEndDate Vers.Valid To
REBusinessEntityName xwetext Name of BE
Currency waers Transaction Currency
REAreaUnit feins Area Unit
RECubicUnit reins Volume unit
RELengthUnit vvlen Unit of length
REMaintenanceDistrict sinstbez MaintDistr.
RERegionalLocation sstdort Reg.loc.
RETransportConnectionBusEntity sverkehr TrnspConn.
RELocationNumberBusEntity slagewe Location
REDistrictLocation sobjlage DistrLocObject
RETenancyLaw smietr Tenancy law
REListOfRents rlra Repr.rent list
REPrdfndOperatingCostSettlmt vorbk Predef.oper.cst
REPrdfndHeatingCostSettlmt vorhk Pred. heat.exp.
REAutomCrtnOfFuncnlLocIsOff xnotpl No autom. FL
RENeighborhood01Text neighborh1 Neighborhood
RENeighborhood02Text neighborh2 Neighborhood
RENeighborhood03Text neighborh3 Neighborhood
REFunctionOfObject usgfunction Function
RealEstateObjectType _REKeyAssgmt RealEstateObjectType Object Type
REIdentificationKey _REKeyAssgmt REIdentificationKey Object ID
_CompanyCode _CompanyCode
_CreatedByUser _CreatedByUser
_ChangedByUser _ChangedByUser
_ResponsibleUser _ResponsibleUser
_Currency _Currency
_UnitOfMeasureArea _UnitOfMeasureArea
_UnitOfMeasureCubic _UnitOfMeasureCubic
_UnitOfMeasureLength _UnitOfMeasureLength
_RECreationType _RECreationType
_REAuthorizationGroup _REAuthorizationGroup
_REKeyAssgmt _REKeyAssgmt
_RETenancyLaw _RETenancyLaw
_StatusObject _StatusObject
_StatusObjectStatus _StatusObjectStatus
_REObjectAddress _REObjectAddress
_REMaintenanceDistrict _REMaintenanceDistrict
_RERegionalLocation _RERegionalLocation
_RETransportConnection _RETransportConnection
_RELocationNumberBusEntity _RELocationNumberBusEntity
_REDistrictLocation _REDistrictLocation
_REListOfRents _REListOfRents
_RESettlementVariant01 _RESettlementVariant01
_RESettlementVariant02 _RESettlementVariant02
_REObjectType _REObjectType
_REPartnerAssgmt _REPartnerAssgmt
_REObjectAssgmt _REObjectAssgmt
_REOrganizationalAssgmtTerm _REOrganizationalAssgmtTerm
_REReminderRule _REReminderRule
_REMeasurement _REMeasurement

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_REBusinessEntity.
-- 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: IREBUSENTITY

CREATE VIEW I_REBusinessEntity AS
SELECT
  intreno AS InternalRealEstateNumber,
  bukrs AS CompanyCode,
  cast(swenr as rebdvdmbeno preserving type) AS REBusinessEntity,
  objnr AS REStatusObject,
  cast(imkey as recaimkeyfi preserving type) AS REInternalFinNumber,
  creationtype AS RECreationType,
  rerf AS CreatedByUser,
  derf AS CreationDate,
  terf AS CreationTime,
  reher AS RESourceOfCreation,
  rbear AS LastChangedByUser,
  dbear AS LastChangeDate,
  tbear AS LastChangeTime,
  rbher AS RESourceOfChange,
  Responsible,
  userexclusive AS REUserExclusive,
  authgrp AS REAuthorizationGroup,
  cast( validfrom as rebdvdmvalidfrom ) AS ValidityStartDate,
  cast( validto as rebdvdmvalidto ) AS ValidityEndDate,
  xwetext AS REBusinessEntityName,
  waers AS Currency,
  feins AS REAreaUnit,
  reins AS RECubicUnit,
  vvlen AS RELengthUnit,
  sinstbez AS REMaintenanceDistrict,
  sstdort AS RERegionalLocation,
  sverkehr AS RETransportConnectionBusEntity,
  slagewe AS RELocationNumberBusEntity,
  sobjlage AS REDistrictLocation,
  smietr AS RETenancyLaw,
  rlra AS REListOfRents,
  vorbk AS REPrdfndOperatingCostSettlmt,
  vorhk AS REPrdfndHeatingCostSettlmt,
  xnotpl AS REAutomCrtnOfFuncnlLocIsOff,
  neighborh1 AS RENeighborhood01Text,
  neighborh2 AS RENeighborhood02Text,
  neighborh3 AS RENeighborhood03Text,
  usgfunction AS REFunctionOfObject,
  _REKeyAssgmt.RealEstateObjectType AS RealEstateObjectType,
  _REKeyAssgmt.REIdentificationKey AS REIdentificationKey
FROM vibdbe AS _REBusinessEntity
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _ChangedByUser ON LastChangedByUser = _ChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _ResponsibleUser ON Responsible = _ResponsibleUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasureArea ON REAreaUnit = _UnitOfMeasureArea.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasureCubic ON RECubicUnit = _UnitOfMeasureCubic.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasureLength ON RELengthUnit = _UnitOfMeasureLength.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_RECreationType AS _RECreationType ON RECreationType = _RECreationType.RECreationType  -- association [0..1]
LEFT OUTER JOIN I_REKeyAssgmt AS _REKeyAssgmt ON InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber  -- association [1..1]
LEFT OUTER JOIN I_REObjectType AS _REObjectType ON RealEstateObjectType = _REObjectType.RealEstateObjectType  -- association [1..1]
LEFT OUTER JOIN I_REAuthorizationGroup AS _REAuthorizationGroup ON REAuthorizationGroup = _REAuthorizationGroup.REAuthorizationGroup AND RealEstateObjectType = _REAuthorizationGroup.RealEstateObjectType  -- association [0..1]
LEFT OUTER JOIN I_RETenancyLaw AS _RETenancyLaw ON RETenancyLaw = _RETenancyLaw.RETenancyLaw  -- association [0..1]
LEFT OUTER JOIN I_StatusObject AS _StatusObject ON REStatusObject = _StatusObject.StatusObject  -- association [0..1]
LEFT OUTER JOIN I_StatusObjectStatus AS _StatusObjectStatus ON REStatusObject = _StatusObjectStatus.StatusObject  -- association [1..*]
LEFT OUTER JOIN I_REObjectAddress AS _REObjectAddress ON InternalRealEstateNumber = _REObjectAddress.InternalRealEstateNumber  -- association [0..1]
LEFT OUTER JOIN I_REMaintenanceDistrict AS _REMaintenanceDistrict ON REMaintenanceDistrict = _REMaintenanceDistrict.REMaintenanceDistrict  -- association [0..1]
LEFT OUTER JOIN I_RERegionalLocation AS _RERegionalLocation ON RERegionalLocation = _RERegionalLocation.RERegionalLocation  -- association [0..1]
LEFT OUTER JOIN I_RETransportConnection AS _RETransportConnection ON RETransportConnectionBusEntity = _RETransportConnection.RETransportConnectionBusEntity  -- association [0..1]
LEFT OUTER JOIN I_RELocationNumberBusEntity AS _RELocationNumberBusEntity ON RELocationNumberBusEntity = _RELocationNumberBusEntity.RELocationNumberBusEntity  -- association [0..1]
LEFT OUTER JOIN I_REDistrictLocation AS _REDistrictLocation ON REDistrictLocation = _REDistrictLocation.REDistrictLocation  -- association [0..1]
LEFT OUTER JOIN I_REListOfRents AS _REListOfRents ON REListOfRents = _REListOfRents.REListOfRents  -- association [0..1]
LEFT OUTER JOIN I_RESettlementVariant AS _RESettlementVariant01 ON REPrdfndOperatingCostSettlmt = _RESettlementVariant01.RESettlementVariant  -- association [0..1]
LEFT OUTER JOIN I_RESettlementVariant AS _RESettlementVariant02 ON REPrdfndHeatingCostSettlmt = _RESettlementVariant02.RESettlementVariant  -- association [0..1]
LEFT OUTER JOIN I_REPartnerAssgmt AS _REPartnerAssgmt ON InternalRealEstateNumber = _REPartnerAssgmt.InternalRealEstateNumber  -- association [0..*]
LEFT OUTER JOIN I_REObjectAssgmt AS _REObjectAssgmt ON REStatusObject = _REObjectAssgmt.REStatusObjectSource  -- association [0..*]
LEFT OUTER JOIN I_REOrganizationalAssgmtTerm AS _REOrganizationalAssgmtTerm ON InternalRealEstateNumber = _REOrganizationalAssgmtTerm.InternalRealEstateNumber  -- association [1..*]
LEFT OUTER JOIN I_REReminderObjRule AS _REReminderRule ON InternalRealEstateNumber = _REReminderRule.InternalRealEstateNumber  -- association [0..*]
LEFT OUTER JOIN I_REMeasurement AS _REMeasurement ON InternalRealEstateNumber = _REMeasurement.InternalRealEstateNumber  -- association [0..*]
;