I_HCMProfileRoot
My Profile Root
I_HCMProfileRoot is a Transactional CDS View that provides data about "My Profile Root" in SAP S/4HANA. It reads from 1 data source (I_HCMEmployee) and exposes 63 fields with key field HCMPersonnelNumber. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_HCMEmployee | _Employee | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_HCM_ESSPersonalDataTP | _ESSPersonalData | _ESSPersonalData.HCMPersonnelNumber = $projection.HCMPersonnelNumber and _ESSPersonalData.StartDate <= $session.system_date and _ESSPersonalData.EndDate >= $session.system_date and _ESSPersonalData.HCMRecordIsLocked = ' ' |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | My Profile Root | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (63)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | HCMPersonnelNumber | I_HCMEmployee | HCMPersonnelNumber | Personnel No. |
| HCMEmployeeName | I_HCMEmployee | HCMEmployeeName | Empl./appl.name | |
| CompanyCode | I_HCMEmployee | CompanyCode | Receiver Company Code | |
| HCMPersonnelArea | I_HCMEmployee | HCMPersonnelArea | Personnel area | |
| HCMPersonnelSubarea | I_HCMEmployee | HCMPersonnelSubarea | Pers. subarea | |
| HCMEmployeeGroup | I_HCMEmployee | HCMEmployeeGroup | EE group | |
| HCMEmployeeSubgroup | I_HCMEmployee | HCMEmployeeSubgroup | EE subgroup | |
| ControllingArea | I_HCMEmployee | ControllingArea | Controlling Area | |
| CostCenter | I_HCMEmployee | CostCenter | Cost Center | |
| HCMOrganizationalUnit | I_HCMEmployee | HCMOrganizationalUnit | Org. Unit | |
| HCMPosition | I_HCMEmployee | HCMPosition | ||
| HCMJob | I_HCMEmployee | HCMJob | ||
| HCMPayrollArea | I_HCMEmployee | HCMPayrollArea | ||
| HCMGrpgValForPersAssignments | _Contract | HCMGrpgValForPersAssignments | Grouping Value | |
| HCMEmplHasSidelineJobAllowance | _Contract | HCMEmplHasSidelineJobAllowance | ||
| HCMEmplHasCompetitionClause | _Contract | HCMEmplHasCompetitionClause | ||
| HCMContinuedPayDuration | _Contract | HCMContinuedPayDuration | ||
| HCMContinuedPayDurationUnit | _Contract | HCMContinuedPayDurationUnit | ||
| HCMContinuedPaySpecialRuleCode | _Contract | HCMContinuedPaySpecialRuleCode | ||
| HCMSickPaySupplementDuration | _Contract | HCMSickPaySupplementDuration | ||
| HCMSickPaySuplmntDurationUnit | _Contract | HCMSickPaySuplmntDurationUnit | ||
| HCMProbationPeriodDuration | _Contract | HCMProbationPeriodDuration | ||
| HCMProbationPeriodDurationUnit | _Contract | HCMProbationPeriodDurationUnit | ||
| HCMNoticePeriodForEmployerCode | _Contract | HCMNoticePeriodForEmployerCode | ||
| HCMNoticePeriodForEmployeeCode | _Contract | HCMNoticePeriodForEmployeeCode | ||
| HCMWorkPermitExpirationDate | _Contract | HCMWorkPermitExpirationDate | ||
| HCMEntryDate | _Contract | HCMEntryDate | ||
| HCMCorporationEntryDate | _Contract | HCMCorporationEntryDate | ||
| HCMCorporationCode | _Contract | HCMCorporationCode | ||
| HCMContractType | _Contract | HCMContractType | ||
| HCMContractStartDate | _Contract | HCMContractStartDate | ||
| HCMContractEndDate | _Contract | HCMContractEndDate | ||
| WeeklyWorkdays | _PlannedWorkingTime | WeeklyWorkdays | ||
| WeeklyWorkingHours | _PlannedWorkingTime | WeeklyWorkingHours | Working Hours | |
| EmploymentPercent | _PlannedWorkingTime | EmploymentPercent | Emplymt Percentage | |
| HCMEmployeeFormOfAddressKey | _ESSPersonalData | HCMEmployeeFormOfAddressKey | Form of Address | |
| HCMEmployeeFirstName | _ESSPersonalData | HCMEmployeeFirstName | First Name | |
| HCMEmployeeLastName | _ESSPersonalData | HCMEmployeeLastName | Last Name | |
| HCMEmployeeBirthDate | _ESSPersonalData | HCMEmployeeBirthDate | Date of birth | |
| HCMEmployeeCommLanguage | _ESSPersonalData | HCMEmployeeCommLanguage | Communication L | |
| HCMEmployeeNationality | _ESSPersonalData | HCMEmployeeNationality | Nationality | |
| HCMEmployeeMaritalStatus | _ESSPersonalData | HCMEmployeeMaritalStatus | Marital stat. | |
| HCMEmplCurMaritalStsValdFrmDte | _ESSPersonalData | HCMEmplCurMaritalStsValdFrmDte | Since | |
| HCMEmployeeNumberOfChildren | _ESSPersonalData | HCMEmployeeNumberOfChildren | No.of children | |
| HCMManagerPersonnelNumber | ||||
| HCMManagerName | ||||
| HCMCountryRegionGrouping | ||||
| _CompanyCode | I_HCMEmployee | _CompanyCode | ||
| _ControllingArea | I_HCMEmployee | _ControllingArea | ||
| _CostCenter | I_HCMEmployee | _CostCenter | ||
| _EmployeeOfficeAddress | I_HCMEmployee | _EmployeeOfficeAddress | ||
| _EmployeeTimeZone | I_HCMEmployee | _EmployeeTimeZone | ||
| _HCMEmployeeGroup | I_HCMEmployee | _HCMEmployeeGroup | ||
| _HCMEmployeeSubgroup | I_HCMEmployee | _HCMEmployeeSubGroup | ||
| _HCMPayrollArea | I_HCMEmployee | _HCMPayrollArea | ||
| _HCMPersonnelArea | I_HCMEmployee | _HCMPersonnelArea | ||
| _HCMPersonnelSubarea | I_HCMEmployee | _HCMPersonnelSubarea | ||
| _InternalData | I_HCMEmployee | _InternalData | ||
| _ManagerOfEmployee | I_HCMEmployee | _ManagerOfEmployee | ||
| _ContractType | _Contract | _ContractType | ||
| _NoticePeriodEmployee | _Contract | _NoticePeriodEmployee | ||
| _UnitOfMeasureProbPeriodUnit | _Contract | _UnitOfMeasureProbPeriodUnit | ||
| _ESSPersonalData | _ESSPersonalData |
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 I_HCMProfileRoot.
-- 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 I_HCMProfileRoot AS
SELECT
_Employee.HCMPersonnelNumber AS HCMPersonnelNumber,
_Employee.HCMEmployeeName AS HCMEmployeeName,
_Employee.CompanyCode AS CompanyCode,
_Employee.HCMPersonnelArea AS HCMPersonnelArea,
_Employee.HCMPersonnelSubarea AS HCMPersonnelSubarea,
_Employee.HCMEmployeeGroup AS HCMEmployeeGroup,
_Employee.HCMEmployeeSubgroup AS HCMEmployeeSubgroup,
_Employee.ControllingArea AS ControllingArea,
_Employee.CostCenter AS CostCenter,
_Employee.HCMOrganizationalUnit AS HCMOrganizationalUnit,
_Employee.HCMPosition AS HCMPosition,
_Employee.HCMJob AS HCMJob,
_Employee.HCMPayrollArea AS HCMPayrollArea,
_Contract.HCMGrpgValForPersAssignments AS HCMGrpgValForPersAssignments,
_Contract.HCMEmplHasSidelineJobAllowance AS HCMEmplHasSidelineJobAllowance,
_Contract.HCMEmplHasCompetitionClause AS HCMEmplHasCompetitionClause,
_Contract.HCMContinuedPayDuration AS HCMContinuedPayDuration,
_Contract.HCMContinuedPayDurationUnit AS HCMContinuedPayDurationUnit,
_Contract.HCMContinuedPaySpecialRuleCode AS HCMContinuedPaySpecialRuleCode,
_Contract.HCMSickPaySupplementDuration AS HCMSickPaySupplementDuration,
_Contract.HCMSickPaySuplmntDurationUnit AS HCMSickPaySuplmntDurationUnit,
_Contract.HCMProbationPeriodDuration AS HCMProbationPeriodDuration,
_Contract.HCMProbationPeriodDurationUnit AS HCMProbationPeriodDurationUnit,
_Contract.HCMNoticePeriodForEmployerCode AS HCMNoticePeriodForEmployerCode,
_Contract.HCMNoticePeriodForEmployeeCode AS HCMNoticePeriodForEmployeeCode,
_Contract.HCMWorkPermitExpirationDate AS HCMWorkPermitExpirationDate,
_Contract.HCMEntryDate AS HCMEntryDate,
_Contract.HCMCorporationEntryDate AS HCMCorporationEntryDate,
_Contract.HCMCorporationCode AS HCMCorporationCode,
_Contract.HCMContractType AS HCMContractType,
_Contract.HCMContractStartDate AS HCMContractStartDate,
_Contract.HCMContractEndDate AS HCMContractEndDate,
_PlannedWorkingTime.WeeklyWorkdays AS WeeklyWorkdays,
_PlannedWorkingTime.WeeklyWorkingHours AS WeeklyWorkingHours,
_PlannedWorkingTime.EmploymentPercent AS EmploymentPercent,
_ESSPersonalData.HCMEmployeeFormOfAddressKey AS HCMEmployeeFormOfAddressKey,
_ESSPersonalData.HCMEmployeeFirstName AS HCMEmployeeFirstName,
_ESSPersonalData.HCMEmployeeLastName AS HCMEmployeeLastName,
_ESSPersonalData.HCMEmployeeBirthDate AS HCMEmployeeBirthDate,
_ESSPersonalData.HCMEmployeeCommLanguage AS HCMEmployeeCommLanguage,
_ESSPersonalData.HCMEmployeeNationality AS HCMEmployeeNationality,
_ESSPersonalData.HCMEmployeeMaritalStatus AS HCMEmployeeMaritalStatus,
_ESSPersonalData.HCMEmplCurMaritalStsValdFrmDte AS HCMEmplCurMaritalStsValdFrmDte,
_ESSPersonalData.HCMEmployeeNumberOfChildren AS HCMEmployeeNumberOfChildren,
_Employee._ManagerOfEmployee.HCMManagerPersonnelNumber AS HCMManagerPersonnelNumber,
_Employee._ManagerOfEmployee._Manager.HCMEmployeeName AS HCMManagerName,
_Employee._HCMPersonnelArea.HCMCountryRegionGrouping AS HCMCountryRegionGrouping,
_Employee._CompanyCode AS _CompanyCode,
_Employee._ControllingArea AS _ControllingArea,
_Employee._CostCenter AS _CostCenter,
_Employee._EmployeeOfficeAddress AS _EmployeeOfficeAddress,
_Employee._EmployeeTimeZone AS _EmployeeTimeZone,
_Employee._HCMEmployeeGroup AS _HCMEmployeeGroup,
_Employee._HCMEmployeeSubGroup AS _HCMEmployeeSubgroup,
_Employee._HCMPayrollArea AS _HCMPayrollArea,
_Employee._HCMPersonnelArea AS _HCMPersonnelArea,
_Employee._HCMPersonnelSubarea AS _HCMPersonnelSubarea,
_Employee._InternalData AS _InternalData,
_Employee._ManagerOfEmployee AS _ManagerOfEmployee,
_Contract._ContractType AS _ContractType,
_Contract._NoticePeriodEmployee AS _NoticePeriodEmployee,
_Contract._UnitOfMeasureProbPeriodUnit AS _UnitOfMeasureProbPeriodUnit
FROM I_HCMEmployee AS _Employee
LEFT OUTER JOIN I_HCM_ESSPersonalDataTP AS _ESSPersonalData ON _ESSPersonalData.HCMPersonnelNumber = HCMPersonnelNumber AND _ESSPersonalData.StartDate <= $session.system_date AND _ESSPersonalData.EndDate >= $session.system_date AND _ESSPersonalData.HCMRecordIsLocked = ' ' -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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