I_ProdnRtgSequenceTP

DDL: I_PRODNRTGSEQUENCETP SQL: IRTGSQNCTP Type: view_entity TRANSACTIONAL

Transaction View for Production Routing Sequence

I_ProdnRtgSequenceTP is a Transactional CDS View that provides data about "Transaction View for Production Routing Sequence" in SAP S/4HANA. It reads from 1 data source (I_MfgBOOSequenceChangeState) and exposes 28 fields with key fields ProductionRoutingGroup, ProductionRouting, ProductionRoutingSequence, ProductionRoutingSqncIntVers. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MfgBOOSequenceChangeState I_MfgBOOSequenceChangeState from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ProdnRtgOperationTP _Operation $projection.ProductionRoutingGroup = _Operation.ProductionRoutingGroup and $projection.ProductionRouting = _Operation.ProductionRouting and $projection.ProductionRoutingSequence = _Operation.ProductionRoutingSequence and $projection.ValidityEndDate >= _Operation.ValidityStartDate and $projection.ValidityStartDate <= _Operation.ValidityEndDate
[1..*] I_ProductionRoutingHeaderTP _Header $projection.ProductionRoutingGroup = _Header.ProductionRoutingGroup and $projection.ProductionRouting = _Header.ProductionRouting and $projection.ValidityEndDate >= _Header.ValidityStartDate and $projection.ValidityStartDate <= _Header.ValidityEndDate

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Transaction View for Production Routing Sequence view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey ProductionRoutingSqncIntVers view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY ProductionRoutingGroup BillOfOperationsGroup Group
KEY ProductionRouting BillOfOperationsVariant Group Counter
KEY ProductionRoutingSequence BillOfOperationsSequence Sequence
KEY ProductionRoutingSqncIntVers BOOSqncInternalVersionCounter Counter
IsDeleted IsDeleted TRUE
IsImplicitlyDeleted IsImplicitlyDeleted
ChangeNumber ChangeNumber Change Number
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
SequenceCategory SequenceCategory
BillOfOperationsRefSequence BillOfOperationsRefSequence
BOOSqncBranchOpInternalID BOOSqncBranchOpInternalID
BOOSqncReturnOpInternalID BOOSqncReturnOpInternalID
MinimumLotSizeQuantity MinimumLotSizeQuantity Min. Lot Size
MaximumLotSizeQuantity MaximumLotSizeQuantity Max. Lot Size
BillOfOperationsUnit BillOfOperationsUnit
SequenceText SequenceText
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
ChangedDateTime _NonSqnc ChangedDateTime Time Stamp
_Header _Header
_ChangeMaster _ChangeMaster
_SequenceCategory _SequenceCategory
_NonSqnc _NonSqnc
_Operation _Operation
_ProdnRtgTP _ProdnRtgTP

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_ProdnRtgSequenceTP.
-- 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: IRTGSQNCTP

CREATE VIEW I_ProdnRtgSequenceTP AS
SELECT
  BillOfOperationsGroup AS ProductionRoutingGroup,
  BillOfOperationsVariant AS ProductionRouting,
  BillOfOperationsSequence AS ProductionRoutingSequence,
  BOOSqncInternalVersionCounter AS ProductionRoutingSqncIntVers,
  IsDeleted,
  IsImplicitlyDeleted,
  ChangeNumber,
  ValidityStartDate,
  ValidityEndDate,
  SequenceCategory,
  BillOfOperationsRefSequence,
  BOOSqncBranchOpInternalID,
  BOOSqncReturnOpInternalID,
  MinimumLotSizeQuantity,
  MaximumLotSizeQuantity,
  BillOfOperationsUnit,
  SequenceText,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  _NonSqnc.ChangedDateTime AS ChangedDateTime
FROM I_MfgBOOSequenceChangeState
LEFT OUTER JOIN I_ProdnRtgOperationTP AS _Operation ON ProductionRoutingGroup = _Operation.ProductionRoutingGroup AND ProductionRouting = _Operation.ProductionRouting AND ProductionRoutingSequence = _Operation.ProductionRoutingSequence AND ValidityEndDate >= _Operation.ValidityStartDate AND ValidityStartDate <= _Operation.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN I_ProductionRoutingHeaderTP AS _Header ON ProductionRoutingGroup = _Header.ProductionRoutingGroup AND ProductionRouting = _Header.ProductionRouting AND ValidityEndDate >= _Header.ValidityStartDate AND ValidityStartDate <= _Header.ValidityEndDate  -- association [1..*]
;