P_EmployeeValidity

DDL: P_EMPLOYEEVALIDITY Type: view_entity COMPOSITE Package: VDM_SHCM_EMPLOYEE

Employee Validity

P_EmployeeValidity is a Composite CDS View that provides data about "Employee Validity" in SAP S/4HANA. It reads from 1 data source (I_WorkAssignmentKeyMapping) and exposes 3 fields with key field BusinessPartner. Part of development package VDM_SHCM_EMPLOYEE.

Data Sources (1)

SourceAliasJoin Type
I_WorkAssignmentKeyMapping I_WorkAssignmentKeyMapping from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner BusinessPartner Issuing Authority
StartDate
EndDate

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 P_EmployeeValidity.
-- 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 P_EmployeeValidity AS
SELECT
  BusinessPartner,
  min(WorkAssignmentStartDate) AS StartDate,
  max(WorkAssignmentEndDate) AS EndDate
FROM I_WorkAssignmentKeyMapping
;