P_PersonWorkAgrmtStatus

DDL: P_PERSONWORKAGRMTSTATUS SQL: PPERWKAGRSTATUS Type: view BASIC Package: VDM_WFD_WORK_FORCE

Work Agreement Status

P_PersonWorkAgrmtStatus is a Basic CDS View that provides data about "Work Agreement Status" in SAP S/4HANA. It reads from 1 data source (wfd_d_assgmtdets) and exposes 5 fields with key fields PersonWorkAgreement, StartDate, EndDate. It has 1 association to related views. Part of development package VDM_WFD_WORK_FORCE.

Data Sources (1)

SourceAliasJoin Type
wfd_d_assgmtdets wfd_d_assgmtdets from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PersonWorkAgrmtStatusText _PersonWorkAgrmtStatusText _PersonWorkAgrmtStatusText.WorkAgreementStatus = $projection.WorkAgreementStatus

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PPERWKAGRSTATUS view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey PersonWorkAgreement view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PersonWorkAgreement wfd_d_assgmtdets workforce_assgmt_id WorkForce Assgmt ID
KEY StartDate wfd_d_assgmtdets start_date Valn start date
KEY EndDate wfd_d_assgmtdets end_date Valn End date
PersonWorkAgrmtAuthznGrpg
_PersonWorkAgrmtStatusText _PersonWorkAgrmtStatusText

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 P_PersonWorkAgrmtStatus.
-- 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: PPERWKAGRSTATUS

CREATE VIEW P_PersonWorkAgrmtStatus AS
SELECT
  wfd_d_assgmtdets.workforce_assgmt_id AS PersonWorkAgreement,
  wfd_d_assgmtdets.start_date AS StartDate,
  wfd_d_assgmtdets.end_date AS EndDate,
  '' AS PersonWorkAgrmtAuthznGrpg
FROM wfd_d_assgmtdets
LEFT OUTER JOIN I_PersonWorkAgrmtStatusText AS _PersonWorkAgrmtStatusText ON _PersonWorkAgrmtStatusText.WorkAgreementStatus = WorkAgreementStatus  -- association [0..*]
;