I_BusPartRoleProcTempVH

DDL: I_BUSPARTROLEPROCTEMPVH SQL: IBPROLEPROCTVH Type: view COMPOSITE

Value Help View for BP Role

I_BusPartRoleProcTempVH is a Composite CDS View that provides data about "Value Help View for BP Role" in SAP S/4HANA. It reads from 6 data sources and exposes 10 fields with key fields BusinessPartnerRole, BusinessPartnerCategory, BusinessPartnerCategory, BusinessPartnerCategory. It has 1 association to related views.

Data Sources (6)

SourceAliasJoin Type
tb003a _RoleCategory inner
tb003a _RoleCategory inner
tb003a _RoleCategory inner
I_BusinessPartnerRole Role from
I_BusinessPartnerRole Role union
I_BusinessPartnerRole Role union

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_BPRoleCategoryAllowList _AllowList Role.RoleCategory = _AllowList.RoleCategory

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IBPROLEPROCTVH view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.representativeKey BusinessPartnerRole view
ObjectModel.dataCategory #VALUE_HELP view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Value Help View for BP Role view
Analytics.internalName #LOCAL view
AbapCatalog.compiler.compareFilter true view
Consumption.ranked true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartnerRole BusinessPartnerRole
KEY BusinessPartnerCategory
RoleCategory I_BusinessPartnerRole RoleCategory
RoleCategorykeyBusinessPartnerRole
KEY BusinessPartnerCategory
RoleCategory I_BusinessPartnerRole RoleCategory
RoleCategorykeyBusinessPartnerRole
KEY BusinessPartnerCategory
RoleCategory I_BusinessPartnerRole RoleCategory
_BusinessPartnerRoleText _BusinessPartnerRoleText
@AbapCatalog.sqlViewName: 'IBPROLEPROCTVH'
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck:  #CHECK
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.resultSet.sizeCategory: #XS
@ObjectModel.representativeKey: 'BusinessPartnerRole'
@ObjectModel.dataCategory: #VALUE_HELP
@ClientHandling.algorithm : #SESSION_VARIABLE
@Search.searchable: true
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Value Help View for BP Role'
@Analytics.internalName:#LOCAL
@AbapCatalog.compiler.compareFilter:true
@Consumption.ranked: true 
define view I_BusPartRoleProcTempVH
  as select from I_BusinessPartnerRole as Role
    inner join   tb003a                as _RoleCategory on Role.RoleCategory = _RoleCategory.rolecategory
  association [0..1] to I_BPRoleCategoryAllowList as _AllowList on Role.RoleCategory = _AllowList.RoleCategory
{
      @ObjectModel.text.association: '_BusinessPartnerRoleText'
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
  key BusinessPartnerRole,
  key cast( '1' as bu_type ) as BusinessPartnerCategory,
      @UI.hidden: true
      Role.RoleCategory      as RoleCategory,
      @Search.ranking: #LOW
      _BusinessPartnerRoleText
}
where
      _RoleCategory.xpers            = 'X'
  and _AllowList.BusinessPartnerRole is null

union select from I_BusinessPartnerRole as Role
  inner join      tb003a                as _RoleCategory on Role.RoleCategory = _RoleCategory.rolecategory
association [0..1] to I_BPRoleCategoryAllowList as _AllowList on Role.RoleCategory = _AllowList.RoleCategory
{
      @ObjectModel.text.association: '_BusinessPartnerRoleText'
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
  key BusinessPartnerRole,
  key cast( '2' as bu_type ) as BusinessPartnerCategory,
      @UI.hidden: true
      Role.RoleCategory      as RoleCategory,
      @Search.ranking: #LOW
      _BusinessPartnerRoleText
}
where
      _RoleCategory.xorg             = 'X'
  and _AllowList.BusinessPartnerRole is null

union select from I_BusinessPartnerRole as Role
  inner join      tb003a                as _RoleCategory on Role.RoleCategory = _RoleCategory.rolecategory
association [0..1] to I_BPRoleCategoryAllowList as _AllowList on Role.RoleCategory = _AllowList.RoleCategory
{
      @ObjectModel.text.association: '_BusinessPartnerRoleText'
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
  key BusinessPartnerRole,
  key cast( '3' as bu_type ) as BusinessPartnerCategory,
      @UI.hidden: true
      Role.RoleCategory      as RoleCategory,
      @Search.ranking: #LOW
      _BusinessPartnerRoleText
}
where
      _RoleCategory.xgroup           = 'X'
  and _AllowList.BusinessPartnerRole is null