N_PersonWorkAgreement_2
Auxillary View for New Persistency
N_PersonWorkAgreement_2 is a CDS View that provides data about "Auxillary View for New Persistency" in SAP S/4HANA. It reads from 3 data sources (I_BusinessPartner, P_N_HrPersWrkAgrmt, P_N_PersWrkAgrmtToPartner) and exposes 14 fields with key field PersonWorkAgreement. It has 10 associations to related views. Part of development package WFD_BL_CDS_DEF.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_BusinessPartner | BusinessPartner | inner |
| P_N_HrPersWrkAgrmt | HrPersonWorkAgreement | from |
| P_N_PersWrkAgrmtToPartner | PersonWrkAgrmtToPartner | inner |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_BusinessPartner | _BusinessPartner | $projection.Person = _BusinessPartner.BusinessPartner |
| [1] | I_PersonWorkAgrmtForKeyDate | _PersonWrkAgrmtForKeyDate | $projection.PersonWorkAgreement = _PersonWrkAgrmtForKeyDate.PersonWorkAgreement |
| [1] | I_WorkforcePerson | _WorkforcePerson | $projection.Person = _WorkforcePerson.Person |
| [1..*] | I_PersonWorkAgrmtToExternalID | _PersonWorkAgrmtToExternalID | $projection.PersonWorkAgreement = _PersonWorkAgrmtToExternalID.PersonWorkAgreement |
| [1..*] | I_PersonWorkAgrmtOrglDetails | _PersonWorkAgrmtOrglDetails | _PersonWorkAgrmtOrglDetails.PersonWorkAgreement = $projection.PersonWorkAgreement |
| [1..*] | I_PersonWorkAgrmtStatus | _PersonWorkAgrmtStatus | _PersonWorkAgrmtStatus.PersonWorkAgreement = $projection.PersonWorkAgreement |
| [0..*] | I_PersonWorkAgrmtPlndWrkgTime | _PersonWorkAgrmtPlndWrkgTime | _PersonWorkAgrmtPlndWrkgTime.PersonWorkAgreement = $projection.PersonWorkAgreement |
| [0..*] | I_PersonWorkAgrmtSrvcCostLevel | _PersonWorkAgrmtSrvcCostLevel | _PersonWorkAgrmtSrvcCostLevel.PersonWorkAgreement = $projection.PersonWorkAgreement |
| [0..*] | I_PersWrkAgrmtManagerForKeyDte | _PersWrkAgrmtManagerForKeyDte | $projection.PersonWorkAgreement = _PersWrkAgrmtManagerForKeyDte.PersonWorkAgreement |
| [1] | I_PersonWorkAgreementType | _PersonWorkAgreementType | $projection.PersonWorkAgreement = _PersonWorkAgreementType.PersonWorkAgreement |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | NPERSWKAGRMT2 | view | |
| VDM.auxiliaryEntity.for.entity | I_PersonWorkAgreement_2 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Auxillary View for New Persistency | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PersonWorkAgreement | P_N_HrPersWrkAgrmt | PersonWorkAgreement | |
| Person | I_BusinessPartner | BusinessPartner | ||
| AuthorizationGroup | I_BusinessPartner | AuthorizationGroup | ||
| PersonFullName | I_BusinessPartner | PersonFullName | ||
| _PersonWrkAgrmtForKeyDate | _PersonWrkAgrmtForKeyDate | |||
| _PersonWorkAgrmtToExternalID | _PersonWorkAgrmtToExternalID | |||
| _BusinessPartner | _BusinessPartner | |||
| _WorkforcePerson | _WorkforcePerson | |||
| _PersonWorkAgrmtOrglDetails | _PersonWorkAgrmtOrglDetails | |||
| _PersonWorkAgrmtStatus | _PersonWorkAgrmtStatus | |||
| _PersonWorkAgrmtPlndWrkgTime | _PersonWorkAgrmtPlndWrkgTime | |||
| _PersonWorkAgrmtSrvcCostLevel | _PersonWorkAgrmtSrvcCostLevel | |||
| _PersWrkAgrmtManagerForKeyDte | _PersWrkAgrmtManagerForKeyDte | |||
| _PersonWorkAgreementType | _PersonWorkAgreementType |
@AbapCatalog.sqlViewName: 'NPERSWKAGRMT2'
@VDM.auxiliaryEntity.for.entity: 'I_PersonWorkAgreement_2'
@VDM.auxiliaryEntity.usage.type: [#ENTERPRISE_SEARCH]
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Auxillary View for New Persistency'
define view N_PersonWorkAgreement_2
as select from P_N_HrPersWrkAgrmt as HrPersonWorkAgreement
inner join P_N_PersWrkAgrmtToPartner as PersonWrkAgrmtToPartner on PersonWrkAgrmtToPartner.PersonWorkAgreement = HrPersonWorkAgreement.PersonWorkAgreement
inner join I_BusinessPartner as BusinessPartner on BusinessPartner.BusinessPartner = PersonWrkAgrmtToPartner.Person
and BusinessPartner.BusinessPartnerCategory = '1'
association [1] to I_BusinessPartner as _BusinessPartner on $projection.Person = _BusinessPartner.BusinessPartner
association [1] to I_PersonWorkAgrmtForKeyDate as _PersonWrkAgrmtForKeyDate on $projection.PersonWorkAgreement = _PersonWrkAgrmtForKeyDate.PersonWorkAgreement
association [1] to I_WorkforcePerson as _WorkforcePerson on $projection.Person = _WorkforcePerson.Person
association [1..*] to I_PersonWorkAgrmtToExternalID as _PersonWorkAgrmtToExternalID on $projection.PersonWorkAgreement = _PersonWorkAgrmtToExternalID.PersonWorkAgreement
association [1..*] to I_PersonWorkAgrmtOrglDetails as _PersonWorkAgrmtOrglDetails on _PersonWorkAgrmtOrglDetails.PersonWorkAgreement = $projection.PersonWorkAgreement
association [1..*] to I_PersonWorkAgrmtStatus as _PersonWorkAgrmtStatus on _PersonWorkAgrmtStatus.PersonWorkAgreement = $projection.PersonWorkAgreement
association [0..*] to I_PersonWorkAgrmtPlndWrkgTime as _PersonWorkAgrmtPlndWrkgTime on _PersonWorkAgrmtPlndWrkgTime.PersonWorkAgreement = $projection.PersonWorkAgreement
association [0..*] to I_PersonWorkAgrmtSrvcCostLevel as _PersonWorkAgrmtSrvcCostLevel on _PersonWorkAgrmtSrvcCostLevel.PersonWorkAgreement = $projection.PersonWorkAgreement
association [0..*] to I_PersWrkAgrmtManagerForKeyDte as _PersWrkAgrmtManagerForKeyDte on $projection.PersonWorkAgreement = _PersWrkAgrmtManagerForKeyDte.PersonWorkAgreement
association [1] to I_PersonWorkAgreementType as _PersonWorkAgreementType on $projection.PersonWorkAgreement = _PersonWorkAgreementType.PersonWorkAgreement
{
@ObjectModel.text.element: 'PersonFullName'
key HrPersonWorkAgreement.PersonWorkAgreement as PersonWorkAgreement,
BusinessPartner.BusinessPartner as Person,
BusinessPartner.AuthorizationGroup,
@Semantics.text
BusinessPartner.PersonFullName,
_PersonWrkAgrmtForKeyDate,
_PersonWorkAgrmtToExternalID,
_BusinessPartner,
_WorkforcePerson,
_PersonWorkAgrmtOrglDetails,
_PersonWorkAgrmtStatus,
_PersonWorkAgrmtPlndWrkgTime,
_PersonWorkAgrmtSrvcCostLevel,
_PersWrkAgrmtManagerForKeyDte,
_PersonWorkAgreementType
}
Learn More
- 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 Annotations — A Complete Guide
- 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