I_ProductionSupervisorAOR

DDL: I_PRODUCTIONSUPERVISORAOR Type: view_entity COMPOSITE Package: ODATA_MPE_MFGORDER

Production Supervisor AoR

I_ProductionSupervisorAOR is a Composite CDS View that provides data about "Production Supervisor AoR" in SAP S/4HANA. It reads from 1 data source (I_ProductionSupervisor) and exposes 7 fields with key fields Plant, ProductionSupervisor. It has 2 associations to related views. Part of development package ODATA_MPE_MFGORDER.

Data Sources (1)

SourceAliasJoin Type
I_ProductionSupervisor supervisor from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_PPAreaOfResponsibility _SDMAOR $projection.Plant = _SDMAOR.Plant and _SDMAOR.UserID = $session.user and $projection.ProductionSupervisor = _SDMAOR.ProductionSupervisor and _SDMAOR.WorkCenterInternalID is initial

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions true view
ObjectModel.representativeKey ProductionSupervisor view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #COMPOSITE view
Search.searchable true view
EndUserText.label Production Supervisor AoR view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Plant I_ProductionSupervisor Plant Valuation Area
KEY ProductionSupervisor I_ProductionSupervisor ProductionSupervisor Prodn Supervisor
ProductionSupervisorName I_ProductionSupervisor ProductionSupervisorName
UserID _SDMAOR UserID User Name
UserName
PlantName _Plant 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 I_ProductionSupervisorAOR.
-- 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_ProductionSupervisorAOR AS
SELECT
  supervisor.Plant AS Plant,
  supervisor.ProductionSupervisor AS ProductionSupervisor,
  supervisor.ProductionSupervisorName AS ProductionSupervisorName,
  _SDMAOR.UserID AS UserID,
  $session.user AS UserName,
  _Plant.PlantName AS PlantName
FROM I_ProductionSupervisor AS supervisor
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_PPAreaOfResponsibility AS _SDMAOR ON Plant = _SDMAOR.Plant AND _SDMAOR.UserID = $session.user AND ProductionSupervisor = _SDMAOR.ProductionSupervisor AND _SDMAOR.WorkCenterInternalID is initial  -- association [0..1]
;