I_REKeyAssgmt

DDL: I_REKEYASSGMT SQL: IREKEYASS Type: view_entity BASIC Package: VDM_RE_CA

Real Estate Key Assgmt

I_REKeyAssgmt is a Basic CDS View that provides data about "Real Estate Key Assgmt" in SAP S/4HANA. It reads from 1 data source (vicaintreno) and exposes 16 fields with key field InternalRealEstateNumber. It has 2 associations to related views. Part of development package VDM_RE_CA.

Data Sources (1)

SourceAliasJoin Type
vicaintreno _REKeyAssgmt from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_REObjectType _REObjectType $projection.RealEstateObjectType = _REObjectType.RealEstateObjectType
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Real Estate Key Assgmt view
Analytics.internalName #LOCAL view
ObjectModel.representativeKey InternalRealEstateNumber view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.modelingPattern #NONE view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY InternalRealEstateNumber intreno
RealEstateObjectType objtype
REIdentificationKey identkey
REStatusObject objnr
REInternalFinNumber
CompanyCode bukrs
RealEstateContract
REBusinessEntity
RERentalObject
RealEstateBuilding
RealEstateProperty
ArchitecturalObject aoid
REServiceChargeKey
RESettlementUnitID
_REObjectType _REObjectType
_CompanyCode _CompanyCode
//@AbapCatalog.sqlViewName: 'IREKEYASS'

@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Real Estate Key Assgmt'
@Analytics.internalName: #LOCAL
@ObjectModel: {
  representativeKey: 'InternalRealEstateNumber',
  semanticKey: ['InternalRealEstateNumber'],
  usageType: {
    dataClass: #MASTER,
    serviceQuality: #A,
    sizeCategory: #L
  },
  modelingPattern: #NONE,
  supportedCapabilities: [
    #CDS_MODELING_ASSOCIATION_TARGET
  ]
}
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #BASIC

define view entity I_REKeyAssgmt
  as select from vicaintreno as _REKeyAssgmt

  association [1..1] to I_REObjectType as _REObjectType on $projection.RealEstateObjectType = _REObjectType.RealEstateObjectType
  association [1..1] to I_CompanyCode  as _CompanyCode  on $projection.CompanyCode = _CompanyCode.CompanyCode

{
  key       intreno                                      as InternalRealEstateNumber,
            @ObjectModel.foreignKey.association: '_REObjectType'
            objtype                                      as RealEstateObjectType,
            identkey                                     as REIdentificationKey,
            objnr                                        as REStatusObject,
            cast(imkey as recaimkeyfi preserving type )  as REInternalFinNumber,
            @ObjectModel.foreignKey.association: '_CompanyCode'
            bukrs                                        as CompanyCode,
            cast(recnnr as recnvdmcnnr preserving type ) as RealEstateContract, 
            cast(swenr as rebdvdmbeno  preserving type ) as REBusinessEntity,
            cast(smenr as rebdvdmrono preserving type )  as RERentalObject,
            cast(sgenr as rebdvdmbuno preserving type )  as RealEstateBuilding,
            cast(sgrnr as rebdvdmprno preserving type )  as RealEstateProperty,
            aoid                                         as ArchitecturalObject,
            //PGID

            cast(snksl as rescvdmsckey preserving type ) as REServiceChargeKey,
            cast(sempsl as rescvdmsuid preserving type ) as RESettlementUnitID,
            //COMPGRP

            _REObjectType,
            _CompanyCode

}