R_BPRoleCatWorkforcePersonVH

DDL: R_BPROLECATWORKFORCEPERSONVH Type: view_entity BASIC

Select: Worker Type

R_BPRoleCatWorkforcePersonVH is a Basic CDS View that provides data about "Select: Worker Type" in SAP S/4HANA. It reads from 2 data sources (bpu_rolecat_whl, tb003) and exposes 3 fields with key field Role. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
bpu_rolecat_whl AllowList inner
tb003 Role from

Associations (1)

CardinalityTargetAliasCondition
[0..1] R_BPUsrRoleText _BPUsrRoleText $projection.Role = _BPUsrRoleText.Role and _BPUsrRoleText.Language = $session.system_language

Annotations (11)

NameValueLevelField
EndUserText.label Select: Worker Type view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.resultSet.sizeCategory #XS view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY Role tb003 role
RoleCategory bpu_rolecat_whl rolecategory
BusinessPartnerRoleShortName _BPUsrRoleText BusinessPartnerRoleShortName
@EndUserText.label: 'Select: Worker Type'
@ObjectModel.dataCategory:#VALUE_HELP
@ObjectModel : { resultSet.sizeCategory: #XS }
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #CHECK
@VDM: {
  viewType: #BASIC,
  lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #S,
  dataClass: #MASTER
}
define view entity R_BPRoleCatWorkforcePersonVH
  as select from tb003           as Role
    inner join   bpu_rolecat_whl as AllowList on Role.rolecategory = AllowList.rolecategory
  association [0..1] to R_BPUsrRoleText as _BPUsrRoleText on  $projection.Role        = _BPUsrRoleText.Role
                                                          and _BPUsrRoleText.Language = $session.system_language
{
        @ObjectModel.text.element: ['BusinessPartnerRoleShortName']
        @Search.defaultSearchElement:true
        @Search.fuzzinessThreshold:0.8
        @Search.ranking:#HIGH
  key   Role.role              as Role,
        @UI.hidden: true
        @ObjectModel.text.element: ['BusinessPartnerRoleShortName']
        @Search.defaultSearchElement:true
        @Search.fuzzinessThreshold:0.8
        @Search.ranking:#HIGH
        AllowList.rolecategory as RoleCategory,
        @Semantics.text: true
        _BPUsrRoleText.BusinessPartnerRoleShortName
}
where
      AllowList.hcm_integration_code         = '1'
  and AllowList.solution_characteristic_code = '2'
  and AllowList.rolecat_usage_code           = 'B'
  and Role.stnd_rolecat                      = 'X';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_BPUSRROLETEXT",
"BPU_ROLECAT_WHL",
"TB003"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/