I_BUSINESSPARTNERTOBPROLE

CDS View

Business Partner assignment to BP Role

I_BUSINESSPARTNERTOBPROLE is a CDS View in S/4HANA. Business Partner assignment to BP Role. 4 CDS views read from this table.

CDS Views using this table (4)

ViewTypeJoinVDMDescription
A_BusinessPartnerRole view from BASIC Role
C_InsurClmInsuranceCompanyVH view from CONSUMPTION Insurance Company value help
P_RSHResourceBPRole view from COMPOSITE BP Role of Resource
R_CollsMgmtBusinessPartnerTP view_entity inner TRANSACTIONAL Collections Management: Business Partner
@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' 
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
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 = ''