I_WorkforceAssignment_1

DDL: I_WORKFORCEASSIGNMENT_1 Type: view_entity BASIC Package: VDM_WFD_WORK_FORCE

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)

SourceAliasJoin Type
wfd_d_assgmt Assgmt from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_WorkAssignmentDetail_1 _Details $projection.WorkforceAssignment = _Details.WorkforceAssignment
[1] E_WorkforceAssignment _Extension $projection.WorkforceAssignment = _Extension.WorkforceAssignment

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
}