SEPMRA_I_Employee
Employee
SEPMRA_I_Employee is a CDS View that provides data about "Employee" in SAP S/4HANA. It reads from 1 data source (SEPM_I_Employee) and exposes 19 fields with key field Employee. It has 3 associations to related views. Part of development package S_EPMRA_COMMON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| SEPM_I_Employee | Employee | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | SEPMRA_I_EmployeeOrgAssigment | _EmployeeOrgAssignment | $projection.Employee = _EmployeeOrgAssignment.Employee |
| [0..1] | SEPMRA_I_OrgAsgmntForCurrDate | _EmployeeOrgAssignmentToday | $projection.EmployeeUUID = _EmployeeOrgAssignmentToday.EmployeeUUID |
| [0..1] | I_User | _SystemUser | $projection.SystemUser = _SystemUser.UserID |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SEPMRAIEMPLOYEE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Employee | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| UI.headerInfo.typeName | Employee | view | |
| UI.headerInfo.typeNamePlural | Employees | view | |
| UI.headerInfo.title.value | FullName | view | |
| UI.headerInfo.description.value | Employee | view | |
| UI.headerInfo.imageUrl | EmployeePictureURL | view | |
| Consumption.semanticObject | EPMEmployee | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Employee | |||
| EmployeeUUID | SEPM_I_Employee | EmployeeUUID | Tree Model: Node Key | |
| EmployeePictureURL | SEPM_I_Employee | EmployeePictureURL | Pic URI | |
| FirstName | SEPM_I_Employee | FirstName | First Name | |
| MiddleName | SEPM_I_Employee | MiddleName | Middle Name | |
| LastName | SEPM_I_Employee | LastName | Last Name | |
| FullName | SEPM_I_Employee | FullName | Name | |
| Initials | SEPM_I_Employee | Initials | Initials | |
| GenderCode | SEPM_I_Employee | GenderCode | Sex-Specific | |
| _GenderCode | SEPM_I_Employee | _GenderCode | ||
| PhoneNumber | SEPM_I_Employee | PhoneNumber | Telephone no. | |
| MobilePhoneNumber | SEPM_I_Employee | MobilePhoneNumber | Telephone | |
| EmailAddress | SEPM_I_Employee | EmailAddress | E-Mail Address | |
| SystemUser | SEPM_I_Employee | SystemUser | User Name | |
| CompanyUUID | SEPM_I_Employee | CompanyUUID | UUID | |
| _Company | SEPM_I_Employee | _Company | ||
| _EmployeeOrgAssignment | _EmployeeOrgAssignment | |||
| _EmployeeOrgAssignmentToday | _EmployeeOrgAssignmentToday | |||
| _SystemUser | _SystemUser |
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 SEPMRA_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.
CREATE VIEW SEPMRA_I_Employee AS
SELECT
cast( Employee.Employee as sepmra_employee preserving type ) AS Employee,
Employee.EmployeeUUID AS EmployeeUUID,
Employee.EmployeePictureURL AS EmployeePictureURL,
Employee.FirstName AS FirstName,
Employee.MiddleName AS MiddleName,
Employee.LastName AS LastName,
Employee.FullName AS FullName,
Employee.Initials AS Initials,
Employee.GenderCode AS GenderCode,
Employee._GenderCode AS _GenderCode,
Employee.PhoneNumber AS PhoneNumber,
Employee.MobilePhoneNumber AS MobilePhoneNumber,
Employee.EmailAddress AS EmailAddress,
Employee.SystemUser AS SystemUser,
Employee.CompanyUUID AS CompanyUUID,
Employee._Company AS _Company
FROM SEPM_I_Employee AS Employee
LEFT OUTER JOIN SEPMRA_I_EmployeeOrgAssigment AS _EmployeeOrgAssignment ON Employee = _EmployeeOrgAssignment.Employee -- association [0..*]
LEFT OUTER JOIN SEPMRA_I_OrgAsgmntForCurrDate AS _EmployeeOrgAssignmentToday ON EmployeeUUID = _EmployeeOrgAssignmentToday.EmployeeUUID -- association [0..1]
LEFT OUTER JOIN I_User AS _SystemUser ON SystemUser = _SystemUser.UserID -- association [0..1]
;
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