R_BPRoleCatWorkforcePersonVH
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)
| Source | Alias | Join Type |
|---|---|---|
| bpu_rolecat_whl | AllowList | inner |
| tb003 | Role | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | R_BPUsrRoleText | _BPUsrRoleText | $projection.Role = _BPUsrRoleText.Role and _BPUsrRoleText.Language = $session.system_language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA