P_EmployeeValidity
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)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkAssignmentKeyMapping | I_WorkAssignmentKeyMapping | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | BusinessPartner | ||
| StartDate | ||||
| EndDate |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType:#COMPOSITE
@VDM.private: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
define view entity P_EmployeeValidity as select from I_WorkAssignmentKeyMapping
{
key BusinessPartner as BusinessPartner, //BusinessPartner,
min(WorkAssignmentStartDate) as StartDate,
max(WorkAssignmentEndDate) as EndDate
}
group by BusinessPartner
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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