I_ProdnRtgOpPRTAssgmtToOp

DDL: I_PRODNRTGOPPRTASSGMTTOOP Type: view_entity COMPOSITE Package: VDM_PP_MD_RTG

Prodn Rtg PRT Assgmt to Operation

I_ProdnRtgOpPRTAssgmtToOp is a Composite CDS View that provides data about "Prodn Rtg PRT Assgmt to Operation" in SAP S/4HANA. It reads from 4 data sources (I_MfgBillOfOperationsChgSt, I_ProductionRoutingOperation, P_ProductionRoutingPRTAssgmt, I_MfgBOOSequenceChangeState) and exposes 8 fields with key fields ProductionRoutingGroup, ProductionRouting, ProductionRoutingSequence, ProductionRoutingOpIntID, BOOOperationPRTInternalID. Part of development package VDM_PP_MD_RTG.

Data Sources (4)

SourceAliasJoin Type
I_MfgBillOfOperationsChgSt Header inner
I_ProductionRoutingOperation Operation inner
P_ProductionRoutingPRTAssgmt PRTAssgmt from
I_MfgBOOSequenceChangeState Sequence inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Prodn Rtg PRT Assgmt to Operation view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ProductionRoutingGroup P_ProductionRoutingPRTAssgmt ProductionRoutingGroup Group
KEY ProductionRouting P_ProductionRoutingPRTAssgmt ProductionRouting Group Counter
KEY ProductionRoutingSequence
KEY ProductionRoutingOpIntID P_ProductionRoutingPRTAssgmt ProductionRoutingOpIntID Task list node
KEY BOOOperationPRTInternalID P_ProductionRoutingPRTAssgmt BOOOperationPRTInternalID
KEY BOOOperationPRTIntVersCounter P_ProductionRoutingPRTAssgmt BOOOperationPRTIntVersCounter
ValidityStartDate
ValidityEndDate

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_ProdnRtgOpPRTAssgmtToOp.
-- 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_ProdnRtgOpPRTAssgmtToOp AS
SELECT
  PRTAssgmt.ProductionRoutingGroup AS ProductionRoutingGroup,
  PRTAssgmt.ProductionRouting AS ProductionRouting,
  PRTAssgmt. ProductionRoutingSequence AS ProductionRoutingSequence,
  PRTAssgmt.ProductionRoutingOpIntID AS ProductionRoutingOpIntID,
  PRTAssgmt.BOOOperationPRTInternalID AS BOOOperationPRTInternalID,
  PRTAssgmt.BOOOperationPRTIntVersCounter AS BOOOperationPRTIntVersCounter,
  min(Operation.ValidityStartDate) AS ValidityStartDate,
  max(Operation.ValidityEndDate) AS ValidityEndDate
FROM P_ProductionRoutingPRTAssgmt AS PRTAssgmt
INNER JOIN I_ProductionRoutingOperation AS Operation ON /* join condition not captured in parsed metadata */
INNER JOIN I_MfgBOOSequenceChangeState AS Sequence ON /* join condition not captured in parsed metadata */
INNER JOIN I_MfgBillOfOperationsChgSt AS Header ON /* join condition not captured in parsed metadata */
;