I_WorkAssignmentDEX_1
Work Assignments
I_WorkAssignmentDEX_1 (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
WorkAssignment · Human Resources
I_WorkAssignmentDEX_1 is a Basic CDS View that provides data about "Work Assignments" in SAP S/4HANA. It reads from 1 data source (I_WorkAssignmentKeyMapping) and exposes 10 fields with key field WorkAssignment. It has 2 associations to related views. Part of development package VDM_WFD_WORK_FORCE.
SAP Help Documentation
| Category | CDS Views for Data Products |
|---|
This CDS view is designed to extract data related to work assignments of a worker with details about assignment duration and its status. The view supports data extraction and change data capture, enabling efficient tracking and updating of work assignment information. Note This CDS view is released to provide data extraction for SAP Business Data Cloud data products only, and any other use is not supported. This CDS view provides the data to answer the following business questions: What are the details of each work assignment, including start and end dates? Which workforce person is associated with each work assignment? Are there any contingent workers within the current work assignments? What is the country code associated with each work assignment? Are there any blocked work assignments that need attention? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.
Structure
Important Fields Important fields in this view include the following: Field Name Description WorkAssignmentExternalID External ID of Workforce Assignment Country2DigitISOCode Country/Region WorkforcePersonExternalID External Person ID IsContingentWorker Contingent Worker Flag WorkAssignmentStartDate Start Date WorkAssignmentEndDate End Date
Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Human Resources |
| Application Component | CA-WFD-BL |
| Capabilities | Data Source for Data Extraction |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Not Released |
| Package | Human Resources for SAP S/4HANA Cloud Public Edition |
| Description | This CDS view is designed to extract data related to work assignments of a worker with details about assignment duration and its status. The view supports data extraction and change data capture, enabling efficient tracking and updating of work assignment information. <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the details of each work assignment, including start and end dates?</p></li> <li><p>Which workforce person is associated with each work assignment?</p></li> <li><p>Are there any contingent workers within the current work assignments?</p></li> <li><p>What is the country code associated with each work assignment?</p></li> <li><p>Are there any blocked work assignments that need attention?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkAssignmentKeyMapping | WorkAssignmentKeymap | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_WorkAssgmtDetsDEX_1 | _WorkAssignmentDetail | WorkAssignmentKeymap.WorkAssignment = _WorkAssignmentDetail.WorkAssignment |
| [1] | I_WorkforcePersonDEX_1 | _WorkforcePerson | $projection.WorkforcePersonExternalID = _WorkforcePerson.WorkforcePersonExternalID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.sapObjectNodeType.name | WorkAssignment | view | |
| EndUserText.label | Work Assignments | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkAssignment | I_WorkAssignmentKeyMapping | WorkAssignment | Workforce Assignment ID |
| WorkAssignmentExternalID | I_WorkAssignmentKeyMapping | WorkAssignmentExternalID | Workforce Assignment External ID | |
| Country2DigitISOCode | I_WorkAssignmentKeyMapping | Country2DigitISOCode | Workforce Country ISO Code | |
| WorkforcePersonExternalID | ||||
| WorkAssignmentStartDate | I_WorkAssignmentKeyMapping | WorkAssignmentStartDate | Start Date | |
| WorkAssignmentEndDate | I_WorkAssignmentKeyMapping | WorkAssignmentEndDate | End Date | |
| IsContingentWorker | I_WorkAssignmentKeyMapping | IsContingentWorker | Contingent Worker Flag | |
| IsBlocked | I_WorkAssignmentKeyMapping | IsBlocked | Boolean Variable (X = True, - = False, Space = Unknown) | |
| _WorkAssignmentDetail | _WorkAssignmentDetail | |||
| _WorkforcePerson | _WorkforcePerson |
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_WorkAssignmentDEX_1.
-- 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.
CREATE VIEW I_WorkAssignmentDEX_1 AS
SELECT
WorkAssignmentKeymap.WorkAssignment AS WorkAssignment,
WorkAssignmentKeymap.WorkAssignmentExternalID AS WorkAssignmentExternalID,
WorkAssignmentKeymap.Country2DigitISOCode AS Country2DigitISOCode,
upper( WorkAssignmentKeymap.WorkforcePersonExternalID ) AS WorkforcePersonExternalID,
WorkAssignmentKeymap.WorkAssignmentStartDate AS WorkAssignmentStartDate,
WorkAssignmentKeymap.WorkAssignmentEndDate AS WorkAssignmentEndDate,
WorkAssignmentKeymap.IsContingentWorker AS IsContingentWorker,
WorkAssignmentKeymap.IsBlocked AS IsBlocked
FROM I_WorkAssignmentKeyMapping AS WorkAssignmentKeymap
LEFT OUTER JOIN I_WorkAssgmtDetsDEX_1 AS _WorkAssignmentDetail ON WorkAssignmentKeymap.WorkAssignment = _WorkAssignmentDetail.WorkAssignment -- association [1..*]
LEFT OUTER JOIN I_WorkforcePersonDEX_1 AS _WorkforcePerson ON WorkforcePersonExternalID = _WorkforcePerson.WorkforcePersonExternalID -- 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