R_WorkAssignmentDetailsActive

DDL: R_WORKASSIGNMENTDETAILSACTIVE Type: view_entity BASIC Package: ODATA_CA_BUM_WF

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)

SourceAliasJoin Type
wfd_d_assgmtdets _AssignmentDetails from
R_WorkAssignmentKeyMap _AssignmentKeyMap inner

Annotations (8)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;