I_REAccountingObject

DDL: I_REACCOUNTINGOBJECT SQL: IREACCOBJECT Type: view COMPOSITE Package: VDM_RE_RA

Real Estate Accounting Object

I_REAccountingObject is a Composite CDS View (Dimension) that provides data about "Real Estate Accounting Object" in SAP S/4HANA. It reads from 2 data sources (I_REControllingObject, I_REOrganizationalAssgmtTerm) and exposes 38 fields with key field REAccountingObject. It has 1 association to related views. Part of development package VDM_RE_RA.

Data Sources (2)

SourceAliasJoin Type
I_REControllingObject _REControllingObject union_all
I_REOrganizationalAssgmtTerm _REOrganizationalAssgmtTerm from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_REObjectTypeDetails _REObjectTypeDetails _REOrganizationalAssgmtTerm.InternalRealEstateNumber = _REObjectTypeDetails.InternalRealEstateNumber

Annotations (16)

NameValueLevelField
EndUserText.label Real Estate Accounting Object view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
AbapCatalog.sqlViewName IREACCOBJECT view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey REAccountingObject view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Analytics.internalName #LOCAL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
Metadata.allowExtensions true view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY REAccountingObject _REObjectTypeDetails REStatusObject Val. Obj. No.
REAccountingObjectType _REObjectTypeDetails RealEstateObjectType Object Type
REIdentification _REObjectTypeDetails REIdentification Object
REIdentificationKey _REObjectTypeDetails REIdentificationKey Object ID
CompanyCodeelseendasCompanyCode
RealEstateContract
REContractType
REBusinessEntity
RealEstateBuilding
RealEstateProperty
RERentalObject
REAuthorizationGroup
CostCenter Cost Center
InternalOrder Order
WBSElement
WBSElementExternalID WBS Element External ID
ControllingAreaelseendasControllingArea
OrderType Order Type
REAccountingObjectasREAccountingObject
REAccountingObjectType I_REControllingObject REAccountingObjectType Object Type
REIdentification I_REControllingObject REIdentification Object
REIdentificationKey I_REControllingObject REIdentificationKey Object ID
CompanyCode I_REControllingObject CompanyCode Receiver Company Code
REObjectText I_REControllingObject REObjectText
RealEstateContract
REContractType
REBusinessEntity
RealEstateBuilding
RealEstateProperty
RERentalObject
REAuthorizationGroup
CostCenter I_REControllingObject CostCenter Cost Center
InternalOrder I_REControllingObject InternalOrder Order
WBSElement
WBSElementExternalID I_REControllingObject WBSElementExternalID WBS Element External ID
ControllingArea I_REControllingObject ControllingArea Controlling Area
OrderType I_REControllingObject OrderType Order Type
ProfitCenter I_REControllingObject ProfitCenter Profit Center

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_REAccountingObject.
-- 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: IREACCOBJECT

CREATE VIEW I_REAccountingObject AS
SELECT
  _REObjectTypeDetails.REStatusObject AS REAccountingObject,
  _REObjectTypeDetails.RealEstateObjectType AS REAccountingObjectType,
  _REObjectTypeDetails.REIdentification AS REIdentification,
  _REObjectTypeDetails.REIdentificationKey AS REIdentificationKey,
  case _REObjectTypeDetails.RealEstateObjectType when 'IS' then _REObjectTypeDetails._REContract.CompanyCode when 'IW' then _REObjectTypeDetails._REBusinessEntity.CompanyCode when 'IB' then _REObjectTypeDetails._REBuilding.CompanyCode when 'IG' then _REObjectTypeDetails._REProperty.CompanyCode when 'IM' then _REObjectTypeDetails._RERentalObject.CompanyCode else '' end as CompanyCode AS CompanyCodeelseendasCompanyCode,
  cast(_REObjectTypeDetails._REKeyAssgmt.RealEstateContract as recnvdmcnnr preserving type ) AS RealEstateContract,
  _REObjectTypeDetails._REContract.REContractType AS REContractType,
  cast(_REObjectTypeDetails._REKeyAssgmt.REBusinessEntity as rebdvdmbeno preserving type) AS REBusinessEntity,
  cast(_REObjectTypeDetails._REKeyAssgmt.RealEstateBuilding as rebdvdmbuno preserving type) AS RealEstateBuilding,
  cast(_REObjectTypeDetails._REKeyAssgmt.RealEstateProperty as rebdvdmprno preserving type) AS RealEstateProperty,
  cast(_REObjectTypeDetails._REKeyAssgmt.RERentalObject as rebdvdmrono preserving type) AS RERentalObject,
  _REObjectTypeDetails._REContract.REAuthorizationGroup AS REAuthorizationGroup,
  cast(' ' as kostl preserving type) AS CostCenter,
  cast(' ' as fins_int_aufnr preserving type ) AS InternalOrder,
  ' ' AS WBSElement,
  cast(' ' as ps_posid_edit preserving type ) AS WBSElementExternalID,
  case _REObjectTypeDetails.RealEstateObjectType when 'IS' then _REObjectTypeDetails._REContract._CompanyCode.ControllingArea when 'IW' then _REObjectTypeDetails._REBusinessEntity._CompanyCode.ControllingArea when 'IB' then _REObjectTypeDetails._REBuilding._CompanyCode.ControllingArea when 'IG' then _REObjectTypeDetails._REProperty._CompanyCode.ControllingArea when 'IM' then _REObjectTypeDetails._RERentalObject._CompanyCode.ControllingArea else '' end as ControllingArea AS ControllingAreaelseendasControllingArea,
  cast(' ' as aufart preserving type ) AS OrderType,
  _REOrganizationalAssgmtTerm.ProfitCenter as ProfitCenter AS REAccountingObjectasREAccountingObject,
  _REControllingObject.CompanyCode AS CompanyCode,
  _REControllingObject.REObjectText AS REObjectText,
  _REControllingObject.ControllingArea AS ControllingArea,
  _REControllingObject.ProfitCenter AS ProfitCenter
FROM I_REOrganizationalAssgmtTerm AS _REOrganizationalAssgmtTerm
LEFT OUTER JOIN I_REObjectTypeDetails AS _REObjectTypeDetails ON _REOrganizationalAssgmtTerm.InternalRealEstateNumber = _REObjectTypeDetails.InternalRealEstateNumber  -- association [1..1]
-- UNION ALL with additional select branch(es): I_REControllingObject
;