SEPM_I_Employee
EPM Demo: Employee
SEPM_I_Employee is a CDS View of category Dimension that provides data about "EPM Demo: Employee" in SAP S/4HANA. It reads from 1 data source (snwd_employees) and exposes 27 fields with key field EmployeeUUID. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_employees | snwd_employees | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | SEPM_I_Company | _Company | $projection.CompanyUUID = _Company.CompanyUUID |
| [0..1] | SEPM_I_GenderCode | _GenderCode | $projection.GenderCode = _GenderCode.GenderCode |
| [0..1] | SEPM_I_Language | _PreferredLanguage | $projection.PreferredLanguage = _PreferredLanguage.Language |
| [0..1] | SEPM_I_Address | _HomeAddress | $projection.HomeAddressUUID = _HomeAddress.AddressUUID |
| [0..1] | SEPM_I_Currency | _SalaryCurrency | $projection.SalaryCurrency = _SalaryCurrency.Currency |
| [0..*] | SEPM_I_LeaveRequest | _LeaveRequest | $projection.EmployeeUUID = _LeaveRequest.EmployeeUUID |
| [0..*] | SEPM_I_EmployeeOrgAssignment | _EmployeeOrgAssignment | $projection.EmployeeUUID = _EmployeeOrgAssignment.EmployeeUUID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | EPM Demo: Employee | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | EmployeeUUID | view | |
| AbapCatalog.sqlViewName | SEPM_IEMPLOYEE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EmployeeUUID | snwd_employees | node_key | Tree Model: Node Key |
| CompanyUUID | snwd_employees | parent_key | UUID | |
| Employee | snwd_employees | employee_id | Personnel No. | |
| FirstName | snwd_employees | first_name | Name | |
| MiddleName | snwd_employees | middle_name | Patronymic | |
| LastName | snwd_employees | last_name | Name | |
| Initials | snwd_employees | initials | Initials | |
| GenderCode | sex | Sex-Specific | ||
| PreferredLanguage | snwd_employees | language | Report Text Language | |
| EmployeePictureURL | snwd_employees | employee_pic_url | Pic URI | |
| PhoneNumber | phone_number | Phone | ||
| EmailAddress | snwd_employees | email_address | Email Address | |
| SystemUser | snwd_employees | login_name | User Name | |
| pr_address_guidasHomeAddressUUID | ||||
| FullName | ||||
| EmploymentStartDate | snwd_employees | val_start_date | Validity Start Date | |
| EmploymentEndDate | snwd_employees | val_end_date | Validity End Date | |
| SalaryCurrency | currency | Valuation Crcy | ||
| SalaryAmount | snwd_employees | salary_amount | Salary | |
| MobilePhoneNumber | snwd_employees | mobile_number | Mobile Phone Number | |
| _Company | _Company | |||
| _GenderCode | _GenderCode | |||
| _PreferredLanguage | _PreferredLanguage | |||
| _HomeAddress | _HomeAddress | |||
| _SalaryCurrency | _SalaryCurrency | |||
| _LeaveRequest | _LeaveRequest | |||
| _EmployeeOrgAssignment | _EmployeeOrgAssignment |
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 SEPM_I_Employee.
-- 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: SEPM_IEMPLOYEE
CREATE VIEW SEPM_I_Employee AS
SELECT
snwd_employees.node_key AS EmployeeUUID,
snwd_employees.parent_key AS CompanyUUID,
snwd_employees.employee_id AS Employee,
snwd_employees.first_name AS FirstName,
snwd_employees.middle_name AS MiddleName,
snwd_employees.last_name AS LastName,
snwd_employees.initials AS Initials,
sex AS GenderCode,
snwd_employees.language AS PreferredLanguage,
snwd_employees.employee_pic_url AS EmployeePictureURL,
phone_number AS PhoneNumber,
snwd_employees.email_address AS EmailAddress,
snwd_employees.login_name AS SystemUser,
cast( concat_with_space( snwd_employees.first_name , snwd_employees.last_name, 1 ) as sepm_full_name preserving type ) AS FullName,
snwd_employees.val_start_date AS EmploymentStartDate,
snwd_employees.val_end_date AS EmploymentEndDate,
currency AS SalaryCurrency,
snwd_employees.salary_amount AS SalaryAmount,
snwd_employees.mobile_number AS MobilePhoneNumber
FROM snwd_employees
LEFT OUTER JOIN SEPM_I_Company AS _Company ON CompanyUUID = _Company.CompanyUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_GenderCode AS _GenderCode ON GenderCode = _GenderCode.GenderCode -- association [0..1]
LEFT OUTER JOIN SEPM_I_Language AS _PreferredLanguage ON PreferredLanguage = _PreferredLanguage.Language -- association [0..1]
LEFT OUTER JOIN SEPM_I_Address AS _HomeAddress ON HomeAddressUUID = _HomeAddress.AddressUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_Currency AS _SalaryCurrency ON SalaryCurrency = _SalaryCurrency.Currency -- association [0..1]
LEFT OUTER JOIN SEPM_I_LeaveRequest AS _LeaveRequest ON EmployeeUUID = _LeaveRequest.EmployeeUUID -- association [0..*]
LEFT OUTER JOIN SEPM_I_EmployeeOrgAssignment AS _EmployeeOrgAssignment ON EmployeeUUID = _EmployeeOrgAssignment.EmployeeUUID -- association [0..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA