I_WorkAssignmentDetails

DDL: I_WORKASSIGNMENTDETAILS Type: view_entity BASIC Package: VDM_WFD_WORK_FORCE

Work Assignment details

I_WorkAssignmentDetails is a Basic CDS View that provides data about "Work Assignment details" in SAP S/4HANA. It reads from 1 data source (wfd_d_assgmtdets) and exposes 16 fields with key fields WorkforceAssignment, WorkforceAssgmtStartDate. Part of development package VDM_WFD_WORK_FORCE.

Data Sources (1)

SourceAliasJoin Type
wfd_d_assgmtdets wfd_d_assgmtdets from

Annotations (6)

NameValueLevelField
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Work Assignment details view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY WorkforceAssignment workforce_assgmt_id WorkForce Assgmt ID
KEY WorkforceAssgmtStartDate start_date Valn start date
WorkforceAssgmtEndDate end_date Valn End date
WorkforceAssignmentStatus employment_status Employment Status
EmploymentPercent employment_percent Emplymt Percentage
CompanyCode company_code Company Code
CostCenter cost_center Posted Cost Center
ControllingArea controlling_area CO Area
WeeklyWorkingHours weekly_working_hours Working Hours
WeeklyWorkingDays weekly_working_days Working Days
WorkforcePersonJobTitle job_title Job Title
WorkforcePersonJobCode job_code Job Code
ManagerAssignmentID manager_work_assgmt Manager Assgmt ID
Country2DigitISOCode country Venue: Ctry/Reg
ManagerAssignmentExternalID manager_work_assignment_ext_id Manager External ID
WorkforceAssignmentIsPrimary 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 I_WorkAssignmentDetails.
-- 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_WorkAssignmentDetails AS
SELECT
  workforce_assgmt_id AS WorkforceAssignment,
  start_date AS WorkforceAssgmtStartDate,
  end_date AS WorkforceAssgmtEndDate,
  employment_status AS WorkforceAssignmentStatus,
  employment_percent AS EmploymentPercent,
  company_code AS CompanyCode,
  cost_center AS CostCenter,
  controlling_area AS ControllingArea,
  weekly_working_hours AS WeeklyWorkingHours,
  weekly_working_days AS WeeklyWorkingDays,
  job_title AS WorkforcePersonJobTitle,
  job_code AS WorkforcePersonJobCode,
  manager_work_assgmt AS ManagerAssignmentID,
  country AS Country2DigitISOCode,
  manager_work_assignment_ext_id AS ManagerAssignmentExternalID,
  main_employment_indicator AS WorkforceAssignmentIsPrimary
FROM wfd_d_assgmtdets
;