I_WorkforceAssignment_1
Work Assignment for Worker
I_WorkforceAssignment_1 is a Basic CDS View that provides data about "Work Assignment for Worker" in SAP S/4HANA. It reads from 1 data source (wfd_d_assgmt) and exposes 8 fields with key field WorkforceAssignment. It has 2 associations to related views. Part of development package VDM_WFD_WORK_FORCE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| wfd_d_assgmt | Assgmt | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_WorkAssignmentDetail_1 | _Details | $projection.WorkforceAssignment = _Details.WorkforceAssignment |
| [1] | E_WorkforceAssignment | _Extension | $projection.WorkforceAssignment = _Extension.WorkforceAssignment |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Work Assignment for Worker | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | WorkforceAssignment | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| Metadata.allowExtensions | true | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkforceAssignment | wfd_d_assgmt | workforce_assgmt_id | |
| WorkforceAssgmtStartDate | start_date | |||
| WorkforceAssgmtEndDate | end_date | |||
| BusinessPartner | business_partner_id | |||
| WorkforceAssignmentExternalID | ext_workforce_assgmt_uuid | |||
| IsContingentWorker | is_contingent_worker | |||
| IsBlocked | block_ind | |||
| _Details | _Details |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Work Assignment for Worker'
@Metadata.ignorePropagatedAnnotations: true
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@ObjectModel: {
compositionRoot: true,
representativeKey: 'WorkforceAssignment',
semanticKey: ['WorkforceAssignment'],
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #M
}
}
@Metadata.allowExtensions:true
//............................................................................................................................
// This CDS view is meant for private consumption in Worker Overview ONLY ---- Do not use it for for other applications
//............................................................................................................................
define view entity I_WorkforceAssignment_1
as select from wfd_d_assgmt as Assgmt
association [0..*] to I_WorkAssignmentDetail_1 as _Details on $projection.WorkforceAssignment = _Details.WorkforceAssignment
association [1] to E_WorkforceAssignment as _Extension on $projection.WorkforceAssignment = _Extension.WorkforceAssignment
{
key Assgmt.workforce_assgmt_id as WorkforceAssignment,
start_date as WorkforceAssgmtStartDate,
end_date as WorkforceAssgmtEndDate,
business_partner_id as BusinessPartner,
ext_workforce_assgmt_uuid as WorkforceAssignmentExternalID,
is_contingent_worker as IsContingentWorker,
block_ind as IsBlocked,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_Details
}
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