C_HCMEmployeeQuickView

DDL: C_HCMEMPLOYEEQUICKVIEW Type: view_entity CONSUMPTION

HCM Employee

C_HCMEmployeeQuickView is a Consumption CDS View that provides data about "HCM Employee" in SAP S/4HANA. It reads from 1 data source (I_HCMEmployee) and exposes 15 fields with key field HCMPersonnelNumber. It is exposed through 6 OData services (UI_HCMACTUALACTIVITIES, UI_HCMACTUALACTIVITIES_EMP, UI_HCMAPPROVETIMESHEET, ...). It is used in 3 Fiori applications: Approve Timesheets (S/4HANA / Version 4), Timesheet Analytics - Activities (S/4HANA), Timesheet Analytics - My Activities (S/4HANA).

Data Sources (1)

SourceAliasJoin Type
I_HCMEmployee I_HCMEmployee projection

Annotations (9)

NameValueLevelField
EndUserText.label HCM Employee view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey HCMPersonnelNumber view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #CONSUMPTION view

OData Services (6)

ServiceBindingVersionContractRelease
UI_HCMACTUALACTIVITIES UI_HCMACTUALACTIVITIES V2 C1 NOT_RELEASED
UI_HCMACTUALACTIVITIES_EMP UI_HCMACTUALACTIVITIES_EMP V2 C1 NOT_RELEASED
UI_HCMAPPROVETIMESHEET UI_HCMAPPROVETIMESHEET V2 C1 NOT_RELEASED
UI_HCMCOMPLIANCE UI_HCMCOMPLIANCE_V2 V2 C1 NOT_RELEASED
UI_HCMCOMPLIANCE_EMP UI_HCMCOMPLIANCE_EMP_V2 V2 C1 NOT_RELEASED
UI_HCMEMPLOYEEPUBLICPROFILE UI_HCMEMPLOYEEPUBLICPROFILE V4 C1 NOT_RELEASED

Fiori Apps (3)

App IDApp NameTypeDescription
F2585A Approve Timesheets (S/4HANA / Version 4) Analytical With this app, you as a manager can quickly view all pending approvals of your direct reports and approve timesheets using desktop or mobile devices.
F6687 Timesheet Analytics - Activities (S/4HANA) Analytical Analytical app that allows Manager or Time Administrator to drill down on activities by various dimensions
F7189 Timesheet Analytics - My Activities (S/4HANA) Analytical Analytical app that allows Employee to drill down on activities by various dimensions

Approve Timesheets (S/4HANA / Version 4)

Business Role: Manager - HR Info

With this app, you as a manager can quickly view all pending approvals of your direct reports and approve timesheets using desktop, tablet or mobile devices. This app provides the following key features: Review timesheets for all your employees and view time entry compliance at a glance. View all time entries pending approval or that have already been approved. Filter time entries based on a date range, on specific attributes, or per employee. View designation and contact information of each employee. Approve or reject records by week.

Timesheet Analytics - Activities (S/4HANA)

Business Role: Manager - HR Info

With this feature, you as an authorized user can view all timesheet records within your area of responsibility. You can also analyze the timesheet records based on different attributes such as attendance or absence type, cost center, project, network or controlling area, for example.

Timesheet Analytics - My Activities (S/4HANA)

Business Role: Employee - HR Info

