I_BOOVersionHeader
Versioned Routing Header
I_BOOVersionHeader is a Composite CDS View that provides data about "Versioned Routing Header" in SAP S/4HANA. It reads from 4 data sources (I_BillOfOperationsChangeState, I_BillOfOperations, P_LatestBOOperationChangeState, I_BillOfOperationsVersion) and exposes 30 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant, BillOfOperationsVersion. It has 2 associations to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_BillOfOperationsChangeState | BillOfOperationChangeState | inner |
| I_BillOfOperations | BillOfOperations | inner |
| P_LatestBOOperationChangeState | LastRoutingVersion | inner |
| I_BillOfOperationsVersion | ProdnRtgVersion | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_VersionedBillOfOperations | VersionedBillOfOperations | VersionedBillOfOperations.BillOfOperationsType = ProdnRtgVersion.BillOfOperationsType and VersionedBillOfOperations.BillOfOperationsGroup = ProdnRtgVersion.BillOfOperationsGroup and VersionedBillOfOperations.BillOfOperationsVariant = ProdnRtgVersion.BillOfOperationsVariant |
| [0..1] | E_ProductionRoutingHeader | _Extension | $projection.BillOfOperationsType = _Extension.BillOfOperationsType and $projection.BillOfOperationsGroup = _Extension.ProductionRoutingGroup and $projection.BillOfOperationsVariant = _Extension.ProductionRouting and $projection.BOOInternalVersionCounter = _Extension.ProductionRoutingInternalVers |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | Versioned Routing Header | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (30)
| 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. | |
| BillOfOperationsVersionType | I_BillOfOperations | BillOfOperationsVersionType | 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 | ||
| WorkCenterTypeCode | I_BillOfOperationsChangeState | WorkCenterTypeCode | Object Type | |
| WorkCenterInternalID | I_BillOfOperationsChangeState | WorkCenterInternalID | Work Center | |
| WorkCenter | ||||
| BillOfOperationsDesc | ||||
| Plant | ||||
| BillOfOperationsUsage | I_BillOfOperationsChangeState | BillOfOperationsUsage | Work Center Category | |
| BillOfOperationsStatus | I_BillOfOperationsChangeState | BillOfOperationsStatus | Vehicle Status | |
| ResponsiblePlannerGroup | I_BillOfOperationsChangeState | ResponsiblePlannerGroup | Prodn Supervisor | |
| MinimumLotSizeQuantity | I_BillOfOperationsChangeState | MinimumLotSizeQuantity | Min. Lot Size | |
| MaximumLotSizeQuantity | I_BillOfOperationsChangeState | MaximumLotSizeQuantity | Max. Lot Size | |
| BillOfOperationsUnit | ||||
| InspSubsetFieldCombination | ||||
| BillOfOperationsVersionStatus | I_BillOfOperationsVersion | BillOfOperationsVersionStatus | Workflow Status | |
| IsLatestBOOVersion | I_BillOfOperationsVersion | IsLatestBOOVersion | Last Rel. Vers. |
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_BOOVersionHeader.
-- 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_BOOVersionHeader AS
SELECT
ProdnRtgVersion.BillOfOperationsType AS BillOfOperationsType,
ProdnRtgVersion.BillOfOperationsGroup AS BillOfOperationsGroup,
ProdnRtgVersion.BillOfOperationsVariant AS BillOfOperationsVariant,
ProdnRtgVersion.BillOfOperationsVersion AS BillOfOperationsVersion,
BillOfOperationChangeState.BOOInternalVersionCounter AS BOOInternalVersionCounter,
BillOfOperations.BillOfOperationsVersionType AS BillOfOperationsVersionType,
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,
BillOfOperationChangeState.WorkCenterTypeCode AS WorkCenterTypeCode,
BillOfOperationChangeState.WorkCenterInternalID AS WorkCenterInternalID,
BillOfOperationChangeState._WorkCenter.WorkCenter AS WorkCenter,
cast(BillOfOperationChangeState.BillOfOperationsDesc as mpe_rtg_version_description preserving type) AS BillOfOperationsDesc,
cast(BillOfOperationChangeState.Plant as pwwrk preserving type) AS Plant,
BillOfOperationChangeState.BillOfOperationsUsage AS BillOfOperationsUsage,
BillOfOperationChangeState.BillOfOperationsStatus AS BillOfOperationsStatus,
BillOfOperationChangeState.ResponsiblePlannerGroup AS ResponsiblePlannerGroup,
BillOfOperationChangeState.MinimumLotSizeQuantity AS MinimumLotSizeQuantity,
BillOfOperationChangeState.MaximumLotSizeQuantity AS MaximumLotSizeQuantity,
cast(BillOfOperationChangeState.BillOfOperationsUnit as mpe_rtg_unit preserving type) AS BillOfOperationsUnit,
ProdnRtgVersion.BillOfOperationsVersionStatus AS BillOfOperationsVersionStatus,
ProdnRtgVersion.IsLatestBOOVersion AS IsLatestBOOVersion
FROM I_BillOfOperationsVersion AS ProdnRtgVersion
INNER JOIN I_BillOfOperationsChangeState AS BillOfOperationChangeState ON /* join condition not captured in parsed metadata */
INNER JOIN P_LatestBOOperationChangeState AS LastRoutingVersion 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_VersionedBillOfOperations AS VersionedBillOfOperations ON VersionedBillOfOperations.BillOfOperationsType = ProdnRtgVersion.BillOfOperationsType AND VersionedBillOfOperations.BillOfOperationsGroup = ProdnRtgVersion.BillOfOperationsGroup AND VersionedBillOfOperations.BillOfOperationsVariant = ProdnRtgVersion.BillOfOperationsVariant -- association [0..1]
LEFT OUTER JOIN E_ProductionRoutingHeader AS _Extension ON BillOfOperationsType = _Extension.BillOfOperationsType AND BillOfOperationsGroup = _Extension.ProductionRoutingGroup AND BillOfOperationsVariant = _Extension.ProductionRouting AND BOOInternalVersionCounter = _Extension.ProductionRoutingInternalVers -- 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