I_BusinessPartnerToBPRole

DDL: I_BUSINESSPARTNERTOBPROLE SQL: IBPTOBPROLE Type: view BASIC

Business Partner assignment to BP Role

I_BusinessPartnerToBPRole is a Basic CDS View (Dimension) that provides data about "Business Partner assignment to BP Role" in SAP S/4HANA. It reads from 1 data source (but100) and exposes 8 fields with key fields BusinessPartner, BusinessPartnerRole. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
but100 but100 from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_BusinessPartnerRole _BusinessPartnerRole $projection.BusinessPartnerRole = _BusinessPartnerRole.BusinessPartnerRole
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName IBPTOBPROLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.personalData.blockingIndicator _BusinessPartner.IsBusinessPurposeCompleted view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Business Partner assignment to BP Role view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey BusinessPartnerRole view
VDM.viewType #BASIC view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_BusinessPartnerToBPRole_2 view

Fields (8)

KeyFieldSource TableSource FieldDescription
mandt but100 mandt
KEY BusinessPartner but100 partner
KEY BusinessPartnerRole but100 rltyp
ValidFrom but100 valid_from
ValidTo but100 valid_to
_BusinessPartnerRole _BusinessPartnerRole
AuthorizationGroup _BusinessPartner AuthorizationGroup
_BusinessPartner _BusinessPartner
@AbapCatalog.sqlViewName: 'IBPTOBPROLE' //must start with "I"


@AccessControl.authorizationCheck:#CHECK
@AccessControl.personalData.blocking: #REQUIRED
@AccessControl.personalData.blockingIndicator: '_BusinessPartner.IsBusinessPurposeCompleted'
@Analytics: {
    dataCategory: #DIMENSION,
    dataExtraction: {
       enabled: true,
       delta.changeDataCapture: {
          automatic : true
       }
    }
}

@ClientHandling.algorithm: #SESSION_VARIABLE 

@EndUserText.label: 'Business Partner assignment to BP Role' //same as DDL description


@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE,
                                     #CDS_MODELING_DATA_SOURCE,
                                     #CDS_MODELING_ASSOCIATION_TARGET,
                                     #ANALYTICAL_DIMENSION,
                                     #EXTRACTION_DATA_SOURCE]
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION    
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.representativeKey:'BusinessPartnerRole'

@VDM.viewType: #BASIC

@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'I_BusinessPartnerToBPRole_2' 

define view I_BusinessPartnerToBPRole 
  as select from but100

  association [0..1] to I_BusinessPartnerRole as _BusinessPartnerRole on $projection.BusinessPartnerRole = _BusinessPartnerRole.BusinessPartnerRole
  association [0..1] to I_BusinessPartner     as _BusinessPartner     on $projection.BusinessPartner = _BusinessPartner.BusinessPartner
{
   @Consumption.hidden: true
   but100.mandt as mandt,
      //--[ GENERATED:012:GlBfhyJl7kY4i6}7dD1KRG

      @Consumption.valueHelpDefinition: [ 
        { entity:  { name:    'I_BusinessPartnerVH',
                     element: 'BusinessPartner' }
        }]
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_BusinessPartner'
  key but100.partner     as BusinessPartner,
      // @ObjectModel.text.association: '_BusinessPartnerRoleText'

  key but100.rltyp       as BusinessPartnerRole,
  
      but100.valid_from  as ValidFrom,
      but100.valid_to    as ValidTo,


      //        Association

      _BusinessPartnerRole,
      _BusinessPartner.AuthorizationGroup,
      _BusinessPartner      
}
where
  but100.dfval = ''  
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BUSINESSPARTNER",
"BUT100"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_BUSINESSPARTNERROLE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/