I_PPAreaOfResponsibility

DDL: I_PPAREAOFRESPONSIBILITY Type: view_entity BASIC

PP Area of Responsibility

I_PPAreaOfResponsibility is a Basic CDS View that provides data about "PP Area of Responsibility" in SAP S/4HANA. It reads from 1 data source (sdm_aor) and exposes 7 fields with key fields Plant, ProductionSupervisor, UserID, WorkCenterInternalID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
sdm_aor aor from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_ProductionSupervisor _ProductionSupervisor $projection.Plant = _ProductionSupervisor.Plant and $projection.ProductionSupervisor = _ProductionSupervisor.ProductionSupervisor
[1..1] I_WorkCenterBySemanticKey _WorkCenter $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID and $projection.Plant = _WorkCenter.Plant

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label PP Area of Responsibility view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Plant sdm_aor werks Receiving Plant
KEY ProductionSupervisor sdm_aor fevor Prodn Supervisor
KEY UserID sdm_aor uname User Name
KEY WorkCenterInternalID sdm_aor objid Work Center
_ProductionSupervisor _ProductionSupervisor
_WorkCenter _WorkCenter
_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 I_PPAreaOfResponsibility.
-- 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 I_PPAreaOfResponsibility AS
SELECT
  aor.werks AS Plant,
  aor.fevor AS ProductionSupervisor,
  aor.uname AS UserID,
  aor.objid AS WorkCenterInternalID
FROM sdm_aor AS aor
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_ProductionSupervisor AS _ProductionSupervisor ON Plant = _ProductionSupervisor.Plant AND ProductionSupervisor = _ProductionSupervisor.ProductionSupervisor  -- association [1..1]
LEFT OUTER JOIN I_WorkCenterBySemanticKey AS _WorkCenter ON WorkCenterInternalID = _WorkCenter.WorkCenterInternalID AND Plant = _WorkCenter.Plant  -- association [1..1]
;