R_WorkAssignmentKeyMap
Work Assignment Key Map
R_WorkAssignmentKeyMap is a Basic CDS View that provides data about "Work Assignment Key Map" in SAP S/4HANA. It reads from 1 data source (wfd_d_keymap) and exposes 10 fields with key field WorkforceAssignment.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| wfd_d_keymap | wfd_d_keymap | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Work Assignment Key Map | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkforceAssignment | workforce_assgmt_id | ||
| WorkforcePersonID | worker_id | |||
| BusinessPartner | business_partner_id | |||
| WorkforcePersonUserID | user_id | |||
| WorkAssignmentExternalID | work_assignment_ext_id | |||
| WorkforcePersonExternalID | person_id_external | |||
| WorkAssignmentDataSource | data_source | |||
| WorkforceBPModelType | bp_model_type | |||
| CentralPerson | central_person | |||
| IsBlocked | block_ind |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Work Assignment Key Map'
@Metadata.ignorePropagatedAnnotations: true
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #XL,
dataClass: #MASTER
}
define view entity R_WorkAssignmentKeyMap
as select from wfd_d_keymap
{
key workforce_assgmt_id as WorkforceAssignment,
worker_id as WorkforcePersonID,
business_partner_id as BusinessPartner,
user_id as WorkforcePersonUserID,
work_assignment_ext_id as WorkAssignmentExternalID,
person_id_external as WorkforcePersonExternalID,
data_source as WorkAssignmentDataSource,
bp_model_type as WorkforceBPModelType,
central_person as CentralPerson,
block_ind as IsBlocked
}
//where
// block_ind = ' ' to be taken to DDL
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"WFD_D_KEYMAP"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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