P_WorkforcePersonInitialAssgmt

DDL: P_WORKFORCEPERSONINITIALASSGMT Type: view_entity COMPOSITE

Initial Assignment of WorkforcePerson

P_WorkforcePersonInitialAssgmt is a Composite CDS View that provides data about "Initial Assignment of WorkforcePerson" in SAP S/4HANA. It reads from 1 data source (I_WorkAssignmentKeyMapping) and exposes 2 fields.

Data Sources (1)

SourceAliasJoin Type
I_WorkAssignmentKeyMapping keymap from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
EndUserText.label Initial Assignment of WorkforcePerson view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (2)

KeyFieldSource TableSource FieldDescription
WorkforcePersonExternalID I_WorkAssignmentKeyMapping WorkforcePersonExternalID
WorkAssignment
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@VDM.private: true
@EndUserText.label: 'Initial Assignment of WorkforcePerson'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #A,
  sizeCategory: #L,
  dataClass: #MASTER
}
define view entity P_WorkforcePersonInitialAssgmt as select from I_WorkAssignmentKeyMapping as keymap
{
  keymap.WorkforcePersonExternalID as WorkforcePersonExternalID,
  cast(min(keymap.WorkAssignment) as wfd_workforce_assgmt preserving type ) as WorkAssignment
}
where keymap.IsBlocked = ' ' and keymap.WorkforcePersonExternalID <> ' '
group by WorkforcePersonExternalID