P_O_PersWrkAgrmtMgrForKeyDte

DDL: P_O_PERSWRKAGRMTMGRFORKEYDTE SQL: POPERWRKAGRMTMGR Type: view COMPOSITE

P_O_PersWrkAgrmtMgrForKeyDte is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_PersWrkAgrmtPosToMgrPosition, P_O_PersWrkAgrmtPosDet, P_O_PersWrkAgrmtPosDet) and exposes 5 fields with key fields PersonWorkAgreement, KeyDate. It has 2 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_PersWrkAgrmtPosToMgrPosition I_PersWrkAgrmtPosToMgrPosition left_outer
P_O_PersWrkAgrmtPosDet PersonWrkAgrmtManager left_outer
P_O_PersWrkAgrmtPosDet PersWrkAgrmtPosDet from

Parameters (1)

NameTypeDefault
P_KeyDate vdm_v_key_date

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_PersonWorkAgreement _ManagerPersonWorkAgreement _ManagerPersonWorkAgreement.PersonWorkAgreement = $projection.ManagerPersonWorkAgreement
[1..1] I_PersonWorkAgreement_1 _ManagerPersonWorkAgreement_1 _ManagerPersonWorkAgreement_1.PersonWorkAgreement = $projection.ManagerPersonWorkAgreement

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName POPERWRKAGRMTMGR view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey PersonWorkAgreement view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PersonWorkAgreement P_O_PersWrkAgrmtPosDet PersonWorkAgreement Personnel No.
KEY KeyDate
PersonWorkAgrmtAuthznGrpg P_O_PersWrkAgrmtPosDet PersonWorkAgrmtAuthznGrpg Org.key
_ManagerPersonWorkAgreement _ManagerPersonWorkAgreement
_ManagerPersonWorkAgreement_1 _ManagerPersonWorkAgreement_1

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_O_PersWrkAgrmtMgrForKeyDte.
-- 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: POPERWRKAGRMTMGR
-- Parameters: P_KeyDate : vdm_v_key_date

CREATE VIEW P_O_PersWrkAgrmtMgrForKeyDte AS
SELECT
  PersWrkAgrmtPosDet.PersonWorkAgreement AS PersonWorkAgreement,
  $parameters.P_KeyDate AS KeyDate,
  PersWrkAgrmtPosDet.PersonWorkAgrmtAuthznGrpg AS PersonWorkAgrmtAuthznGrpg
FROM P_O_PersWrkAgrmtPosDet AS PersWrkAgrmtPosDet
LEFT OUTER JOIN I_PersWrkAgrmtPosToMgrPosition ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_O_PersWrkAgrmtPosDet AS PersonWrkAgrmtManager ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PersonWorkAgreement AS _ManagerPersonWorkAgreement ON _ManagerPersonWorkAgreement.PersonWorkAgreement = ManagerPersonWorkAgreement  -- association [1..1]
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _ManagerPersonWorkAgreement_1 ON _ManagerPersonWorkAgreement_1.PersonWorkAgreement = ManagerPersonWorkAgreement  -- association [1..1]
;