I_REFixedAssetRelation
Real Estate Relation to Fixed Asset
I_REFixedAssetRelation is a Basic CDS View that provides data about "Real Estate Relation to Fixed Asset" in SAP S/4HANA. It reads from 1 data source (I_FixedAsset) and exposes 5 fields with key field REStatusObjectAsset. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_FixedAsset | I_FixedAsset | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_FixedAsset | _FixedAsset | $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset |
| [0..1] | I_REObjectTypeText | _REObjectTypeText | _REObjectTypeText.RealEstateObjectType = 'AN' and _REObjectTypeText.Language = $session.system_language |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IREFIXASTREL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Real Estate Relation to Fixed Asset | view | |
| ObjectModel.representativeKey | REStatusObjectAsset | view | |
| ObjectModel.semanticKey | REStatusObjectAsset | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #BASIC | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | REStatusObjectAsset | |||
| CompanyCode | CompanyCode | |||
| MasterFixedAsset | MasterFixedAsset | |||
| FixedAsset | FixedAsset | |||
| _FixedAsset | _FixedAsset |
@AbapCatalog.sqlViewName: 'IREFIXASTREL'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Real Estate Relation to Fixed Asset'
@ObjectModel: { representativeKey: 'REStatusObjectAsset',
semanticKey: 'REStatusObjectAsset',
compositionRoot:true,
usageType.serviceQuality: #C,
usageType.sizeCategory: #XXL,
usageType.dataClass: #MASTER }
@VDM.viewType: #BASIC
define view I_REFixedAssetRelation
as select from I_FixedAsset
// Association to children
association [1..1] to I_FixedAsset as _FixedAsset on $projection.CompanyCode = _FixedAsset.CompanyCode
and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset
and $projection.FixedAsset = _FixedAsset.FixedAsset
association [0..1] to I_REObjectTypeText as _REObjectTypeText on _REObjectTypeText.RealEstateObjectType = 'AN'
and _REObjectTypeText.Language = $session.system_language
{
key cast( concat( 'AN' , concat( CompanyCode , concat( MasterFixedAsset , FixedAsset ) ) ) as receasobjnr ) as REStatusObjectAsset,
CompanyCode,
MasterFixedAsset,
FixedAsset,
cast(
concat(concat(concat(concat(
CompanyCode,
'/'),
MasterFixedAsset),
'/'),
FixedAsset)
as recaidentkey ) as REIdentificationKey,
cast(
concat(concat(concat(concat(concat_with_space(_REObjectTypeText.REObjectTypePrefix,
CompanyCode,1 ),
'/'),
MasterFixedAsset),
'/'),
FixedAsset)
as recaident ) as REIdentification,
_FixedAsset
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_FIXEDASSET",
"I_REOBJECTTYPETEXT"
],
"ASSOCIATED":
[
"I_FIXEDASSET",
"I_REOBJECTTYPETEXT"
],
"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