With this feature, you as an employee can view all of your timesheet records. You can also analyze the timesheet records based on different attributes such as attendance or absence type, cost center, project, network or controlling area, for example.

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY HCMPersonnelNumber HCMPersonnelNumber
HCMEmployeeName HCMEmployeeName
HCMJob HCMJob
virtualHCMJobTitlestext
HCMEmployeeWorkEmailAddress _WorkEmailAddress HCMEmployeeWorkEmailAddress
virtualHCMEmployeeWorkMobilead_telnrlg
HCMBuilding _EmployeeOfficeAddress HCMBuilding
HCMRoomNumber _EmployeeOfficeAddress HCMRoomNumber
string
virtualHCMManagerPersonnelNumberpernr_d
virtualHCMManagerNameemnam
HCMEmployeeLocalTime _EmployeeTimeZone HCMEmployeeLocalTime
TimeZoneID _EmployeeTimeZone TimeZoneID
TimeZoneTextlocalized
virtualMimeTypew3conttype
@EndUserText.label: 'HCM Employee'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { representativeKey: 'HCMPersonnelNumber',
                usageType: { sizeCategory: #L,
                             dataClass:  #MASTER,
                             serviceQuality: #C }
                }
@VDM.viewType: #CONSUMPTION

define root view entity C_HCMEmployeeQuickView
  provider contract transactional_query
  as projection on I_HCMEmployee
{
           @Semantics.contact.type: #PERSON 
           @ObjectModel.text.element: [ 'HCMEmployeeName' ]
  key      HCMPersonnelNumber,

           @Semantics.text: true
           HCMEmployeeName,

           @ObjectModel.text.element: [ 'HCMJobTitle' ]
           HCMJob,

           @Semantics.text: true
           @ObjectModel: {
              virtualElement: true,
              virtualElementCalculatedBy: 'ABAP:CL_HRFIO_EMPLOYEE_DATA_CALC'
           }
  virtual  HCMJobTitle                    : stext,

           @Semantics.eMail: { address: true,
                               type: [#WORK] }

           _WorkEmailAddress.HCMEmployeeWorkEmailAddress,

           @Semantics.telephone.type: [#CELL, #PREF]
           @ObjectModel: {
              virtualElement: true,
              virtualElementCalculatedBy: 'ABAP:CL_HRFIO_EMPLOYEE_DATA_CALC'
           }
  virtual  HCMEmployeeWorkMobile          : ad_telnrlg,

           @Semantics.telephone.type: [#WORK, #PREF]
           @ObjectModel: {
              virtualElement: true,
              virtualElementCalculatedBy: 'ABAP:CL_HRFIO_EMPLOYEE_DATA_CALC'
           }
  virtual  HCMEmployeeWorkPhoneNumber     : comm_id_long,

           _EmployeeOfficeAddress.HCMBuilding,

           _EmployeeOfficeAddress.HCMRoomNumber,

           @ObjectModel: {
              virtualElement: true,
              virtualElementCalculatedBy: 'ABAP:CL_HRFIO_EMPLOYEE_DATA_CALC'
           }
  virtual  HCMEmployeeOfficeAddressString : abap.string,

           @ObjectModel: {
               virtualElement: true,
               virtualElementCalculatedBy: 'ABAP:CL_HRFIO_EMPLOYEE_DATA_CALC',
               text.element: [ 'HCMManagerName' ]
           }
  virtual  HCMManagerPersonnelNumber      : pernr_d,

           @ObjectModel: {
              virtualElement: true,
              virtualElementCalculatedBy: 'ABAP:CL_HRFIO_EMPLOYEE_DATA_CALC'
           }
           @Semantics.text: true
  virtual  HCMManagerName                 : emnam,

           _EmployeeTimeZone.HCMEmployeeLocalTime,

           @ObjectModel.text.element: [ 'TimeZoneText' ]
           _EmployeeTimeZone.TimeZoneID,

           @Semantics.text: true
           _EmployeeTimeZone._TimeZone._TimeZoneText.TimeZoneText : localized,

           @Semantics: { contact.photo: true,
                         largeObject: { mimeType: 'MimeType',   //case-sensitive

                                        contentDispositionPreference: #INLINE }
           }
           @ObjectModel: {
              virtualElement: true,
              virtualElementCalculatedBy: 'ABAP:CL_HRFIO_EMPLOYEE_DATA_CALC'
           }
  virtual  HCMPictureContentBin           : hrfio_rawstring,

           @ObjectModel: {
              virtualElement: true,
              virtualElementCalculatedBy: 'ABAP:CL_HRFIO_EMPLOYEE_DATA_CALC'
           }
           @Semantics.mimeType: true
  virtual  MimeType                       : w3conttype

}