I_SSPWorkPersonDetails

DDL: I_SSPWORKPERSONDETAILS SQL: ISSP_PERSONDET Type: view COMPOSITE

Basic CDS for Work Person Details

I_SSPWorkPersonDetails is a Composite CDS View that provides data about "Basic CDS for Work Person Details" in SAP S/4HANA. It reads from 2 data sources (I_PersonWorkAgreement_1, I_PersonWorkAgrmtStatus) and exposes 16 fields with key fields BusinessPartnerUUID, PersonWorkAgreement. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_PersonWorkAgreement_1 _personWorkAgreement_1 inner
I_PersonWorkAgrmtStatus _PersonWorkAgrmtStatus inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PersonWorkAgrmtOrglDetails _PersonWorkAgrmtOrglDetails _PersonWorkAgrmtOrglDetails.PersonWorkAgreement = _personWorkAgreement_1.PersonWorkAgreement and _PersonWorkAgrmtOrglDetails.StartDate <= $session.system_date and _PersonWorkAgrmtOrglDetails.EndDate >= $session.system_date

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ISSP_PERSONDET view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Basic CDS for Work Person Details view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartnerUUID WorkForcePerson BusinessPartnerUUID UUID
KEY PersonWorkAgreement I_PersonWorkAgreement_1 PersonWorkAgreement Personnel No.
Person WorkForcePerson Person Person/ Farm/ Field
FirstName WorkForcePerson FirstName First Name
LastName WorkForcePerson LastName Last Name
PersonFullName WorkForcePerson PersonFullName Full Name
PersonExternalID WorkForcePerson PersonExternalID
AuthorizationGroup WorkForcePerson AuthorizationGroup AuthorizGroup
IsBusinessPurposeCompleted WorkForcePerson IsBusinessPurposeCompleted Purpose Completed
ValidityEndDate
CompanyCode _PersonWorkAgrmtOrglDetails CompanyCode Receiver Company Code
StartDate _PersonWorkAgrmtOrglDetails StartDate Valid From
EndDate _PersonWorkAgrmtOrglDetails EndDate Term to
_BusinessPartner WorkForcePerson _BusinessPartner
WorkAgreementStatus I_PersonWorkAgrmtStatus WorkAgreementStatus
PersonWorkAgrmtAuthznGrpg I_PersonWorkAgrmtStatus PersonWorkAgrmtAuthznGrpg Org.key

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_SSPWorkPersonDetails.
-- 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: ISSP_PERSONDET

CREATE VIEW I_SSPWorkPersonDetails AS
SELECT
  WorkForcePerson.BusinessPartnerUUID AS BusinessPartnerUUID,
  _personWorkAgreement_1.PersonWorkAgreement AS PersonWorkAgreement,
  WorkForcePerson.Person AS Person,
  WorkForcePerson.FirstName AS FirstName,
  WorkForcePerson.LastName AS LastName,
  WorkForcePerson.PersonFullName AS PersonFullName,
  WorkForcePerson.PersonExternalID AS PersonExternalID,
  WorkForcePerson.AuthorizationGroup AS AuthorizationGroup,
  WorkForcePerson.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  cast(substring( cast(tstmp_current_utctimestamp() as abap.char( 17 ) ), 1, 8 ) as abap.dats ) AS ValidityEndDate,
  _PersonWorkAgrmtOrglDetails.CompanyCode AS CompanyCode,
  _PersonWorkAgrmtOrglDetails.StartDate AS StartDate,
  _PersonWorkAgrmtOrglDetails.EndDate AS EndDate,
  WorkForcePerson._BusinessPartner AS _BusinessPartner,
  _PersonWorkAgrmtStatus.WorkAgreementStatus AS WorkAgreementStatus,
  _PersonWorkAgrmtStatus.PersonWorkAgrmtAuthznGrpg AS PersonWorkAgrmtAuthznGrpg
INNER JOIN I_PersonWorkAgreement_1 AS _personWorkAgreement_1 ON /* join condition not captured in parsed metadata */
INNER JOIN I_PersonWorkAgrmtStatus AS _PersonWorkAgrmtStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PersonWorkAgrmtOrglDetails AS _PersonWorkAgrmtOrglDetails ON _PersonWorkAgrmtOrglDetails.PersonWorkAgreement = _personWorkAgreement_1.PersonWorkAgreement AND _PersonWorkAgrmtOrglDetails.StartDate <= $session.system_date AND _PersonWorkAgrmtOrglDetails.EndDate >= $session.system_date  -- association [0..1]
;