P_WrkCtrPersnRespAORList

DDL: P_WRKCTRPERSNRESPAORLIST Type: view_entity COMPOSITE Package: VDM_PP_MD_WKC

Work Center Person Responsible AOR List

P_WrkCtrPersnRespAORList is a Composite CDS View that provides data about "Work Center Person Responsible AOR List" in SAP S/4HANA. It reads from 2 data sources (I_Plant, I_WorkCenterResponsible) and exposes 9 fields with key fields Plant, WorkCenterResponsible, WorkCenterResponsible. It has 3 associations to related views. Part of development package VDM_PP_MD_WKC.

Data Sources (2)

SourceAliasJoin Type
I_Plant plant union
I_WorkCenterResponsible wrkctrresp from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_WrkCtrPersnRespAreaOfRespy _WrkCtrPersnRespAOR wrkctrresp.Plant = _WrkCtrPersnRespAOR.Plant and _WrkCtrPersnRespAOR.UserID = $session.user and wrkctrresp.WorkCenterResponsible = _WrkCtrPersnRespAOR.WorkCenterResponsible
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_WrkCtrPersnRespAreaOfRespy _WrkCtrPersnRespAOR_2 plant.Plant = _WrkCtrPersnRespAOR_2.Plant and _WrkCtrPersnRespAOR_2.UserID = $session.user and _WrkCtrPersnRespAOR_2.WorkCenterResponsible is initial

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Work Center Person Responsible AOR List view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Plant Plant Valuation Area
KEY WorkCenterResponsible WorkCenterResponsible
WorkCenterResponsibleName WorkCenterResponsibleName
PlantName _Plant PlantName Plant Name
WorkCenterResponsibleisinitialkeyPlant
KEY WorkCenterResponsible
WorkCenterResponsibleName
PlantName PlantName Plant Name
_Plant _Plant

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_WrkCtrPersnRespAORList.
-- 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.

CREATE VIEW P_WrkCtrPersnRespAORList AS
SELECT
  Plant,
  WorkCenterResponsible,
  WorkCenterResponsibleName,
  _Plant.PlantName AS PlantName
FROM I_WorkCenterResponsible AS wrkctrresp
LEFT OUTER JOIN I_WrkCtrPersnRespAreaOfRespy AS _WrkCtrPersnRespAOR ON wrkctrresp.Plant = _WrkCtrPersnRespAOR.Plant AND _WrkCtrPersnRespAOR.UserID = $session.user AND wrkctrresp.WorkCenterResponsible = _WrkCtrPersnRespAOR.WorkCenterResponsible  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_WrkCtrPersnRespAreaOfRespy AS _WrkCtrPersnRespAOR_2 ON plant.Plant = _WrkCtrPersnRespAOR_2.Plant AND _WrkCtrPersnRespAOR_2.UserID = $session.user AND _WrkCtrPersnRespAOR_2.WorkCenterResponsible is initial  -- association [0..1]
-- UNION with additional select branch(es): I_Plant
;