I_REPartnerAssgmt

DDL: I_REPARTNERASSGMT SQL: IREPARTNERASS Type: view BASIC

Real Estate Partner Assignments

I_REPartnerAssgmt is a Basic CDS View that provides data about "Real Estate Partner Assignments" in SAP S/4HANA. It reads from 1 data source (vibpobjrel) and exposes 19 fields with key field REPartnerRelationUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
vibpobjrel _REPartnerAssgmt from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_BusinessPartnerRole _BusinessPartnerRole $projection.BusinessPartnerRole = _BusinessPartnerRole.BusinessPartnerRole
[0..1] I_REPartnerRoleType _REPartnerRoleType $projection.BusinessPartnerRole = _REPartnerRoleType.BusinessPartnerRole and $projection.REPartnerRoleType = _REPartnerRoleType.REPartnerRoleType
[0..1] I_BusinessPartnerAddressType _BusinessPartnerAddressType $projection.AddressType = _BusinessPartnerAddressType.AddressType
[0..1] I_ContractAccountHeader _CAHeader $projection.ContractAccount = _CAHeader.ContractAccount

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IREPARTNERASS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Real Estate Partner Assignments view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.representativeKey REPartnerRelationUUID view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY REPartnerRelationUUID objrelguid
InternalRealEstateNumber intreno
BusinessPartner partner
BusinessPartnerRole role
REPartnerRoleType subrole
AddressType addrtype
ValidityStartDate
ValidityEndDate
REPartnerApplicationCategory appl
REFractionalPrptyShrRatio bruteil
REOwnershipShrRatio bmiteig
RECoOwnershipShrRatio panteil
REFractionalShrCnvrsnRatio rfakt
ContractAccount vkont
_BusinessPartner _BusinessPartner
_BusinessPartnerRole _BusinessPartnerRole
_REPartnerRoleType _REPartnerRoleType
_BusinessPartnerAddressType _BusinessPartnerAddressType
_CAHeader _CAHeader
@AbapCatalog.sqlViewName: 'IREPARTNERASS'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Real Estate Partner Assignments'
@ObjectModel: {
    usageType.dataClass: #MASTER,
    usageType.serviceQuality: #C,
    usageType.sizeCategory: #L
    }
    
// ATTENTION PERSONAL DATA BLOCKING

// Views consuming I_REPartnerAssgmt must make sure to restrict access for personal data access / DPP. Blocking only implemented on RAP consumption and above

@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.representativeKey: 'REPartnerRelationUUID'
@ObjectModel.semanticKey: ['InternalRealEstateNumber', 'BusinessPartner', 'BusinessPartnerRole', 'ValidityStartDate' ]

//@ClientDependent: true

@VDM.viewType: #BASIC
//@Search.searchable: true

@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_REPartnerAssgmt
  as select from vibpobjrel as _REPartnerAssgmt
  association [0..1] to I_BusinessPartner            as _BusinessPartner            on  $projection.BusinessPartner = _BusinessPartner.BusinessPartner
  association [0..1] to I_BusinessPartnerRole        as _BusinessPartnerRole        on  $projection.BusinessPartnerRole = _BusinessPartnerRole.BusinessPartnerRole
  association [0..1] to I_REPartnerRoleType          as _REPartnerRoleType          on  $projection.BusinessPartnerRole = _REPartnerRoleType.BusinessPartnerRole
                                                                                    and $projection.REPartnerRoleType   = _REPartnerRoleType.REPartnerRoleType
  association [0..1] to I_BusinessPartnerAddressType as _BusinessPartnerAddressType on  $projection.AddressType = _BusinessPartnerAddressType.AddressType
  association [0..1] to I_ContractAccountHeader      as _CAHeader                   on  $projection.ContractAccount = _CAHeader.ContractAccount

{
  key objrelguid                                             as REPartnerRelationUUID,
      intreno                                                as InternalRealEstateNumber,
      @ObjectModel.foreignKey.association: '_BusinessPartner'
      partner                                                as BusinessPartner,
      @ObjectModel.foreignKey.association: '_BusinessPartnerRole'
//      @Consumption.valueHelpDefinition: [{entity: {name: 'I_BusinessPartnerRole', element: 'BusinessPartnerRole' }}]

      @Consumption.valueHelpDefinition: [{association: '_BusinessPartnerRole'}]
      role                                                   as BusinessPartnerRole,
      @ObjectModel.foreignKey.association: '_REPartnerRoleType'
      subrole                                                as REPartnerRoleType,
      @ObjectModel.foreignKey.association: '_BusinessPartnerAddressType'
      addrtype                                               as AddressType,
      @Semantics.businessDate.from: true
      cast ( validfrom as rebdvdmvalidfrom preserving type ) as ValidityStartDate,
      @Semantics.businessDate.to: true
      cast ( validto as rebdvdmvalidto preserving type )     as ValidityEndDate,
      appl                                                   as REPartnerApplicationCategory,
      bruteil                                                as REFractionalPrptyShrRatio,
      bmiteig                                                as REOwnershipShrRatio,
      panteil                                                as RECoOwnershipShrRatio,
      rfakt                                                  as REFractionalShrCnvrsnRatio,
      vkont                                                  as ContractAccount,

      _BusinessPartner,
      _BusinessPartnerRole,
      _REPartnerRoleType,
      _BusinessPartnerAddressType,
      _CAHeader

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"VIBPOBJREL"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_BUSINESSPARTNERADDRESSTYPE",
"I_BUSINESSPARTNERROLE",
"I_CONTRACTACCOUNTHEADER",
"I_REPARTNERROLETYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/