I_REBuilding
Real Estate Building
I_REBuilding is a Basic CDS View (Dimension) that provides data about "Real Estate Building" in SAP S/4HANA. It reads from 1 data source (vibdbu) and exposes 90 fields with key field InternalRealEstateNumber. It has 25 associations to related views. Part of development package VDM_RE_BD.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vibdbu | _REBuilding | from |
Associations (25)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 | _UnitOfMeasureCubic | $projection.RECubicUnit = _UnitOfMeasureCubic.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_StatusObject | _StatusObject | $projection.REStatusObject = _StatusObject.StatusObject |
| [1..*] | I_StatusObjectStatus | _StatusObjectStatus | $projection.REStatusObject = _StatusObjectStatus.StatusObject |
| [0..1] | I_REObjectAddress | _REObjectAddress | $projection.InternalRealEstateNumber = _REObjectAddress.InternalRealEstateNumber |
| [1..1] | I_REBusinessEntity | _REBusinessEntity | $projection.CompanyCode = _REBusinessEntity.CompanyCode and $projection.REBusinessEntity = _REBusinessEntity.REBusinessEntity |
| [0..1] | I_REObjectClassification | _REObjectClassification | $projection.REBuildingType = _REObjectClassification.REObjectClassification |
| [0..1] | I_RELocationClass | _RELocationClass | $projection.REListOfRentsLocationClass = _RELocationClass.REListOfRentsLocationClass and $projection.REListOfRents = _RELocationClass.REListOfRents |
| [0..1] | I_REMunicipality | _REMunicipality | $projection.REMunicipalityKey = _REMunicipality.REMunicipalityKey |
| [0..1] | I_REObjectState | _REObjectState | $projection.REBuildingStatus = _REObjectState.REObjectState |
| [0..1] | I_REInsuranceValueType | _REInsuranceValueType | $projection.REInsuranceValueType = _REInsuranceValueType.REInsuranceValueType |
| [0..1] | I_REListOfRents | _REListOfRents | $projection.REListOfRents = _REListOfRents.REListOfRents |
| [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 (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IREBUILDING | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Real Estate Building | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | InternalRealEstateNumber | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Metadata.allowExtensions | true | view |
Fields (90)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InternalRealEstateNumber | intreno | Source Object | |
| CompanyCode | bukrs | Value | ||
| REBusinessEntity | Business Entity | |||
| RealEstateBuilding | Building | |||
| 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 | |||
| REBuildingName | xgetxt | Building Name | ||
| Currency | waers | Transaction Currency | ||
| RECubicUnit | reins | Volume unit | ||
| REBuildingType | rgebart | Building type | ||
| REHeritableBuildingRight | jerbbau | Her.build.right | ||
| REBuildingStatus | rgebzust | Building cond. | ||
| REConstructionDate | ybaujahr | ConstYr | ||
| REModernizationDate | ymodern | Modernization | ||
| REReconstructionDate | yaufbau | Reconstruct. | ||
| REConstructionStartDate | dbaubegi | Beg. const | ||
| REEstimatedConstructionCost | bbauwx | Building Value | ||
| RECurrentBuildingPrice | bbauwaktx | Curr.Build.Val. | ||
| REPerCubicMeterCost | bdmcbmra | Amnt/vol.unit | ||
| REBuildingPermitDate | dbaugene | Building permit | ||
| BuildingPermitNote | xbaugene | BuildPermNote | ||
| REReadyForOccupancyDate | dbezugsf | Ready for occ. | ||
| RECompletionDate | dfertig | Completion | ||
| REFinalInspectionDate | dschluss | Final Inspect. | ||
| IsProtectedHistoricalSite | jdenkmal | Prot.Hist.Sites | ||
| REPlanningInquiryDate | dbauvor | Plan. inquiry | ||
| REPriorNoticeDate | dvorbes | Prior notice | ||
| REBuildingPermitApplDate | dantbau | Build.perm.app. | ||
| REAssessedBuildingPrice | beinheitwx | Assessed Value | ||
| REDtmndAssessedValueYear | neinheitw | Yr assessedVal | ||
| REInsurableFireDamageAmount | bverswrtx | Insurable Val. | ||
| REInsuranceValueType | rverswrt | TypeInsuranVal | ||
| REEconomicTransferDate | dwirtub | TrnsfrUsag/chrg | ||
| RESaleDate | dverkauf | Sale | ||
| REPlannedSaleDate | dvrkplan | Planned sale | ||
| REPlannedEndOfUsageDate | dnutzend | End of usage | ||
| REPublicFundingStartDate | dfrdvon | PublicFund.frm | ||
| REPublicFundingEndDate | dfrdbis | Publ.funding to | ||
| NumberOfFloors | banzge | No. of floors | ||
| REMainUsageType | sunutza | Main usage type | ||
| HighestFloor | sstckbis | Top Floor | ||
| ElevatorToFloor | sliftbis | Elev. to floor | ||
| NumberOfBasements | augesch | Basements | ||
| REListOfRentsLocationClass | rlraloc | Location Class | ||
| REListOfRentsIsUsed | usesrlra | RLR Used | ||
| REMunicipalityKey | gemeinde | Municipality key | ||
| RECurOccupancyPrincipleIsUsed | hascop | Curr.Occ.Prin. | ||
| REFunctionOfObject | usgfunction | Function | ||
| REListOfRents | _RELocationClass | REListOfRents | ||
| RealEstateObjectType | _REKeyAssgmt | RealEstateObjectType | Object Type | |
| REIdentificationKey | _REKeyAssgmt | REIdentificationKey | Object ID | |
| _CompanyCode | _CompanyCode | |||
| _CreatedByUser | _CreatedByUser | |||
| _ChangedByUser | _ChangedByUser | |||
| _ResponsibleUser | _ResponsibleUser | |||
| _Currency | _Currency | |||
| _UnitOfMeasureCubic | _UnitOfMeasureCubic | |||
| _RECreationType | _RECreationType | |||
| _REAuthorizationGroup | _REAuthorizationGroup | |||
| _REKeyAssgmt | _REKeyAssgmt | |||
| _StatusObject | _StatusObject | |||
| _StatusObjectStatus | _StatusObjectStatus | |||
| _REObjectAddress | _REObjectAddress | |||
| _REBusinessEntity | _REBusinessEntity | |||
| _REObjectClassification | _REObjectClassification | |||
| _REObjectState | _REObjectState | |||
| _REInsuranceValueType | _REInsuranceValueType | |||
| _RELocationClass | _RELocationClass | |||
| _REMunicipality | _REMunicipality | |||
| _REListOfRents | _REListOfRents | |||
| _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_REBuilding.
-- 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: IREBUILDING
CREATE VIEW I_REBuilding AS
SELECT
intreno AS InternalRealEstateNumber,
bukrs AS CompanyCode,
cast(swenr as rebdvdmbeno preserving type) AS REBusinessEntity,
cast(sgenr as rebdvdmbuno preserving type) AS RealEstateBuilding,
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,
xgetxt AS REBuildingName,
waers AS Currency,
reins AS RECubicUnit,
rgebart AS REBuildingType,
jerbbau AS REHeritableBuildingRight,
rgebzust AS REBuildingStatus,
ybaujahr AS REConstructionDate,
ymodern AS REModernizationDate,
yaufbau AS REReconstructionDate,
dbaubegi AS REConstructionStartDate,
bbauwx AS REEstimatedConstructionCost,
bbauwaktx AS RECurrentBuildingPrice,
bdmcbmra AS REPerCubicMeterCost,
dbaugene AS REBuildingPermitDate,
xbaugene AS BuildingPermitNote,
dbezugsf AS REReadyForOccupancyDate,
dfertig AS RECompletionDate,
dschluss AS REFinalInspectionDate,
jdenkmal AS IsProtectedHistoricalSite,
dbauvor AS REPlanningInquiryDate,
dvorbes AS REPriorNoticeDate,
dantbau AS REBuildingPermitApplDate,
beinheitwx AS REAssessedBuildingPrice,
neinheitw AS REDtmndAssessedValueYear,
bverswrtx AS REInsurableFireDamageAmount,
rverswrt AS REInsuranceValueType,
dwirtub AS REEconomicTransferDate,
dverkauf AS RESaleDate,
dvrkplan AS REPlannedSaleDate,
dnutzend AS REPlannedEndOfUsageDate,
dfrdvon AS REPublicFundingStartDate,
dfrdbis AS REPublicFundingEndDate,
banzge AS NumberOfFloors,
sunutza AS REMainUsageType,
sstckbis AS HighestFloor,
sliftbis AS ElevatorToFloor,
augesch AS NumberOfBasements,
rlraloc AS REListOfRentsLocationClass,
usesrlra AS REListOfRentsIsUsed,
gemeinde AS REMunicipalityKey,
hascop AS RECurOccupancyPrincipleIsUsed,
usgfunction AS REFunctionOfObject,
_RELocationClass.REListOfRents AS REListOfRents,
_REKeyAssgmt.RealEstateObjectType AS RealEstateObjectType,
_REKeyAssgmt.REIdentificationKey AS REIdentificationKey
FROM vibdbu AS _REBuilding
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 _UnitOfMeasureCubic ON RECubicUnit = _UnitOfMeasureCubic.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_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_REBusinessEntity AS _REBusinessEntity ON CompanyCode = _REBusinessEntity.CompanyCode AND REBusinessEntity = _REBusinessEntity.REBusinessEntity -- association [1..1]
LEFT OUTER JOIN I_REObjectClassification AS _REObjectClassification ON REBuildingType = _REObjectClassification.REObjectClassification -- association [0..1]
LEFT OUTER JOIN I_RELocationClass AS _RELocationClass ON REListOfRentsLocationClass = _RELocationClass.REListOfRentsLocationClass AND REListOfRents = _RELocationClass.REListOfRents -- association [0..1]
LEFT OUTER JOIN I_REMunicipality AS _REMunicipality ON REMunicipalityKey = _REMunicipality.REMunicipalityKey -- association [0..1]
LEFT OUTER JOIN I_REObjectState AS _REObjectState ON REBuildingStatus = _REObjectState.REObjectState -- association [0..1]
LEFT OUTER JOIN I_REInsuranceValueType AS _REInsuranceValueType ON REInsuranceValueType = _REInsuranceValueType.REInsuranceValueType -- association [0..1]
LEFT OUTER JOIN I_REListOfRents AS _REListOfRents ON REListOfRents = _REListOfRents.REListOfRents -- 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA