C_HCMProcAffcdObjQuickVw

DDL: C_HCMPROCAFFCDOBJQUICKVW Type: view CONSUMPTION

HCM Process Affected Object

C_HCMProcAffcdObjQuickVw is a Consumption CDS View that provides data about "HCM Process Affected Object" in SAP S/4HANA. It reads from 1 data source (I_HCMProcessAffectedObject) and exposes 20 fields with key fields HCMObjectType, HCMProcessAffectedObject. It has 3 associations to related views. It is exposed through 1 OData service (UI_HCMPROCESS). It is used in 1 Fiori application: HCM Processes (S/4HANA).

Data Sources (1)

SourceAliasJoin Type
I_HCMProcessAffectedObject I_HCMProcessAffectedObject from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_HCMObjectType _HCMObjectType $projection.HCMObjectType = _HCMObjectType.HCMObjectType
[0..*] I_HCMOrganizationalUnit _HCMOrganizationalUnit $projection.HCMOrganizationalUnit = _HCMOrganizationalUnit.HCMOrganizationalUnit
[0..1] I_HCMPositionVH _HCMPosition $projection.HCMPosition = _HCMPosition.HCMPosition and _HCMPosition.HCMObjectType = 'S'

Annotations (12)

NameValueLevelField
EndUserText.label HCM Process Affected Object view
AbapCatalog.sqlViewName CPROCAFFCDOBJQV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey HCMProcessAffectedObject view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
UI_HCMPROCESS UI_HCMPROCESS V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F6686 HCM Processes (S/4HANA) Analytical Analytical app that allows Manager or Time Administrator to drill down on activities by various dimensions

HCM Processes (S/4HANA)

Business Role: Others

With this app, you as an authorized user can view all the Human Resources (HR) processes within your area of responsibility. You can also analyze the HR processes based on different KPIs such as time to complete the processes, average processing time, average retention time and average execution time.

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY HCMObjectType HCMObjectType
KEY HCMProcessAffectedObject HCMProcessAffectedObject
HCMProcessAffectedObjectName
HCMJobTitle
HCMPositionName
HCMOrganizationalUnitName
HCMEmployeeName
HCMOrganizationalUnit HCMOrganizationalUnit
OrganizationalUnitName
HCMPosition HCMPosition
PositionName
HCMEmployeeEmailAddress HCMEmployeeEmailAddress Email
HCMEmployeeWorkPhoneNumber HCMEmployeeWorkPhoneNumber Work Phone
UICT_EmployeeIsHidden
UICT_OrgIsHidden
UICT_PositionIsHidden
UICT_JobIsHidden
_HCMObjectType _HCMObjectType
_HCMOrganizationalUnit _HCMOrganizationalUnit
_HCMPosition _HCMPosition
@EndUserText.label: 'HCM Process Affected Object'
@AbapCatalog: { sqlViewName: 'CPROCAFFCDOBJQV',
                compiler.compareFilter: true,
                preserveKey: true }
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ClientHandling.algorithm: #SESSION_VARIABLE
//@Consumption.filter.businessDate.at: true

