P_Employeekeymapping

DDL: P_EMPLOYEEKEYMAPPING SQL: PEMPKEYMAPPING Type: view BASIC Package: VDM_SHCM_EMPLOYEE

Employee Key Mapping

P_Employeekeymapping is a Basic CDS View that provides data about "Employee Key Mapping" in SAP S/4HANA. It reads from 2 data sources (I_Employee, /shcm/d_ee_key) and exposes 4 fields with key field PersonnelNumber. Part of development package VDM_SHCM_EMPLOYEE.

Data Sources (2)

SourceAliasJoin Type
I_Employee Employee inner
/shcm/d_ee_key KeyMapping from

Annotations (3)

NameValueLevelField
VDM.private true view
AbapCatalog.sqlViewName PEMPKEYMAPPING view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PersonnelNumber /shcm/d_ee_key int_employee_id Object ID
EmployeeInternalID I_Employee EmployeeInternalID Busn. Partner
FullName I_Employee FullName Name
Employee /shcm/d_ee_key source_employee_id Ext Employee

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_Employeekeymapping.
-- 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: PEMPKEYMAPPING

CREATE VIEW P_Employeekeymapping AS
SELECT
  KeyMapping.int_employee_id AS PersonnelNumber,
  Employee.EmployeeInternalID AS EmployeeInternalID,
  Employee.FullName AS FullName,
  KeyMapping.source_employee_id AS Employee
FROM /shcm/d_ee_key AS KeyMapping
INNER JOIN I_Employee AS Employee ON /* join condition not captured in parsed metadata */
;