I_HCMPersonWorkAgreement

DDL: I_HCMPERSONWORKAGREEMENT Type: view_entity COMPOSITE

Person work agreement

I_HCMPersonWorkAgreement is a Composite CDS View that provides data about "Person work agreement" in SAP S/4HANA. It reads from 1 data source (I_HCMEmplPersNmbrsForUsr) and exposes 7 fields with key field PersonWorkAgreement.

Data Sources (1)

SourceAliasJoin Type
I_HCMEmplPersNmbrsForUsr HCMEmployeeOwnPersNumbers from

Annotations (10)

NameValueLevelField
EndUserText.label Person work agreement view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations false view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
AccessControl.auditing.type #CUSTOM view
AccessControl.auditing.specification Change Logs view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY PersonWorkAgreement I_HCMEmplPersNmbrsForUsr HCMPersonnelNumber Personnel No.
UserID I_HCMEmplPersNmbrsForUsr UserID User Name
HCMCountryRegionGrouping HCMEmplCountryRegionGrouping HCMCountryRegionGrouping HCM Local.
WorkAgreementStatus PersonnelAction HCMEmploymentStatus
HCMIsMainPersonWorkAgreement I_HCMEmplPersNmbrsForUsr HCMIsMainPersonWorkAgreement TRUE
_PersonWorkAgrmtStatusText PersonnelAction _EmploymentStatusText
_HCMCountryRegionGroup HCMEmplCountryRegionGrouping _HCMCountryRegionGroup

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_HCMPersonWorkAgreement.
-- 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_HCMPersonWorkAgreement AS
SELECT
  HCMEmployeeOwnPersNumbers.HCMPersonnelNumber AS PersonWorkAgreement,
  HCMEmployeeOwnPersNumbers.UserID AS UserID,
  HCMEmplCountryRegionGrouping.HCMCountryRegionGrouping AS HCMCountryRegionGrouping,
  PersonnelAction.HCMEmploymentStatus AS WorkAgreementStatus,
  HCMEmployeeOwnPersNumbers.HCMIsMainPersonWorkAgreement AS HCMIsMainPersonWorkAgreement,
  PersonnelAction._EmploymentStatusText AS _PersonWorkAgrmtStatusText,
  HCMEmplCountryRegionGrouping._HCMCountryRegionGroup AS _HCMCountryRegionGroup
FROM I_HCMEmplPersNmbrsForUsr AS HCMEmployeeOwnPersNumbers
;