I_RETerm
Real Estate Term
I_RETerm is a Basic CDS View (Dimension) that provides data about "Real Estate Term" in SAP S/4HANA. It reads from 1 data source (vitmterm) and exposes 8 fields with key fields InternalRealEstateNumber, RETermType, RETermNumber. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vitmterm | _RETerm | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_REKeyAssgmt | _REKeyAssgmt | $projection.InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber |
| [1..1] | I_RETermType | _RETermType | $projection.RETermType = _RETermType.RETermType and $projection.RealEstateObjectType = _RETermType.RealEstateObjectType |
| [1..1] | I_REObjectType | _REObjectType | $projection.RealEstateObjectType = _REObjectType.RealEstateObjectType |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IRETERM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| EndUserText.label | Real Estate Term | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | RETermNumber | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InternalRealEstateNumber | intreno | ||
| KEY | RETermType | termtype | ||
| KEY | RETermNumber | termno | ||
| RealEstateObjectType | _REKeyAssgmt | RealEstateObjectType | ||
| RETermName | xterm | |||
| _REObjectType | _REObjectType | |||
| _RETermType | _RETermType | |||
| _REKeyAssgmt | _REKeyAssgmt |
@AbapCatalog.sqlViewName: 'IRETERM'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@EndUserText.label: 'Real Estate Term'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'RETermNumber'
@ObjectModel.semanticKey: [ 'InternalRealEstateNumber', 'RETermType', 'RETermNumber' ]
define view I_RETerm as select from vitmterm as _RETerm
association [1..1] to I_REKeyAssgmt as _REKeyAssgmt on $projection.InternalRealEstateNumber = _REKeyAssgmt.InternalRealEstateNumber
association [1..1] to I_RETermType as _RETermType on $projection.RETermType = _RETermType.RETermType
and $projection.RealEstateObjectType = _RETermType.RealEstateObjectType
association [1..1] to I_REObjectType as _REObjectType on $projection.RealEstateObjectType = _REObjectType.RealEstateObjectType
{
@ObjectModel.foreignKey.association: '_REKeyAssgmt'
key intreno as InternalRealEstateNumber,
@ObjectModel.foreignKey.association: '_RETermType'
key termtype as RETermType,
//@ObjectModel.text.element: ['RETermName']
key termno as RETermNumber,
@ObjectModel.foreignKey.association: '_REObjectType'
// KEY causing many issues with 1..1 ON Condition in using views. We need to find another way to statisfy analytics or re-structure the whole model !!!
// key _REKeyAssgmt.RealEstateObjectType as RealEstateObjectType,
_REKeyAssgmt.RealEstateObjectType as RealEstateObjectType,
@Semantics.text: true
xterm as RETermName,
_REObjectType,
_RETermType,
_REKeyAssgmt
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_REKEYASSGMT",
"VITMTERM"
],
"ASSOCIATED":
[
"I_REKEYASSGMT",
"I_REOBJECTTYPE",
"I_RETERMTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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