I_PersnWrkAgreementDet

DDL: I_PERSNWRKAGREEMENTDET SQL: IWRKAGRMNTDET Type: view COMPOSITE

Retrieve Person Work Agreement Details

I_PersnWrkAgreementDet is a Composite CDS View that provides data about "Retrieve Person Work Agreement Details" in SAP S/4HANA. It reads from 1 data source (I_PersonWorkAgreement_1) and exposes 10 fields with key fields Person, PersonWorkAgreement. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PersonWorkAgreement_1 I_PersonWorkAgreement_1 from

Associations (5)

CardinalityTargetAliasCondition
[1..*] I_PersonWorkAgrmtToExternalID _PersonWorkAgrmtToExternalID $projection.PersonWorkAgreement = _PersonWorkAgrmtToExternalID.PersonWorkAgreement
[1] I_WorkforcePersonDet _WorkforcePerson $projection.Person = _WorkforcePerson.Person
[0..1] I_WorkforcePersonImageURL _WorkforcePersonImageURL $projection.Person = _WorkforcePersonImageURL.Person
[1] I_BusinessPartner _BusinessPartner $projection.Person = _BusinessPartner.BusinessPartner and _BusinessPartner.BusinessPartnerCategory = '1'
[0..*] I_WorkforcePersonSkillTags _WorkforcePersonSkillTags $projection.Person = _WorkforcePersonSkillTags.Person and _WorkforcePersonSkillTags.WorkforcePersonSkillTagType = 'S'

Annotations (13)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.sqlViewName IWRKAGRMNTDET view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
EndUserText.label Retrieve Person Work Agreement Details view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.preserveKey true view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Person I_PersonWorkAgreement_1 Person Person/ Farm/ Field
KEY PersonWorkAgreement I_PersonWorkAgreement_1 PersonWorkAgreement Personnel No.
PersonFullName I_PersonWorkAgreement_1 PersonFullName Full Name
_PersonWorkAgrmtToExternalID _PersonWorkAgrmtToExternalID
_BusinessPartner _BusinessPartner
_WorkforcePerson _WorkforcePerson
_PersonWorkAgrmtOrglDetails _PersonWorkAgrmtOrglDetails
_PersonWorkAgrmtStatus _PersonWorkAgrmtStatus
_WorkforcePersonImageURL _WorkforcePersonImageURL
_WorkforcePersonSkillTags _WorkforcePersonSkillTags

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_PersnWrkAgreementDet.
-- 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.
-- SQL view name: IWRKAGRMNTDET

CREATE VIEW I_PersnWrkAgreementDet AS
SELECT
  I_PersonWorkAgreement_1.Person AS Person,
  I_PersonWorkAgreement_1.PersonWorkAgreement AS PersonWorkAgreement,
  I_PersonWorkAgreement_1.PersonFullName AS PersonFullName
FROM I_PersonWorkAgreement_1
LEFT OUTER JOIN I_PersonWorkAgrmtToExternalID AS _PersonWorkAgrmtToExternalID ON PersonWorkAgreement = _PersonWorkAgrmtToExternalID.PersonWorkAgreement  -- association [1..*]
LEFT OUTER JOIN I_WorkforcePersonDet AS _WorkforcePerson ON Person = _WorkforcePerson.Person  -- association [1]
LEFT OUTER JOIN I_WorkforcePersonImageURL AS _WorkforcePersonImageURL ON Person = _WorkforcePersonImageURL.Person  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON Person = _BusinessPartner.BusinessPartner AND _BusinessPartner.BusinessPartnerCategory = '1'  -- association [1]
LEFT OUTER JOIN I_WorkforcePersonSkillTags AS _WorkforcePersonSkillTags ON Person = _WorkforcePersonSkillTags.Person AND _WorkforcePersonSkillTags.WorkforcePersonSkillTagType = 'S'  -- association [0..*]
;