I_RESettlementUnit
Real Estate Settlement Unit
I_RESettlementUnit is a Basic CDS View (Dimension) that provides data about "Real Estate Settlement Unit" in SAP S/4HANA. It reads from 1 data source (viscsu) and exposes 52 fields with key field InternalRealEstateNumber. It has 19 associations to related views. Part of development package VDM_RE_SC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| viscsu | _RESettlementUnit | from |
Associations (19)
| 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_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 | _ObjectAddress | $projection.InternalRealEstateNumber = _ObjectAddress.InternalRealEstateNumber |
| [1..1] | I_REBusinessEntity | _REBusinessEntity | $projection.CompanyCode = _REBusinessEntity.CompanyCode and $projection.REBusinessEntity = _REBusinessEntity.REBusinessEntity |
| [1..1] | I_REServiceChargeKey | _REServiceChargeKey | $projection.REServiceChargeKey = _REServiceChargeKey.REServiceChargeKey |
| [0..1] | I_REDataExchangeType | _REDataExchangeType | $projection.REDataExchangeType = _REDataExchangeType.REDataExchangeType |
| [0..1] | I_REAdvancedPaytSetldByCo | _REAdvancedPaytSetldByCo | $projection.REAdvancedPaytSetldByCo = _REAdvancedPaytSetldByCo.REAdvancedPaytSetldByCo |
| [0..*] | I_REPartnerAssgmt | _REPartnerAssgmt | $projection.InternalRealEstateNumber = _REPartnerAssgmt.InternalRealEstateNumber |
| [1..*] | I_REOrganizationalAssgmtTerm | _REOrganizationalAssgmtTerm | $projection.InternalRealEstateNumber = _REOrganizationalAssgmtTerm.InternalRealEstateNumber |
| [0..*] | I_REReminderObjRule | _REReminderRule | $projection.InternalRealEstateNumber = _REReminderRule.InternalRealEstateNumber |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IRESETTLUNIT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Real Estate Settlement Unit | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | 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 (52)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InternalRealEstateNumber | intreno | Source Object | |
| CompanyCode | bukrs | Value | ||
| REBusinessEntity | Business Entity | |||
| REServiceChargeKey | Srv. Charge Key | |||
| RESettlementUnitID | Settlement Unit | |||
| 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 | |||
| RESettlementUnitName | xsu | SU Name | ||
| RESettlementUnitType | sutype | SU Type | ||
| RETenancyLaw | tenancylaw | Tenancy law | ||
| RESettlementUnitHasCostObject | hascostobject | Cost Object | ||
| RESettlementUnitHasNoInputTax | notaxcorr | No InpTax Adj. | ||
| REDataExchangeType | exchangetype | Data Exchange | ||
| REAdvancedPaytSetldByCo | settladvpay | Settlement | ||
| RERateOfBasicHeatingCostValue | perheating | % Basic HeatCst | ||
| RERateOfHotWaterBasicCostValue | perhotwater | % HotWtrBasCst | ||
| REIndepMasterSettlmtIsAllowed | msucrossovercc | CoCd Master SU | ||
| RealEstateObjectType | _REKeyAssgmt | RealEstateObjectType | Object Type | |
| REIdentificationKey | _REKeyAssgmt | REIdentificationKey | Object ID | |
| _CompanyCode | _CompanyCode | |||
| _CreatedByUser | _CreatedByUser | |||
| _ChangedByUser | _ChangedByUser | |||
| _ResponsibleUser | _ResponsibleUser | |||
| _RECreationType | _RECreationType | |||
| _REAuthorizationGroup | _REAuthorizationGroup | |||
| _REKeyAssgmt | _REKeyAssgmt | |||
| _RETenancyLaw | _RETenancyLaw | |||
| _StatusObject | _StatusObject | |||
| _StatusObjectStatus | _StatusObjectStatus | |||
| _ObjectAddress | _ObjectAddress | |||
| _REBusinessEntity | _REBusinessEntity | |||
| _REServiceChargeKey | _REServiceChargeKey | |||
| _REDataExchangeType | _REDataExchangeType | |||
| _REAdvancedPaytSetldByCo | _REAdvancedPaytSetldByCo | |||
| _REObjectType | _REObjectType | |||
| _REPartnerAssgmt | _REPartnerAssgmt | |||
| _REOrganizationalAssgmtTerm | _REOrganizationalAssgmtTerm | |||
| _REReminderRule | _REReminderRule |
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_RESettlementUnit.
-- 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: IRESETTLUNIT
CREATE VIEW I_RESettlementUnit AS
SELECT
intreno AS InternalRealEstateNumber,
bukrs AS CompanyCode,
cast(swenr as rebdvdmbeno preserving type) AS REBusinessEntity,
cast(snksl as rescvdmsckey preserving type ) AS REServiceChargeKey,
cast(sempsl as rescvdmsuid preserving type ) AS RESettlementUnitID,
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,
xsu AS RESettlementUnitName,
sutype AS RESettlementUnitType,
tenancylaw AS RETenancyLaw,
hascostobject AS RESettlementUnitHasCostObject,
notaxcorr AS RESettlementUnitHasNoInputTax,
exchangetype AS REDataExchangeType,
settladvpay AS REAdvancedPaytSetldByCo,
perheating AS RERateOfBasicHeatingCostValue,
perhotwater AS RERateOfHotWaterBasicCostValue,
msucrossovercc AS REIndepMasterSettlmtIsAllowed,
_REKeyAssgmt.RealEstateObjectType AS RealEstateObjectType,
_REKeyAssgmt.REIdentificationKey AS REIdentificationKey
FROM viscsu AS _RESettlementUnit
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_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 _ObjectAddress ON InternalRealEstateNumber = _ObjectAddress.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_REServiceChargeKey AS _REServiceChargeKey ON REServiceChargeKey = _REServiceChargeKey.REServiceChargeKey -- association [1..1]
LEFT OUTER JOIN I_REDataExchangeType AS _REDataExchangeType ON REDataExchangeType = _REDataExchangeType.REDataExchangeType -- association [0..1]
LEFT OUTER JOIN I_REAdvancedPaytSetldByCo AS _REAdvancedPaytSetldByCo ON REAdvancedPaytSetldByCo = _REAdvancedPaytSetldByCo.REAdvancedPaytSetldByCo -- association [0..1]
LEFT OUTER JOIN I_REPartnerAssgmt AS _REPartnerAssgmt ON InternalRealEstateNumber = _REPartnerAssgmt.InternalRealEstateNumber -- 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..*]
;
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