P_WorkforceKeyMapUser

DDL: P_WORKFORCEKEYMAPUSER SQL: PWRKFRCKEYMAPUS Type: view BASIC Package: WFD_BL_PERSISTENCE

Converting User ID field from keymap table to upper case

P_WorkforceKeyMapUser is a Basic CDS View that provides data about "Converting User ID field from keymap table to upper case" in SAP S/4HANA. It reads from 1 data source (wfd_d_keymap) and exposes 5 fields with key field WorkforceAssignmentID. Part of development package WFD_BL_PERSISTENCE.

Data Sources (1)

SourceAliasJoin Type
wfd_d_keymap wfd_d_keymap from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PWRKFRCKEYMAPUS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY WorkforceAssignmentID workforce_assgmt_id WorkForce Assgmt ID
WorkerId worker_id Worker ID
UserID
PersonExternalID person_id_external External Person ID
U_PersonExtId

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 P_WorkforceKeyMapUser.
-- 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.
-- SQL view name: PWRKFRCKEYMAPUS

CREATE VIEW P_WorkforceKeyMapUser AS
SELECT
  workforce_assgmt_id AS WorkforceAssignmentID,
  worker_id AS WorkerId,
  upper( user_id ) AS UserID,
  person_id_external AS PersonExternalID,
  upper( person_id_external ) AS U_PersonExtId
FROM wfd_d_keymap
;