@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { representativeKey: 'HCMProcessAffectedObject',
                usageType.sizeCategory: #L,
                usageType.dataClass:  #MASTER,
                usageType.serviceQuality: #C }
@VDM.viewType: #CONSUMPTION

define view C_HCMProcAffcdObjQuickVw
  as select from I_HCMProcessAffectedObject
  association [0..1] to I_HCMObjectType         as _HCMObjectType         on  $projection.HCMObjectType = _HCMObjectType.HCMObjectType
  association [0..*] to I_HCMOrganizationalUnit as _HCMOrganizationalUnit on  $projection.HCMOrganizationalUnit = _HCMOrganizationalUnit.HCMOrganizationalUnit
  association [0..1] to I_HCMPositionVH         as _HCMPosition           on  $projection.HCMPosition    = _HCMPosition.HCMPosition
                                                                          and _HCMPosition.HCMObjectType = 'S'

{
      @UI.facet: [ {
              purpose:    #QUICK_VIEW,
              type:       #FIELDGROUP_REFERENCE,
              targetQualifier: 'AdditionalDetailsQV',
              label: 'Additional Details'
            }
          ]

      @ObjectModel.foreignKey.association: '_HCMObjectType'
  key HCMObjectType,
  key HCMProcessAffectedObject,
      //      @Semantics.businessDate.to: true

      //      @Consumption.hidden: true

      //  key EndDate,

      //      @Semantics.businessDate.from: true

      //      @Consumption.hidden: true

      //      StartDate,

      cast(HCMProcessAffectedObjectName as abap.char(30))                                                                                                as HCMProcessAffectedObjectName,
      @UI.fieldGroup: [{ qualifier:'AdditionalDetailsQV', position: 05, hidden: #(UICT_JobIsHidden) }]
      cast(case HCMObjectType when 'C' then HCMProcessAffectedObjectName else '' end as stltx)                                                           as HCMJobTitle,
      @UI.fieldGroup: [{ qualifier:'AdditionalDetailsQV', position: 05, hidden: #(UICT_PositionIsHidden) }]
      cast(case HCMObjectType when 'S' then HCMProcessAffectedObjectName else '' end as plstx)                                                           as HCMPositionName,
      @UI.fieldGroup: [{ qualifier:'AdditionalDetailsQV', position: 05, hidden: #(UICT_OrgIsHidden) }]
      cast(case HCMObjectType when 'O' then HCMProcessAffectedObjectName else '' end as orgtx)                                                           as HCMOrganizationalUnitName,
      @UI.fieldGroup: [{ qualifier:'AdditionalDetailsQV', position: 05, label: 'Employee Name', hidden: #(UICT_EmployeeIsHidden) }]
      cast(case HCMObjectType when 'P' then HCMProcessAffectedObjectName else '' end as emnam)                                                           as HCMEmployeeName,
      HCMOrganizationalUnit,
      @UI.fieldGroup: [{ qualifier:'AdditionalDetailsQV', position: 10, label: 'Organizational Unit', hidden: #(UICT_EmployeeIsHidden) }]
      concat(concat(concat(_HCMOrganizationalUnit._Text[1:Language=$session.system_language].HCMOrganizationalUnitName,' ('),HCMOrganizationalUnit),')') as OrganizationalUnitName,
      HCMPosition,
      @UI.fieldGroup: [{ qualifier:'AdditionalDetailsQV', position: 15, label: 'Position', hidden: #(UICT_EmployeeIsHidden) }]
      concat(concat(concat(_HCMPosition._Text[1:Language=$session.system_language].HCMPositionName,' ('),HCMPosition),')')                               as PositionName,
      @UI.fieldGroup: [{ qualifier:'AdditionalDetailsQV', position: 20, hidden: #(UICT_EmployeeIsHidden) }]
      @EndUserText.label: 'Email' // To be removed after casting to appropriate data element

      @Semantics.eMail.address: true
      HCMEmployeeEmailAddress,
      @UI.fieldGroup: [{ qualifier:'AdditionalDetailsQV', position: 25, hidden: #(UICT_EmployeeIsHidden) }]
      @EndUserText.label: 'Work Phone' // To be removed after casting to appropriate data element

      @Semantics.telephone.type: [#WORK, #PREF]
      HCMEmployeeWorkPhoneNumber,
      @UI.hidden: true
      @Semantics.booleanIndicator: true
      cast(case HCMObjectType when 'P' then ' ' else 'X' end as boolean)                                                                                 as UICT_EmployeeIsHidden,
      @UI.hidden: true
      @Semantics.booleanIndicator: true
      cast(case HCMObjectType when 'O' then ' ' else 'X' end as boolean)                                                                                 as UICT_OrgIsHidden,
      @UI.hidden: true
      @Semantics.booleanIndicator: true
      cast(case HCMObjectType when 'S' then ' ' else 'X' end as boolean)                                                                                 as UICT_PositionIsHidden,
      @UI.hidden: true
      @Semantics.booleanIndicator: true
      cast(case HCMObjectType when 'C' then ' ' else 'X' end as boolean)                                                                                 as UICT_JobIsHidden,

      /* Associations */
      @ObjectModel.sort.enabled: false
      @ObjectModel.filter.enabled: false
      _HCMObjectType,
      @Consumption.filter.businessDate.at: true
      @ObjectModel.sort.enabled: false
      @ObjectModel.filter.enabled: false
      _HCMOrganizationalUnit,
      @ObjectModel.sort.enabled: false
      @ObjectModel.filter.enabled: false
      _HCMPosition

}
where
      StartDate <= $session.system_date
  and EndDate   >= $session.system_date