I_REApportionmentRule
Real Estate Apportionment Rule
I_REApportionmentRule is a Basic CDS View (Dimension) that provides data about "Real Estate Apportionment Rule" in SAP S/4HANA. It reads from 1 data source (vicsapportrule) and exposes 12 fields with key field REApportionmentRuleUUID. It has 5 associations to related views. Part of development package VDM_RE_CS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vicsapportrule | _REApportionmentRule | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_REServiceGroup | _REServiceGroup | $projection.REServiceGroupUUID = _REServiceGroup.REServiceGroupUUID |
| [1..1] | I_REKeyAssgmt | _REKeyAssgmt | $projection.InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber |
| [1..1] | I_RETermType | _RETermType | $projection.RETermType = _RETermType.RETermType and _RETermType.RealEstateObjectType = 'J6' |
| [1..1] | I_RETerm | _RETerm | $projection.InternalRealEstateNumber = _RETerm.InternalRealEstateNumber and $projection.RETermType = _RETerm.RETermType and $projection.RETermNumber = _RETerm.RETermNumber |
| [0..*] | I_REApportionmentRule2Detail | _REApportionmentRuleDetail | $projection.REApportionmentRuleUUID = _REApportionmentRuleDetail.REApportionmentRuleUUID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view | |
| EndUserText.label | Real Estate Apportionment Rule | view | |
| ObjectModel.representativeKey | REApportionmentRuleUUID | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #BASIC | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | REApportionmentRuleUUID | apportionmentruleguid | Apport. Rule GUID | |
| REServiceGroupUUID | objectuuid | UUID GO | ||
| InternalRealEstateNumber | _REServiceGroup | InternalRealEstateNumber | RE Key | |
| RETermType | termtype | Term Type | ||
| RETermNumber | termno | Term Number | ||
| ValidityStartDate | Vers.Valid From | |||
| ValidityEndDate | Vers.Valid To | |||
| REVacancyPercent | vacancy_percent | Vacancy | ||
| _REKeyAssgmt | _REKeyAssgmt | |||
| _RETermType | _RETermType | |||
| _RETerm | _RETerm | |||
| _REApportionmentRuleDetail | _REApportionmentRuleDetail |
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_REApportionmentRule.
-- 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: IREAPPRTRULE
CREATE VIEW I_REApportionmentRule AS
SELECT
apportionmentruleguid AS REApportionmentRuleUUID,
objectuuid AS REServiceGroupUUID,
_REServiceGroup.InternalRealEstateNumber AS InternalRealEstateNumber,
termtype AS RETermType,
termno AS RETermNumber,
cast(validfrom as rebdvdmvalidfrom preserving type) AS ValidityStartDate,
cast(validto as rebdvdmvalidto preserving type) AS ValidityEndDate,
vacancy_percent AS REVacancyPercent
FROM vicsapportrule AS _REApportionmentRule
LEFT OUTER JOIN I_REServiceGroup AS _REServiceGroup ON REServiceGroupUUID = _REServiceGroup.REServiceGroupUUID -- association [1..1]
LEFT OUTER JOIN I_REKeyAssgmt AS _REKeyAssgmt ON InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber -- association [1..1]
LEFT OUTER JOIN I_RETermType AS _RETermType ON RETermType = _RETermType.RETermType AND _RETermType.RealEstateObjectType = 'J6' -- association [1..1]
LEFT OUTER JOIN I_RETerm AS _RETerm ON InternalRealEstateNumber = _RETerm.InternalRealEstateNumber AND RETermType = _RETerm.RETermType AND RETermNumber = _RETerm.RETermNumber -- association [1..1]
LEFT OUTER JOIN I_REApportionmentRule2Detail AS _REApportionmentRuleDetail ON REApportionmentRuleUUID = _REApportionmentRuleDetail.REApportionmentRuleUUID -- 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