I_MfgOpActyAssgdToOptr

DDL: I_MFGOPACTYASSGDTOOPTR SQL: IMFGOAASSGDTOOP Type: view COMPOSITE

Activities assigned to Operator

I_MfgOpActyAssgdToOptr is a Composite CDS View that provides data about "Activities assigned to Operator" in SAP S/4HANA. It reads from 4 data sources (P_MfgOpActyAssgdToOptrTeam, I_OpActyInstceOpActyNtwkElmnt, I_OrderOperationBasic, I_OrderOperationDatesQty) and exposes 24 fields with key fields OpActyNtwkInstance, OpActyNtwkElement, UserID. It has 3 associations to related views.

Data Sources (4)

SourceAliasJoin Type
P_MfgOpActyAssgdToOptrTeam OAAssgmt from
I_OpActyInstceOpActyNtwkElmnt OAINE inner
I_OrderOperationBasic OrderOperation inner
I_OrderOperationDatesQty OrderOperationDte inner

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_OpActyNtwkInstance _OpActyNtwkInstance $projection.OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance
[1..1] I_OperationActivityText _OperationActivityText OAINE.OperationActivity = _OperationActivityText.OperationActivity and OAINE.OperationActyVersionCounter = _OperationActivityText.OperationActyVersionCounter and _OperationActivityText.Language = $session.system_language
[1..1] I_OperationActivityInstance _OperationActivityInstance $projection.OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance and $projection.OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IMFGOAASSGDTOOP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Activities assigned to Operator view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY OpActyNtwkInstance P_MfgOpActyAssgdToOptrTeam OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement P_MfgOpActyAssgdToOptrTeam OpActyNtwkElement Element Number
KEY UserID P_MfgOpActyAssgdToOptrTeam UserID User Name
OpActyNtwkElementExternalID I_OpActyInstceOpActyNtwkElmnt OpActyNtwkElementExternalID Op. Activity
OpActyExpdExecDurnInSeconds I_OpActyInstceOpActyNtwkElmnt OpActyExpdExecDurnInSeconds
OpActyExpdExecLaborDurnInSecs I_OpActyInstceOpActyNtwkElmnt OpActyExpdExecLaborDurnInSecs
ManufacturingOrder I_OpActyInstceOpActyNtwkElmnt ManufacturingOrder Order
OpActyNtwkSegmentType I_OpActyInstceOpActyNtwkElmnt OpActyNtwkSegmentType
OpActualExecutionStartDate I_OrderOperationDatesQty OpActualExecutionStartDate Execution Start Date
OpLtstSchedldTrdwnStrtDte I_OrderOperationDatesQty OpLtstSchedldTrdwnStrtDte Lat.start date
OpLtstSchedldExecStrtDte I_OrderOperationDatesQty OpLtstSchedldExecStrtDte Latest start
OpLtstSchedldProcgStrtDte I_OrderOperationDatesQty OpLtstSchedldProcgStrtDte Lat.start date
ManufacturingOrderOperation
WorkCenterTypeCode
WorkCenterInternalID I_OrderOperationBasic WorkCenterInternalID Work Center
MfgOpActyExecutionPriority P_MfgOpActyAssgdToOptrTeam MfgOpActyExecutionPriority
OperationActivity I_OpActyInstceOpActyNtwkElmnt OperationActivity Operation Activity
OperationActyVersionCounter I_OpActyInstceOpActyNtwkElmnt OperationActyVersionCounter OA Version
MfgOpActyIsAssgdDirectlyToOptr P_MfgOpActyAssgdToOptrTeam MfgOpActyIsAssgdDirectlyToOptr
_OperationActivityText _OperationActivityText
_OpActyNtwkInstance _OpActyNtwkInstance
_MfgOrder I_OpActyInstceOpActyNtwkElmnt _MfgOrder
_OANSegmentType I_OpActyInstceOpActyNtwkElmnt _OANSegmentType
_OperationActivityInstance _OperationActivityInstance

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_MfgOpActyAssgdToOptr.
-- 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: IMFGOAASSGDTOOP

CREATE VIEW I_MfgOpActyAssgdToOptr AS
SELECT
  OAAssgmt.OpActyNtwkInstance AS OpActyNtwkInstance,
  OAAssgmt.OpActyNtwkElement AS OpActyNtwkElement,
  OAAssgmt.UserID AS UserID,
  OAINE.OpActyNtwkElementExternalID AS OpActyNtwkElementExternalID,
  OAINE.OpActyExpdExecDurnInSeconds AS OpActyExpdExecDurnInSeconds,
  OAINE.OpActyExpdExecLaborDurnInSecs AS OpActyExpdExecLaborDurnInSecs,
  OAINE.ManufacturingOrder AS ManufacturingOrder,
  OAINE.OpActyNtwkSegmentType AS OpActyNtwkSegmentType,
  OrderOperationDte.OpActualExecutionStartDate AS OpActualExecutionStartDate,
  OrderOperationDte.OpLtstSchedldTrdwnStrtDte AS OpLtstSchedldTrdwnStrtDte,
  OrderOperationDte.OpLtstSchedldExecStrtDte AS OpLtstSchedldExecStrtDte,
  OrderOperationDte.OpLtstSchedldProcgStrtDte AS OpLtstSchedldProcgStrtDte,
  cast(OrderOperation.Operation as vdm_vornr preserving type ) AS ManufacturingOrderOperation,
  cast(OrderOperation.WorkCenterTypeCode as pph_objty) AS WorkCenterTypeCode,
  OrderOperation.WorkCenterInternalID AS WorkCenterInternalID,
  OAAssgmt.MfgOpActyExecutionPriority AS MfgOpActyExecutionPriority,
  OAINE.OperationActivity AS OperationActivity,
  OAINE.OperationActyVersionCounter AS OperationActyVersionCounter,
  OAAssgmt.MfgOpActyIsAssgdDirectlyToOptr AS MfgOpActyIsAssgdDirectlyToOptr,
  OAINE._MfgOrder AS _MfgOrder,
  OAINE._OANSegmentType AS _OANSegmentType
FROM P_MfgOpActyAssgdToOptrTeam AS OAAssgmt
INNER JOIN I_OpActyInstceOpActyNtwkElmnt AS OAINE ON /* join condition not captured in parsed metadata */
INNER JOIN I_OrderOperationBasic AS OrderOperation ON /* join condition not captured in parsed metadata */
INNER JOIN I_OrderOperationDatesQty AS OrderOperationDte ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OpActyNtwkInstance AS _OpActyNtwkInstance ON OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance  -- association [1..1]
LEFT OUTER JOIN I_OperationActivityText AS _OperationActivityText ON OAINE.OperationActivity = _OperationActivityText.OperationActivity AND OAINE.OperationActyVersionCounter = _OperationActivityText.OperationActyVersionCounter AND _OperationActivityText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_OperationActivityInstance AS _OperationActivityInstance ON OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance AND OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement  -- association [1..1]
;