I_RETerm

DDL: I_RETERM SQL: IRETERM Type: view BASIC

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)

SourceAliasJoin Type
vitmterm _RETerm from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
KEY InternalRealEstateNumber intreno Source Object
KEY RETermType termtype Term Type
KEY RETermNumber termno Term Number
RealEstateObjectType _REKeyAssgmt RealEstateObjectType Object Type
RETermName xterm Scheduling
_REObjectType _REObjectType
_RETermType _RETermType
_REKeyAssgmt _REKeyAssgmt

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_RETerm.
-- 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: IRETERM

CREATE VIEW I_RETerm AS
SELECT
  intreno AS InternalRealEstateNumber,
  termtype AS RETermType,
  termno AS RETermNumber,
  _REKeyAssgmt.RealEstateObjectType AS RealEstateObjectType,
  xterm AS RETermName
FROM vitmterm AS _RETerm
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 RealEstateObjectType = _RETermType.RealEstateObjectType  -- association [1..1]
LEFT OUTER JOIN I_REObjectType AS _REObjectType ON RealEstateObjectType = _REObjectType.RealEstateObjectType  -- association [1..1]
;