I_WorkforcePersonDet
Retrive Workforce Person Details
I_WorkforcePersonDet is a Composite CDS View that provides data about "Retrive Workforce Person Details" in SAP S/4HANA. It reads from 1 data source (I_WorkforcePerson) and exposes 18 fields with key field Person. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkforcePerson | I_WorkforcePerson | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BusinessPartner | _BusinessPartner | $projection.Person = _BusinessPartner.BusinessPartner |
| [0..*] | I_ServicePerformerToSuplr | _ServicePerformerToSupplier | $projection.Person = _ServicePerformerToSupplier.Person |
| [1..*] | I_PersonWorkAgreement_1 | _PersonWorkAgreement | $projection.Person = _PersonWorkAgreement.Person |
| [0..1] | I_WorkplaceAddress | _WorkplaceAddress | $projection.BusinessPartnerUUID = _WorkplaceAddress.BusinessPartnerUUID |
| [0..*] | I_BusinessPartnerToBPRole | _BusinessPartnerToBPRole | $projection.Person = _BusinessPartnerToBPRole.BusinessPartner and( _BusinessPartnerToBPRole.BusinessPartnerRole = 'BUP003' or _BusinessPartnerToBPRole.BusinessPartnerRole = 'BBP005' or _BusinessPartnerToBPRole.BusinessPartnerRole = 'BBP010' ) |
| [0..*] | I_BusinessPartnerToBPRole_2 | _BusinessPartnerToBPRole_2 | $projection.Person = _BusinessPartnerToBPRole_2.BusinessPartner and( _BusinessPartnerToBPRole_2.BusinessPartnerRole = 'BUP003' or _BusinessPartnerToBPRole_2.BusinessPartnerRole = 'BBP005' or _BusinessPartnerToBPRole_2.BusinessPartnerRole = 'BBP010' ) |
| [1] | I_User | _User | $projection.BusinessPartnerUUID = _User.BusinessPartnerUUID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AbapCatalog.sqlViewName | IWRKFRCPERSNDET | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | Retrive Workforce Person Details | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Person | Person | Person/ Farm/ Field | |
| PersonExternalID | PersonExternalID | Logical System | ||
| FirstName | FirstName | First Name | ||
| LastName | LastName | Last Name | ||
| MiddleName | MiddleName | Middle Name | ||
| AdditionalLastName | AdditionalLastName | Other Last Name | ||
| PersonFullName | PersonFullName | Full Name | ||
| BusinessPartnerUUID | BusinessPartnerUUID | UUID | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed | ||
| UserID | _User | UserID | User Name | |
| _BusinessPartner | _BusinessPartner | |||
| _ServicePerformerToSupplier | _ServicePerformerToSupplier | |||
| _PersonWorkAgreement | _PersonWorkAgreement | |||
| _WorkplaceAddress | _WorkplaceAddress | |||
| _BusinessPartnerToBPRole | _BusinessPartnerToBPRole | |||
| _BusinessPartnerToBPRole_2 | _BusinessPartnerToBPRole_2 | |||
| _User | _User |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_WorkforcePersonDet.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IWRKFRCPERSNDET
CREATE VIEW I_WorkforcePersonDet AS
SELECT
Person,
PersonExternalID,
FirstName,
LastName,
MiddleName,
AdditionalLastName,
PersonFullName,
BusinessPartnerUUID,
AuthorizationGroup,
IsBusinessPurposeCompleted,
_User.UserID AS UserID
FROM I_WorkforcePerson
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON Person = _BusinessPartner.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_ServicePerformerToSuplr AS _ServicePerformerToSupplier ON Person = _ServicePerformerToSupplier.Person -- association [0..*]
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _PersonWorkAgreement ON Person = _PersonWorkAgreement.Person -- association [1..*]
LEFT OUTER JOIN I_WorkplaceAddress AS _WorkplaceAddress ON BusinessPartnerUUID = _WorkplaceAddress.BusinessPartnerUUID -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerToBPRole AS _BusinessPartnerToBPRole ON Person = _BusinessPartnerToBPRole.BusinessPartner AND( _BusinessPartnerToBPRole.BusinessPartnerRole = 'BUP003' OR _BusinessPartnerToBPRole.BusinessPartnerRole = 'BBP005' OR _BusinessPartnerToBPRole.BusinessPartnerRole = 'BBP010' ) -- association [0..*]
LEFT OUTER JOIN I_BusinessPartnerToBPRole_2 AS _BusinessPartnerToBPRole_2 ON Person = _BusinessPartnerToBPRole_2.BusinessPartner AND( _BusinessPartnerToBPRole_2.BusinessPartnerRole = 'BUP003' OR _BusinessPartnerToBPRole_2.BusinessPartnerRole = 'BBP005' OR _BusinessPartnerToBPRole_2.BusinessPartnerRole = 'BBP010' ) -- association [0..*]
LEFT OUTER JOIN I_User AS _User ON BusinessPartnerUUID = _User.BusinessPartnerUUID -- association [1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA