P_OpActyMainWrkCtrMfgUser

DDL: P_OPACTYMAINWRKCTRMFGUSER SQL: PMPEOAMWRKCTRUSR Type: view COMPOSITE

P_OpActyMainWrkCtrMfgUser is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_MfgBusinessPartner, I_MfgOrderOperation, I_OpActyInstceOpActyNtwkElmnt) and exposes 15 fields with key fields OpActyNtwkInstance, OpActyNtwkElement, UserID. It has 3 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_MfgBusinessPartner MfgBusinessPartner inner
I_MfgOrderOperation MfgOrderOperation inner
I_OpActyInstceOpActyNtwkElmnt OpActyInstceOpActyNtwkElmnt from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_OperationActivityWorklistTP _OperationActivityWorklistTP $projection.userid = _OperationActivityWorklistTP.UserID
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_User _User $projection.userid = _User.UserID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PMPEOAMWRKCTRUSR view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view
AbapCatalog.compiler.compareFilter true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY OpActyNtwkInstance I_OpActyInstceOpActyNtwkElmnt OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement I_OpActyInstceOpActyNtwkElmnt OpActyNtwkElement Element Number
KEY UserID
BusinessPartnerUUID I_MfgBusinessPartner BusinessPartnerUUID UUID
ManufacturingOrder I_OpActyInstceOpActyNtwkElmnt ManufacturingOrder Order
OpActyNtwkSegmentType I_OpActyInstceOpActyNtwkElmnt OpActyNtwkSegmentType
WorkCenter I_MfgBusinessPartner WorkCenter Work Center
Plant I_MfgBusinessPartner Plant Valuation Area
_OpActyNtwkInstance I_OpActyInstceOpActyNtwkElmnt _OpActyNtwkInstance
_User _User
_OANSegmentType I_OpActyInstceOpActyNtwkElmnt _OANSegmentType
_MfgOrder I_OpActyInstceOpActyNtwkElmnt _MfgOrder
_WorkCenterBySemanticKey I_MfgBusinessPartner _WorkCenterBySemanticKey
_Plant _Plant
_OperationActivityWorklistTP _OperationActivityWorklistTP

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_OpActyMainWrkCtrMfgUser.
-- 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: PMPEOAMWRKCTRUSR

CREATE VIEW P_OpActyMainWrkCtrMfgUser AS
SELECT
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkInstance AS OpActyNtwkInstance,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkElement AS OpActyNtwkElement,
  MfgBusinessPartner._User.UserID AS UserID,
  MfgBusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID,
  OpActyInstceOpActyNtwkElmnt.ManufacturingOrder AS ManufacturingOrder,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkSegmentType AS OpActyNtwkSegmentType,
  MfgBusinessPartner.WorkCenter AS WorkCenter,
  MfgBusinessPartner.Plant AS Plant,
  OpActyInstceOpActyNtwkElmnt._OpActyNtwkInstance AS _OpActyNtwkInstance,
  OpActyInstceOpActyNtwkElmnt._OANSegmentType AS _OANSegmentType,
  OpActyInstceOpActyNtwkElmnt._MfgOrder AS _MfgOrder,
  MfgBusinessPartner._WorkCenterBySemanticKey AS _WorkCenterBySemanticKey
FROM I_OpActyInstceOpActyNtwkElmnt AS OpActyInstceOpActyNtwkElmnt
INNER JOIN I_MfgOrderOperation AS MfgOrderOperation ON /* join condition not captured in parsed metadata */
INNER JOIN I_MfgBusinessPartner AS MfgBusinessPartner ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OperationActivityWorklistTP AS _OperationActivityWorklistTP ON userid = _OperationActivityWorklistTP.UserID  -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_User AS _User ON userid = _User.UserID  -- association [1..1]
;