R_WorkAssignmentKeyMap

DDL: R_WORKASSIGNMENTKEYMAP Type: view_entity BASIC Package: ODATA_CA_BUM_WF

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. Part of development package ODATA_CA_BUM_WF.

Data Sources (1)

SourceAliasJoin Type
wfd_d_keymap wfd_d_keymap from

Annotations (8)

NameValueLevelField
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 #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY WorkforceAssignment workforce_assgmt_id WorkForce Assgmt ID
WorkforcePersonID worker_id Worker ID
BusinessPartner business_partner_id Busn. Partner
WorkforcePersonUserID user_id User Scope
WorkAssignmentExternalID User Scope
WorkforcePersonExternalID person_id_external External Person ID
WorkAssignmentDataSource data_source Data Source
WorkforceBPModelType bp_model_type Workforceperson BP Model type
CentralPerson central_person WorkForce Master ID
IsBlocked block_ind BlockingInd.

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view R_WorkAssignmentKeyMap.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW R_WorkAssignmentKeyMap AS
SELECT
  workforce_assgmt_id AS WorkforceAssignment,
  worker_id AS WorkforcePersonID,
  business_partner_id AS BusinessPartner,
  user_id AS WorkforcePersonUserID,
  cast(user_id as wfd_assgmt_ext_id preserving type) AS WorkAssignmentExternalID,
  person_id_external AS WorkforcePersonExternalID,
  data_source AS WorkAssignmentDataSource,
  bp_model_type AS WorkforceBPModelType,
  central_person AS CentralPerson,
  block_ind AS IsBlocked
FROM wfd_d_keymap
;