P_OpActyAllManufacturingUsers

DDL: P_OPACTYALLMANUFACTURINGUSERS SQL: PMPEOAALLMFGUSRS Type: view COMPOSITE

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

Data Sources (3)

SourceAliasJoin Type
I_MfgBusinessPartner MfgBusinessPartner cross
I_OpActyInstceOpActyNtwkElmnt OpActyInstceOpActyNtwkElmnt from
I_OrderOperationBasic OrderOperation inner

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_OperationActivityWorklistTP _OperationActivityWorklistTP $projection.userid = _OperationActivityWorklistTP.UserID
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_User _User $projection.userid = _User.UserID
[0..*] I_UserOpenOpActyAssignment _UserOpenOpActyAssignment $projection.userid = _UserOpenOpActyAssignment.UserID
[0..*] I_MfgHumRsceQualifnBPAssgmt _MfgHumRsceQualifnBPAssgmt $projection.MfgBusinessPartner = _MfgHumRsceQualifnBPAssgmt.MfgBusinessPartner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PMPEOAALLMFGUSRS view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #D 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 (18)

KeyFieldSource TableSource FieldDescription
KEY OpActyNtwkInstance I_OpActyInstceOpActyNtwkElmnt OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement I_OpActyInstceOpActyNtwkElmnt OpActyNtwkElement Element Number
KEY UserID
MfgBusinessPartner I_MfgBusinessPartner MfgBusinessPartner Bus Part
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
_WorkCenterBySemanticKey I_MfgBusinessPartner _WorkCenterBySemanticKey
_OANSegmentType I_OpActyInstceOpActyNtwkElmnt _OANSegmentType
_MfgOrder I_OpActyInstceOpActyNtwkElmnt _MfgOrder
_Plant _Plant
_OperationActivityWorklistTP _OperationActivityWorklistTP
_UserOpenOpActyAssignment _UserOpenOpActyAssignment
_MfgHumRsceQualifnBPAssgmt _MfgHumRsceQualifnBPAssgmt

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_OpActyAllManufacturingUsers.
-- 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: PMPEOAALLMFGUSRS

CREATE VIEW P_OpActyAllManufacturingUsers AS
SELECT
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkInstance AS OpActyNtwkInstance,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkElement AS OpActyNtwkElement,
  MfgBusinessPartner._User.UserID AS UserID,
  MfgBusinessPartner.MfgBusinessPartner AS MfgBusinessPartner,
  MfgBusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID,
  OpActyInstceOpActyNtwkElmnt.ManufacturingOrder AS ManufacturingOrder,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkSegmentType AS OpActyNtwkSegmentType,
  MfgBusinessPartner.WorkCenter AS WorkCenter,
  MfgBusinessPartner.Plant AS Plant,
  OpActyInstceOpActyNtwkElmnt._OpActyNtwkInstance AS _OpActyNtwkInstance,
  MfgBusinessPartner._WorkCenterBySemanticKey AS _WorkCenterBySemanticKey,
  OpActyInstceOpActyNtwkElmnt._OANSegmentType AS _OANSegmentType,
  OpActyInstceOpActyNtwkElmnt._MfgOrder AS _MfgOrder
FROM I_OpActyInstceOpActyNtwkElmnt AS OpActyInstceOpActyNtwkElmnt
CROSS JOIN I_MfgBusinessPartner AS MfgBusinessPartner
INNER JOIN I_OrderOperationBasic AS OrderOperation 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 [0..1]
LEFT OUTER JOIN I_UserOpenOpActyAssignment AS _UserOpenOpActyAssignment ON userid = _UserOpenOpActyAssignment.UserID  -- association [0..*]
LEFT OUTER JOIN I_MfgHumRsceQualifnBPAssgmt AS _MfgHumRsceQualifnBPAssgmt ON MfgBusinessPartner = _MfgHumRsceQualifnBPAssgmt.MfgBusinessPartner  -- association [0..*]
;