R_WorkforcePersonTag_1
WorkforcePerson Tags Basic View
R_WorkforcePersonTag_1 is a Basic CDS View that provides data about "WorkforcePerson Tags Basic View" in SAP S/4HANA. It reads from 2 data sources (/shcm/d_ee_tag, R_WorkAssignment_1) and exposes 7 fields with key fields WorkAssignment, WorkforcePersonSkillTagID. Part of development package WFD_INT_RAP.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| /shcm/d_ee_tag | Tags | from |
| R_WorkAssignment_1 | workAssignment | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | WorkforcePerson Tags Basic View | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkAssignment | /shcm/d_ee_tag | personnelnumber | |
| KEY | WorkforcePersonSkillTagID | /shcm/d_ee_tag | tag_id | |
| WorkforcePersonSkillTagType | /shcm/d_ee_tag | tag_type | ||
| WorkforcePersonTagText | /shcm/d_ee_tag | tag | ||
| WorkAssignmentExternalID | R_WorkAssignment_1 | WorkAssignmentExternalID | ||
| Country2DigitISOCode | R_WorkAssignment_1 | Country2DigitISOCode | ||
| WorkforcePersonExternalID | R_WorkAssignment_1 | WorkforcePersonExternalID |
@EndUserText.label: 'WorkforcePerson Tags Basic View'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #XXL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view entity R_WorkforcePersonTag_1
as select from /shcm/d_ee_tag as Tags
inner join R_WorkAssignment_1 as workAssignment on Tags.personnelnumber = workAssignment.WorkAssignment
//// association [0..1] to I_User as _CreatedByUser on $projection.WrkfrcPersnTagLastChgdByUserID = _CreatedByUser.UserID
// association [1..1] to R_Workassignment_1 as _WorkAssignment on $projection.WorkAssignment = _WorkAssignment.WorkAssignment
// Extension
// association [1] to E_WorkforcePersonTag_1 as _Extension on $projection.WorkAssignment = _Extension.WorkAssignment
// and $projection.WorkforcePersonSkillTagID = _Extension.WorkforcePersonSkillTagID
{
key Tags.personnelnumber as WorkAssignment,
key Tags.tag_id as WorkforcePersonSkillTagID ,
Tags.tag_type as WorkforcePersonSkillTagType,
Tags.tag as WorkforcePersonTagText,
// Tags.changed_on as WrkfrcPersnTagLastChgdDteTime,
// Tags.changed_by as WrkfrcPersnTagLastChgdByUserID,
workAssignment.WorkAssignmentExternalID,
workAssignment.Country2DigitISOCode,
workAssignment.WorkforcePersonExternalID
/*Association*/
//// _CreatedByUser //Added to display User Full Name from CE1708
// _WorkAssignment
}
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