P_OperationActivityWorklist

DDL: P_OPERATIONACTIVITYWORKLIST SQL: PMPEOAIWRKLST Type: view COMPOSITE

P_OperationActivityWorklist is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_OpActyInstanceStatusBasic, I_OpActyInstceOpActyNtwkElmnt, I_OrderOperationDateTime) and exposes 42 fields with key fields OpActyNtwkInstance, OpActyNtwkElement. It has 5 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_OpActyInstanceStatusBasic OpActyInstanceStatusBasic inner
I_OpActyInstceOpActyNtwkElmnt OpActyInstceOpActyNtwkElmnt from
I_OrderOperationDateTime OrderOperationDateTime inner

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_OpActyUserAssgmt _OpActyUserAssgmt $projection.OpActyNtwkInstance = _OpActyUserAssgmt.OpActyNtwkInstance and $projection.OpActyNtwkElement = _OpActyUserAssgmt.OpActyNtwkElement
[1..1] I_User _User $projection.UserID = _User.UserID
[1..1] I_Plant _ProductionPlant $projection.ProductionPlant = _ProductionPlant.Plant
[0..1] I_WorkCenterBySemanticKey _WorkCenterBySemanticKey $projection.WorkCenter = _WorkCenterBySemanticKey.WorkCenter and $projection.ProductionPlant = _WorkCenterBySemanticKey.Plant
[0..1] I_WorkCenterType _WorkCenterType $projection.WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMPEOAIWRKLST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY OpActyNtwkInstance I_OpActyInstceOpActyNtwkElmnt OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement I_OpActyInstceOpActyNtwkElmnt OpActyNtwkElement Element Number
OpActyNtwkElementElement I_OpActyInstceOpActyNtwkElmnt OpActyNtwkElementElement Operation Activity
OpActyNtwkElementElmntVersCntr I_OpActyInstceOpActyNtwkElmnt OpActyNtwkElementElmntVersCntr OA Version
ManufacturingOrder I_OpActyInstceOpActyNtwkElmnt ManufacturingOrder Order
ManufacturingOrderOperation I_OrderOperationDateTime Operation Transaction
MfgOrderOperationText I_OrderOperationDateTime OperationText Description
WorkCenter WorkCenter WorkCenter Work Center
WorkCenterInternalID WorkCenter WorkCenterInternalID Work Center
WorkCenterTypeCode WorkCenter WorkCenterTypeCode Object Type
ProductionPlant I_OrderOperationDateTime Plant Valuation Area
StatusAndActionSchema StatusAndActionSchema
StatusAndActionSchemaStatus StatusAndActionSchemaStatus Status
SASStatusCategory
ProductionUnit I_OpActyInstceOpActyNtwkElmnt ProductionUnit
OpPlannedYieldQuantity I_OpActyInstceOpActyNtwkElmnt OpPlannedYieldQuantity
OpPlannedScrapQuantity I_OpActyInstceOpActyNtwkElmnt OpPlannedScrapQuantity
OpActyExpdExecDurnInSeconds I_OpActyInstceOpActyNtwkElmnt OpActyExpdExecDurnInSeconds
OpActyExpdExecLaborDurnInSecs I_OpActyInstceOpActyNtwkElmnt OpActyExpdExecLaborDurnInSecs
OpActyNtwkElementExternalID I_OpActyInstceOpActyNtwkElmnt OpActyNtwkElementExternalID Op. Activity
OperationActivityNetwork I_OpActyInstceOpActyNtwkElmnt OperationActivityNetwork
OpActyNtwkVersionCounter I_OpActyInstceOpActyNtwkElmnt OpActyNtwkVersionCounter
OpActyNtwkSegmentType I_OpActyInstceOpActyNtwkElmnt OpActyNtwkSegmentType
OpActyConfIsSFIBased I_OpActyInstceOpActyNtwkElmnt OpActyConfIsSFIBased
OperationActivity I_OpActyInstceOpActyNtwkElmnt OperationActivity Operation Activity
OperationActyVersionCounter I_OpActyInstceOpActyNtwkElmnt OperationActyVersionCounter OA Version
OpActyIsSeldForRtactvPostg I_OpActyInstanceStatusBasic OpActyIsSeldForRtactvPostg Retroactive
OrderInternalID I_OpActyInstceOpActyNtwkElmnt OrderInternalID Plan No.f.Oper.
OrderOperationInternalID I_OpActyInstceOpActyNtwkElmnt OrderOperationInternalID
_OpActyNtwkInstance I_OpActyInstceOpActyNtwkElmnt _OpActyNtwkInstance
_OperationActivityText I_OpActyInstceOpActyNtwkElmnt _OperationActivityText
_User _User
_MfgOrder I_OpActyInstceOpActyNtwkElmnt _MfgOrder
_OpActyNtwkInternalId _OpActyNtwkInternalId
_OperationActivityNetwork _OperationActivityNetwork
_SASSchema _SASSchema
_UnitOfMeasure _UnitOfMeasure
_SASStatus _SASStatus
_ProductionPlant _ProductionPlant
_WorkCenterBySemanticKey _WorkCenterBySemanticKey
_WorkCenterType _WorkCenterType
_OpActyUserAssgmt _OpActyUserAssgmt

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_OperationActivityWorklist.
-- 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: PMPEOAIWRKLST

