I_WorkforceAvailabilityByUser
Workforce availability for user
I_WorkforceAvailabilityByUser is a Composite CDS View that provides data about "Workforce availability for user" in SAP S/4HANA. It reads from 1 data source (I_BusinessUserBasic) and exposes 6 fields. Part of development package VDM_TIMESHEET_CORE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BusinessUserBasic | BusinessUser | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | Workforce availability for user | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| WorkAssignmentExternalID | Workforce | WorkAssignmentExternalID | ||
| Country2DigitISOCode | Workforce | Country2DigitISOCode | ||
| CalendarDate | Availability | CalendarDate | ||
| PlannedWorkingHours | Availability | PlannedWorkingHours | ||
| AbsenceInHours | Availability | AbsenceInHours | ||
| UserID | I_BusinessUserBasic | UserID |
@AccessControl:{
authorizationCheck: #MANDATORY,
personalData.blocking:#NOT_REQUIRED
}
@VDM.viewType: #COMPOSITE
@ObjectModel: {
usageType: {
serviceQuality: #C,
sizeCategory: #XL,
dataClass: #MASTER
}
}
@EndUserText.label: 'Workforce availability for user'
@Metadata.ignorePropagatedAnnotations: true
define view entity I_WorkforceAvailabilityByUser
as select from I_BusinessUserBasic as BusinessUser
left outer to one join I_WorkAssignmentKeyMapping as Workforce on Workforce.BusinessPartner = BusinessUser.BusinessPartner
left outer to one join I_TimeOverviewByWrkAgrmtAndDte as Availability on Workforce.WorkAssignment = Availability.PersonWorkAgreement
{
Workforce.WorkAssignmentExternalID as WorkAssignmentExternalID,
Workforce.Country2DigitISOCode as Country2DigitISOCode,
Availability.CalendarDate as CalendarDate,
Availability.PlannedWorkingHours as PlannedWorkingHours,
Availability.AbsenceInHours as AbsenceInHours,
case
when Workforce.IsContingentWorker = 'X'
then cast( 'S4H_EXT' as catsvarian )
else cast( 'S4H_INT' as catsvarian )
end as TimeSheetDataEntryProfile,
BusinessUser.UserID
}
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