I_ProductionRoutingVersion
Production Routing Version
I_ProductionRoutingVersion is a Composite CDS View that provides data about "Production Routing Version" in SAP S/4HANA. It reads from 3 data sources (I_BillOfOperationsChangeState, I_BillOfOperations, I_BillOfOperationsVersion) and exposes 81 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant, BillOfOperationsVersion. It has 3 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_BillOfOperationsChangeState | BillOfOperationChangeState | inner |
| I_BillOfOperations | BillOfOperations | inner |
| I_BillOfOperationsVersion | ProdnRtgVersion | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_WorkCenterBySemanticKey | _WorkCenterBySemanticKey | $projection.WorkCenter = _WorkCenterBySemanticKey.WorkCenter and $projection.Plant = _WorkCenterBySemanticKey.Plant |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_ProductionRoutingVersion | _ProdnRtgReferenceVersion | $projection.BillOfOperationsType = _ProdnRtgReferenceVersion.BillOfOperationsType and $projection.BillOfOperationsGroup = _ProdnRtgReferenceVersion.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _ProdnRtgReferenceVersion.BillOfOperationsVariant and $projection.BOOReferenceVersion = _ProdnRtgReferenceVersion.BillOfOperationsVersion |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | Production Routing Version | view |
Fields (81)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfOperationsType | I_BillOfOperationsVersion | BillOfOperationsType | Task List Type |
| KEY | BillOfOperationsGroup | I_BillOfOperationsVersion | BillOfOperationsGroup | Group |
| KEY | BillOfOperationsVariant | I_BillOfOperationsVersion | BillOfOperationsVariant | Group Counter |
| KEY | BillOfOperationsVersion | I_BillOfOperationsVersion | BillOfOperationsVersion | Routing Version |
| BOOInternalVersionCounter | I_BillOfOperationsChangeState | BOOInternalVersionCounter | Sort pos. | |
| IsDeleted | I_BillOfOperationsChangeState | IsDeleted | TRUE | |
| WorkCenterTypeCode | I_BillOfOperationsChangeState | WorkCenterTypeCode | Object Type | |
| WorkCenterInternalID | I_BillOfOperationsChangeState | WorkCenterInternalID | Work Center | |
| BillOfOperationsVersionType | I_BillOfOperations | BillOfOperationsVersionType | Version Profile | |
| BillOfOperationsSubtype | I_BillOfOperations | BillOfOperationsSubtype | Version Profile | |
| BillOfOperationsVariantDesc | I_BillOfOperations | BillOfOperationsVariantDesc | Standard text | |
| RoutingIsReworkRouting | I_BillOfOperations | RoutingIsReworkRouting | Rework Routing | |
| ProdnProcgIsFlexible | I_BillOfOperations | ProdnProcgIsFlexible | Flexible | |
| BillOfOperationIsExecutedInMES | I_BillOfOperations | BillOfOperationIsExecutedInMES | SAP ME | |
| BillOfOperationsIsTrnsfdToERP | I_BillOfOperations | BillOfOperationsIsTrnsfdToERP | ERP Integration | |
| ShopFloorRtgTemplateCategory | I_BillOfOperations | ShopFloorRtgTemplateCategory | Templ. Category | |
| ShopFloorRoutingTemplateType | I_BillOfOperations | ShopFloorRoutingTemplateType | Template Type | |
| ShopFloorRtgTemplateSubType | I_BillOfOperations | ShopFloorRtgTemplateSubType | Validity | |
| ShopFloorRoutingTemplateOwner | I_BillOfOperations | ShopFloorRoutingTemplateOwner | Owner | |
| RoutingIsProductReworkRouting | VersionedBillOfOperations | RoutingIsProductReworkRouting | ||
| Plant | ||||
| BillOfOperationsUsage | I_BillOfOperationsChangeState | BillOfOperationsUsage | Work Center Category | |
| BillOfOperationsStatus | I_BillOfOperationsChangeState | BillOfOperationsStatus | Vehicle Status | |
| ResponsiblePlannerGroup | I_BillOfOperationsChangeState | ResponsiblePlannerGroup | Prodn Supervisor | |
| WorkCenter | ||||
| MinimumLotSizeQuantity | I_BillOfOperationsChangeState | MinimumLotSizeQuantity | Min. Lot Size | |
| MaximumLotSizeQuantity | I_BillOfOperationsChangeState | MaximumLotSizeQuantity | Max. Lot Size | |
| BillOfOperationsUnit | ||||
| ReplacedBillOfOperations | I_BillOfOperationsChangeState | ReplacedBillOfOperations | Old TL Number | |
| IsMarkedForDeletion | I_BillOfOperationsChangeState | IsMarkedForDeletion | Purch.org. data | |
| InspSubsetFieldCombination | ||||
| InspectionPartialLot | I_BillOfOperationsChangeState | InspectionPartialLot | ||
| SmplDrawingProcedure | I_BillOfOperationsChangeState | SmplDrawingProcedure | ||
| SmplDrawingProcedureVersion | I_BillOfOperationsChangeState | SmplDrawingProcedureVersion | Version | |
| InspectionLotDynamicLevel | I_BillOfOperationsChangeState | InspectionLotDynamicLevel | ||
| InspLotDynamicRule | I_BillOfOperationsChangeState | InspLotDynamicRule | Dyn. Mod. Rule | |
| MaintenanceStrategy | I_BillOfOperationsChangeState | MaintenanceStrategy | Strategy Fields | |
| InspExternalNumberingOfValues | ||||
| CreationDateTime | ||||
| CreatedByUser | I_BillOfOperationsVersion | CreatedByUser | User Name | |
| LastChangeDateTime | I_BillOfOperationsVersion | LastChangeDateTime | Timestamp | |
| LastChangedByUser | I_BillOfOperationsVersion | LastChangedByUser | User Name | |
| ChangeNumber | I_BillOfOperationsChangeState | ChangeNumber | Change Number | |
| ValidityStartDate | ||||
| ValidityEndDate | I_BillOfOperationsChangeState | ValidityEndDate | ValidTo | |
| LastReorganizationDate | ||||
| LastUsageDate | I_BillOfOperationsChangeState | LastUsageDate | Store Until | |
| NumberOfUsages | I_BillOfOperationsChangeState | NumberOfUsages | No. of Periods | |
| BillOfOperationsVersionStatus | I_BillOfOperationsVersion | BillOfOperationsVersionStatus | Workflow Status | |
| IsLatestBOOVersion | I_BillOfOperationsVersion | IsLatestBOOVersion | Last Rel. Vers. | |
| NumberOfBOOVersionSuccessors | I_BillOfOperationsVersion | NumberOfBOOVersionSuccessors | Successors | |
| BillOfOperationsRefType | I_BillOfOperationsVersion | BillOfOperationsRefType | ||
| BillOfOperationsRefGroup | I_BillOfOperationsVersion | BillOfOperationsRefGroup | Number Source | |
| BillOfOperationsRefVariant | I_BillOfOperationsVersion | BillOfOperationsRefVariant | Group Source | |
| BOOReferenceVersion | I_BillOfOperationsVersion | BOOReferenceVersion | Source Version | |
| OrderID | I_BillOfOperationsVersion | OrderID | Order ID | |
| _BillOfOperationsStatus | I_BillOfOperationsChangeState | _BillOfOperationsStatus | ||
| _BillOfOperationsUnit | I_BillOfOperationsChangeState | _BillOfOperationsUnit | ||
| _BillOfOperationsUsage | I_BillOfOperationsChangeState | _BillOfOperationsUsage | ||
| _ChangeMaster | I_BillOfOperationsChangeState | _ChangeMaster | ||
| _InspExtNumbering | I_BillOfOperationsChangeState | _InspExtNumbering | ||
| _InspLotDynamicRule | I_BillOfOperationsChangeState | _InspLotDynamicRule | ||
| _InspPartialLotAssignment | I_BillOfOperationsChangeState | _InspPartialLotAssignment | ||
| _InspSubsetFieldCombination | I_BillOfOperationsChangeState | _InspSubsetFieldCombination | ||
| _InspectionLotDynamicLevel | I_BillOfOperationsChangeState | _InspectionLotDynamicLevel | ||
| _MaintenanceStrategy | I_BillOfOperationsChangeState | _MaintenanceStrategy | ||
| _ProdnRtgReferenceVersion | _ProdnRtgReferenceVersion | |||
| _ResponsiblePlannerGroup | I_BillOfOperationsChangeState | _ResponsiblePlannerGroup | ||
| _SampleDrawingProcedure | I_BillOfOperationsChangeState | _SampleDrawingProcedure | ||
| _SmplDrwgProcedureVersion | I_BillOfOperationsChangeState | _SmplDrwgProcedureVersion | ||
| _WorkCenter | I_BillOfOperationsChangeState | _WorkCenter | ||
| _WorkCenterType | I_BillOfOperationsChangeState | _WorkCenterType | ||
| _Plant | _Plant | |||
| _BOOVersionStatus | I_BillOfOperationsVersion | _BOOVersionStatus | ||
| _BillOfOperations | I_BillOfOperationsVersion | _BillOfOperations | ||
| _BillOfOperationsGroup | I_BillOfOperationsVersion | _BillOfOperationsGroup | ||
| _BillOfOperationsType | I_BillOfOperationsVersion | _BillOfOperationsType | ||
| _CreatedByUser | I_BillOfOperationsVersion | _CreatedByUser | ||
| _LastChangedByUser | I_BillOfOperationsVersion | _LastChangedByUser | ||
| _WorkCenterBySemanticKey | _WorkCenterBySemanticKey | |||
| _BillOfOperationsVersionType | I_BillOfOperations | _BillOfOperationsVersionType |
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_ProductionRoutingVersion.
-- 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_ProductionRoutingVersion AS
SELECT
ProdnRtgVersion.BillOfOperationsType AS BillOfOperationsType,
ProdnRtgVersion.BillOfOperationsGroup AS BillOfOperationsGroup,
ProdnRtgVersion.BillOfOperationsVariant AS BillOfOperationsVariant,
ProdnRtgVersion.BillOfOperationsVersion AS BillOfOperationsVersion,
BillOfOperationChangeState.BOOInternalVersionCounter AS BOOInternalVersionCounter,
BillOfOperationChangeState.IsDeleted AS IsDeleted,
BillOfOperationChangeState.WorkCenterTypeCode AS WorkCenterTypeCode,
BillOfOperationChangeState.WorkCenterInternalID AS WorkCenterInternalID,
BillOfOperations.BillOfOperationsVersionType AS BillOfOperationsVersionType,
BillOfOperations.BillOfOperationsSubtype AS BillOfOperationsSubtype,
BillOfOperations.BillOfOperationsVariantDesc AS BillOfOperationsVariantDesc,
BillOfOperations.RoutingIsReworkRouting AS RoutingIsReworkRouting,
BillOfOperations.ProdnProcgIsFlexible AS ProdnProcgIsFlexible,
BillOfOperations.BillOfOperationIsExecutedInMES AS BillOfOperationIsExecutedInMES,
BillOfOperations.BillOfOperationsIsTrnsfdToERP AS BillOfOperationsIsTrnsfdToERP,
BillOfOperations.ShopFloorRtgTemplateCategory AS ShopFloorRtgTemplateCategory,
BillOfOperations.ShopFloorRoutingTemplateType AS ShopFloorRoutingTemplateType,
BillOfOperations.ShopFloorRtgTemplateSubType AS ShopFloorRtgTemplateSubType,
BillOfOperations.ShopFloorRoutingTemplateOwner AS ShopFloorRoutingTemplateOwner,
VersionedBillOfOperations.RoutingIsProductReworkRouting AS RoutingIsProductReworkRouting,
cast(BillOfOperationChangeState.Plant as pwwrk preserving type) AS Plant,
BillOfOperationChangeState.BillOfOperationsUsage AS BillOfOperationsUsage,
BillOfOperationChangeState.BillOfOperationsStatus AS BillOfOperationsStatus,
BillOfOperationChangeState.ResponsiblePlannerGroup AS ResponsiblePlannerGroup,
BillOfOperationChangeState._WorkCenter.WorkCenter AS WorkCenter,
BillOfOperationChangeState.MinimumLotSizeQuantity AS MinimumLotSizeQuantity,
BillOfOperationChangeState.MaximumLotSizeQuantity AS MaximumLotSizeQuantity,
cast(BillOfOperationChangeState.BillOfOperationsUnit as mpe_rtg_unit preserving type) AS BillOfOperationsUnit,
BillOfOperationChangeState.ReplacedBillOfOperations AS ReplacedBillOfOperations,
BillOfOperationChangeState.IsMarkedForDeletion AS IsMarkedForDeletion,
BillOfOperationChangeState.InspectionPartialLot AS InspectionPartialLot,
BillOfOperationChangeState.SmplDrawingProcedure AS SmplDrawingProcedure,
BillOfOperationChangeState.SmplDrawingProcedureVersion AS SmplDrawingProcedureVersion,
BillOfOperationChangeState.InspectionLotDynamicLevel AS InspectionLotDynamicLevel,
BillOfOperationChangeState.InspLotDynamicRule AS InspLotDynamicRule,
BillOfOperationChangeState.MaintenanceStrategy AS MaintenanceStrategy,
ProdnRtgVersion.CreatedByUser AS CreatedByUser,
ProdnRtgVersion.LastChangeDateTime AS LastChangeDateTime,
ProdnRtgVersion.LastChangedByUser AS LastChangedByUser,
BillOfOperationChangeState.ChangeNumber AS ChangeNumber,
BillOfOperationChangeState.ValidityEndDate AS ValidityEndDate,
BillOfOperationChangeState.LastUsageDate AS LastUsageDate,
BillOfOperationChangeState.NumberOfUsages AS NumberOfUsages,
ProdnRtgVersion.BillOfOperationsVersionStatus AS BillOfOperationsVersionStatus,
ProdnRtgVersion.IsLatestBOOVersion AS IsLatestBOOVersion,
ProdnRtgVersion.NumberOfBOOVersionSuccessors AS NumberOfBOOVersionSuccessors,
ProdnRtgVersion.BillOfOperationsRefType AS BillOfOperationsRefType,
ProdnRtgVersion.BillOfOperationsRefGroup AS BillOfOperationsRefGroup,
ProdnRtgVersion.BillOfOperationsRefVariant AS BillOfOperationsRefVariant,
ProdnRtgVersion.BOOReferenceVersion AS BOOReferenceVersion,
ProdnRtgVersion.OrderID AS OrderID,
BillOfOperationChangeState._BillOfOperationsStatus AS _BillOfOperationsStatus,
BillOfOperationChangeState._BillOfOperationsUnit AS _BillOfOperationsUnit,
BillOfOperationChangeState._BillOfOperationsUsage AS _BillOfOperationsUsage,
BillOfOperationChangeState._ChangeMaster AS _ChangeMaster,
BillOfOperationChangeState._InspExtNumbering AS _InspExtNumbering,
BillOfOperationChangeState._InspLotDynamicRule AS _InspLotDynamicRule,
BillOfOperationChangeState._InspPartialLotAssignment AS _InspPartialLotAssignment,
BillOfOperationChangeState._InspSubsetFieldCombination AS _InspSubsetFieldCombination,
BillOfOperationChangeState._InspectionLotDynamicLevel AS _InspectionLotDynamicLevel,
BillOfOperationChangeState._MaintenanceStrategy AS _MaintenanceStrategy,
BillOfOperationChangeState._ResponsiblePlannerGroup AS _ResponsiblePlannerGroup,
BillOfOperationChangeState._SampleDrawingProcedure AS _SampleDrawingProcedure,
BillOfOperationChangeState._SmplDrwgProcedureVersion AS _SmplDrwgProcedureVersion,
BillOfOperationChangeState._WorkCenter AS _WorkCenter,
BillOfOperationChangeState._WorkCenterType AS _WorkCenterType,
ProdnRtgVersion._BOOVersionStatus AS _BOOVersionStatus,
ProdnRtgVersion._BillOfOperations AS _BillOfOperations,
ProdnRtgVersion._BillOfOperationsGroup AS _BillOfOperationsGroup,
ProdnRtgVersion._BillOfOperationsType AS _BillOfOperationsType,
ProdnRtgVersion._CreatedByUser AS _CreatedByUser,
ProdnRtgVersion._LastChangedByUser AS _LastChangedByUser,
BillOfOperations._BillOfOperationsVersionType AS _BillOfOperationsVersionType
FROM I_BillOfOperationsVersion AS ProdnRtgVersion
INNER JOIN I_BillOfOperationsChangeState AS BillOfOperationChangeState ON /* join condition not captured in parsed metadata */
INNER JOIN I_BillOfOperations AS BillOfOperations ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WorkCenterBySemanticKey AS _WorkCenterBySemanticKey ON WorkCenter = _WorkCenterBySemanticKey.WorkCenter AND Plant = _WorkCenterBySemanticKey.Plant -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_ProductionRoutingVersion AS _ProdnRtgReferenceVersion ON BillOfOperationsType = _ProdnRtgReferenceVersion.BillOfOperationsType AND BillOfOperationsGroup = _ProdnRtgReferenceVersion.BillOfOperationsGroup AND BillOfOperationsVariant = _ProdnRtgReferenceVersion.BillOfOperationsVariant AND BOOReferenceVersion = _ProdnRtgReferenceVersion.BillOfOperationsVersion -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA