R_WorkAssignmentDetailsActive
Work assignment Active WA Details
R_WorkAssignmentDetailsActive is a Basic CDS View that provides data about "Work assignment Active WA Details" in SAP S/4HANA. It reads from 2 data sources (wfd_d_assgmtdets, R_WorkAssignmentKeyMap) and exposes 17 fields with key fields WorkforcePersonExternalID, WorkAssignment, StartDate, EndDate. Part of development package ODATA_CA_BUM_WF.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| wfd_d_assgmtdets | _AssignmentDetails | from |
| R_WorkAssignmentKeyMap | _AssignmentKeyMap | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Work assignment Active WA Details | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkforcePersonExternalID | R_WorkAssignmentKeyMap | WorkforcePersonExternalID | External Person ID |
| KEY | WorkAssignment | wfd_d_assgmtdets | workforce_assgmt_id | WorkForce Assgmt ID |
| KEY | StartDate | wfd_d_assgmtdets | start_date | Valn start date |
| KEY | EndDate | wfd_d_assgmtdets | end_date | Valn End date |
| WorkforceAssignmentStatus | wfd_d_assgmtdets | employment_status | Employment Status | |
| EmploymentPercent | wfd_d_assgmtdets | employment_percent | Emplymt Percentage | |
| CompanyCode | wfd_d_assgmtdets | company_code | Company Code | |
| CostCenter | wfd_d_assgmtdets | cost_center | Posted Cost Center | |
| ControllingArea | wfd_d_assgmtdets | controlling_area | CO Area | |
| WeeklyWorkingHours | wfd_d_assgmtdets | weekly_working_hours | Working Hours | |
| WeeklyWorkingDays | wfd_d_assgmtdets | weekly_working_days | Working Days | |
| WorkforcePersonJobTitle | wfd_d_assgmtdets | job_title | Job Title | |
| WorkforcePersonJobCode | wfd_d_assgmtdets | job_code | Job Code | |
| ManagerAssignmentID | wfd_d_assgmtdets | manager_work_assgmt | Manager Assgmt ID | |
| Country2DigitISOCode | wfd_d_assgmtdets | country | Venue: Ctry/Reg | |
| ManagerAssignmentExternalID | wfd_d_assgmtdets | manager_work_assignment_ext_id | Manager External ID | |
| WorkforceAssignmentIsPrimary | wfd_d_assgmtdets | main_employment_indicator | Primary Emplymt Ind. |
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 R_WorkAssignmentDetailsActive.
-- 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 R_WorkAssignmentDetailsActive AS
SELECT
_AssignmentKeyMap.WorkforcePersonExternalID AS WorkforcePersonExternalID,
_AssignmentDetails.workforce_assgmt_id AS WorkAssignment,
_AssignmentDetails.start_date AS StartDate,
_AssignmentDetails.end_date AS EndDate,
_AssignmentDetails.employment_status AS WorkforceAssignmentStatus,
_AssignmentDetails.employment_percent AS EmploymentPercent,
_AssignmentDetails.company_code AS CompanyCode,
_AssignmentDetails.cost_center AS CostCenter,
_AssignmentDetails.controlling_area AS ControllingArea,
_AssignmentDetails.weekly_working_hours AS WeeklyWorkingHours,
_AssignmentDetails.weekly_working_days AS WeeklyWorkingDays,
_AssignmentDetails.job_title AS WorkforcePersonJobTitle,
_AssignmentDetails.job_code AS WorkforcePersonJobCode,
_AssignmentDetails.manager_work_assgmt AS ManagerAssignmentID,
_AssignmentDetails.country AS Country2DigitISOCode,
_AssignmentDetails.manager_work_assignment_ext_id AS ManagerAssignmentExternalID,
_AssignmentDetails.main_employment_indicator AS WorkforceAssignmentIsPrimary
FROM wfd_d_assgmtdets AS _AssignmentDetails
INNER JOIN R_WorkAssignmentKeyMap AS _AssignmentKeyMap ON /* join condition not captured in parsed metadata */
;
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