P_ProdnRoutingSequenceDEX

DDL: P_PRODNROUTINGSEQUENCEDEX Type: view_entity BASIC Package: VDM_PP_MD_RTG

Bill of Operations Sequence Change State

P_ProdnRoutingSequenceDEX is a Basic CDS View that provides data about "Bill of Operations Sequence Change State" in SAP S/4HANA. It reads from 1 data source (plfl) and exposes 25 fields with key fields BillOfOperationsType, ProductionRoutingGroup, ProductionRouting, ProductionRoutingSequence, ProductionRoutingSqncIntVers. It has 4 associations to related views. Part of development package VDM_PP_MD_RTG.

Data Sources (1)

SourceAliasJoin Type
plfl plfl from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_BillOfOperationsType _BillOfOperationsType $projection.BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType
[1..1] I_BillOfOperationsGroup _BillOfOperationsGroup $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.ProductionRoutingGroup = _BillOfOperationsGroup.BillOfOperationsGroup
[1..1] I_MfgBillOfOperations _BillOfOperations $projection.BillOfOperationsType = _BillOfOperations.BillOfOperationsType and $projection.ProductionRoutingGroup = _BillOfOperations.BillOfOperationsGroup and $projection.ProductionRouting = _BillOfOperations.BillOfOperationsVariant
[1..1] I_MfgBillOfOperationsSequence _BillOfOperationsSequence $projection.BillOfOperationsType = _BillOfOperationsSequence.BillOfOperationsType and $projection.ProductionRoutingGroup = _BillOfOperationsSequence.BillOfOperationsGroup and $projection.ProductionRouting = _BillOfOperationsSequence.BillOfOperationsVariant and $projection.ProductionRoutingSequence = _BillOfOperationsSequence.BillOfOperationsSequence

Annotations (9)

NameValueLevelField
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.representativeKey ProductionRoutingSqncIntVers view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Analytics.internalName #LOCAL view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType plfl plnty Task List Type
KEY ProductionRoutingGroup plfl plnnr Task List Group
KEY ProductionRouting plfl plnal Referenced BOO Variant
KEY ProductionRoutingSequence plfl plnfl Sequence
KEY ProductionRoutingSqncIntVers plfl zaehl Sort pos.
BillOfOperationsVersion plfl versn Version
IsDeleted plfl loekz Status
IsImplicitlyDeleted plfl loekz_inherited Deletion Ind.
flgatasBillOfOperationsSequenceCat
SequenceText plfl ltxa1 Short Text
SequenceSchedulingAlignment plfl auschl Alignment Key
bezflasBillOfOperationsRefSequence
BOOSqncBranchOpInternalID plfl bknt1 RefOpSet from
BOOSqncReturnOpInternalID plfl bknt2 Ref.oper. to
aennrasChangeNumber
ValidityStartDate
ValidityEndDate
CreationDate plfl andat Created On
CreatedByUser
LastChangeDate plfl aedat Obsolete
LastChangedByUser
_BillOfOperations _BillOfOperations
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsSequence _BillOfOperationsSequence
_BillOfOperationsType _BillOfOperationsType

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_ProdnRoutingSequenceDEX.
-- 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 P_ProdnRoutingSequenceDEX AS
SELECT
  plfl.plnty AS BillOfOperationsType,
  plfl.plnnr AS ProductionRoutingGroup,
  plfl.plnal AS ProductionRouting,
  plfl.plnfl AS ProductionRoutingSequence,
  plfl.zaehl AS ProductionRoutingSqncIntVers,
  plfl.versn AS BillOfOperationsVersion,
  plfl.loekz AS IsDeleted,
  plfl.loekz_inherited AS IsImplicitlyDeleted,
  plfl.ltxa1 AS SequenceText,
  plfl.auschl AS SequenceSchedulingAlignment,
  plfl.bknt1 AS BOOSqncBranchOpInternalID,
  plfl.bknt2 AS BOOSqncReturnOpInternalID,
  cast(plfl.datuv as pph_begda preserving type) AS ValidityStartDate,
  cast(plfl.valid_to as pph_endda preserving type) AS ValidityEndDate,
  plfl.andat AS CreationDate,
  cast(plfl.annam as vdm_createdbyuserid preserving type) AS CreatedByUser,
  plfl.aedat AS LastChangeDate,
  cast(plfl.aenam as vdm_lastchangedbyuserid preserving type) AS LastChangedByUser
FROM plfl
LEFT OUTER JOIN I_BillOfOperationsType AS _BillOfOperationsType ON BillOfOperationsType = _BillOfOperationsType.BillOfOperationsType  -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _BillOfOperationsGroup ON BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType AND ProductionRoutingGroup = _BillOfOperationsGroup.BillOfOperationsGroup  -- association [1..1]
LEFT OUTER JOIN I_MfgBillOfOperations AS _BillOfOperations ON BillOfOperationsType = _BillOfOperations.BillOfOperationsType AND ProductionRoutingGroup = _BillOfOperations.BillOfOperationsGroup AND ProductionRouting = _BillOfOperations.BillOfOperationsVariant  -- association [1..1]
LEFT OUTER JOIN I_MfgBillOfOperationsSequence AS _BillOfOperationsSequence ON BillOfOperationsType = _BillOfOperationsSequence.BillOfOperationsType AND ProductionRoutingGroup = _BillOfOperationsSequence.BillOfOperationsGroup AND ProductionRouting = _BillOfOperationsSequence.BillOfOperationsVariant AND ProductionRoutingSequence = _BillOfOperationsSequence.BillOfOperationsSequence  -- association [1..1]
;