CREATE VIEW P_OperationActivityWorklist AS
SELECT
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkInstance AS OpActyNtwkInstance,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkElement AS OpActyNtwkElement,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkElementElement AS OpActyNtwkElementElement,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkElementElmntVersCntr AS OpActyNtwkElementElmntVersCntr,
  OpActyInstceOpActyNtwkElmnt.ManufacturingOrder AS ManufacturingOrder,
  OrderOperationDateTime.Operation AS ManufacturingOrderOperation,
  OrderOperationDateTime.OperationText AS MfgOrderOperationText,
  WorkCenter.WorkCenter AS WorkCenter,
  WorkCenter.WorkCenterInternalID AS WorkCenterInternalID,
  WorkCenter.WorkCenterTypeCode AS WorkCenterTypeCode,
  OrderOperationDateTime.Plant AS ProductionPlant,
  StatusAndActionSchema,
  StatusAndActionSchemaStatus,
  OpActyInstanceStatusBasic._SASStatus.SASStatusCategory AS SASStatusCategory,
  OpActyInstceOpActyNtwkElmnt.ProductionUnit AS ProductionUnit,
  OpActyInstceOpActyNtwkElmnt.OpPlannedYieldQuantity AS OpPlannedYieldQuantity,
  OpActyInstceOpActyNtwkElmnt.OpPlannedScrapQuantity AS OpPlannedScrapQuantity,
  OpActyInstceOpActyNtwkElmnt.OpActyExpdExecDurnInSeconds AS OpActyExpdExecDurnInSeconds,
  OpActyInstceOpActyNtwkElmnt.OpActyExpdExecLaborDurnInSecs AS OpActyExpdExecLaborDurnInSecs,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkElementExternalID AS OpActyNtwkElementExternalID,
  OpActyInstceOpActyNtwkElmnt.OperationActivityNetwork AS OperationActivityNetwork,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkVersionCounter AS OpActyNtwkVersionCounter,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkSegmentType AS OpActyNtwkSegmentType,
  OpActyInstceOpActyNtwkElmnt.OpActyConfIsSFIBased AS OpActyConfIsSFIBased,
  OpActyInstceOpActyNtwkElmnt.OperationActivity AS OperationActivity,
  OpActyInstceOpActyNtwkElmnt.OperationActyVersionCounter AS OperationActyVersionCounter,
  OpActyInstanceStatusBasic.OpActyIsSeldForRtactvPostg AS OpActyIsSeldForRtactvPostg,
  OpActyInstceOpActyNtwkElmnt.OrderInternalID AS OrderInternalID,
  OpActyInstceOpActyNtwkElmnt.OrderOperationInternalID AS OrderOperationInternalID,
  OpActyInstceOpActyNtwkElmnt._OpActyNtwkInstance AS _OpActyNtwkInstance,
  OpActyInstceOpActyNtwkElmnt._OperationActivityText AS _OperationActivityText,
  OpActyInstceOpActyNtwkElmnt._MfgOrder AS _MfgOrder
FROM I_OpActyInstceOpActyNtwkElmnt AS OpActyInstceOpActyNtwkElmnt
INNER JOIN I_OpActyInstanceStatusBasic AS OpActyInstanceStatusBasic ON /* join condition not captured in parsed metadata */
INNER JOIN I_OrderOperationDateTime AS OrderOperationDateTime ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OpActyUserAssgmt AS _OpActyUserAssgmt ON OpActyNtwkInstance = _OpActyUserAssgmt.OpActyNtwkInstance AND OpActyNtwkElement = _OpActyUserAssgmt.OpActyNtwkElement  -- association [0..*]
LEFT OUTER JOIN I_User AS _User ON UserID = _User.UserID  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _ProductionPlant ON ProductionPlant = _ProductionPlant.Plant  -- association [1..1]
LEFT OUTER JOIN I_WorkCenterBySemanticKey AS _WorkCenterBySemanticKey ON WorkCenter = _WorkCenterBySemanticKey.WorkCenter AND ProductionPlant = _WorkCenterBySemanticKey.Plant  -- association [0..1]
LEFT OUTER JOIN I_WorkCenterType AS _WorkCenterType ON WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode  -- association [0..1]
;