C_ProdnRtgVersAssignableBOM
Routing Version Assignable BOM
C_ProdnRtgVersAssignableBOM is a Consumption CDS View that provides data about "Routing Version Assignable BOM" in SAP S/4HANA. It reads from 4 data sources (I_MaterialBOM, I_Material, I_MaterialTypeToBOOType, I_MfgBOMUsages) and exposes 27 fields with key fields BillOfMaterialVariantUsage, BillOfMaterial, BillOfMaterialVariant, BillOfMaterialCategory, BillOfMaterialVersion. It has 4 associations to related views. Part of development package MPE_PLAN_RTG_VERS.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialBOM | AssignableBOM | from |
| I_Material | Material | inner |
| I_MaterialTypeToBOOType | MaterialTypeToBOOType | inner |
| I_MfgBOMUsages | MfgBOMUsage | inner |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..1] | C_MngProdnRtgPlantMaterialVH | _MngProdnRtgPlantMaterialVH | $projection.Plant = _MngProdnRtgPlantMaterialVH.MRPPlant and $projection.Material = _MngProdnRtgPlantMaterialVH.Material |
| [0..*] | I_ProductionVersion | _ProductionVersion | $projection.Material = _ProductionVersion.Material and $projection.Plant = _ProductionVersion.Plant |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Manage Routing Assignable BOM List | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | BillOfMaterial | view | |
| EndUserText.label | Routing Version Assignable BOM | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfMaterialVariantUsage | I_MaterialBOM | BillOfMaterialVariantUsage | Usage |
| KEY | BillOfMaterial | I_MaterialBOM | BillOfMaterial | BOM |
| KEY | BillOfMaterialVariant | I_MaterialBOM | BillOfMaterialVariant | AlternativeBOM |
| KEY | BillOfMaterialCategory | I_MaterialBOM | BillOfMaterialCategory | BOM category |
| KEY | BillOfMaterialVersion | I_MaterialBOM | BillOfMaterialVersion | BOM Version |
| BOMHeaderText | I_MaterialBOM | BOMHeaderText | BOM Description | |
| BOMAlternativeText | I_MaterialBOM | BOMAlternativeText | Alt Text | |
| Material | I_MaterialBOM | Material | Vehicle Model | |
| Plant | I_MaterialBOM | Plant | Valuation Area | |
| BOMHeaderBaseUnit | I_MaterialBOM | BOMHeaderBaseUnit | Base UoM | |
| EngineeringChangeDocument | I_MaterialBOM | EngineeringChangeDocument | Change Number | |
| IsVersionBillOfMaterial | I_MaterialBOM | IsVersionBillOfMaterial | Versioning Relevant | |
| IsLatestBOMVersion | I_MaterialBOM | IsLatestBOMVersion | Latest Rel Version | |
| BOMVersionStatus | I_MaterialBOM | BOMVersionStatus | BOM Version Status | |
| ValidityStartDate | ||||
| ValidityEndDate | ||||
| RecordCreationDate | I_MaterialBOM | RecordCreationDate | Created On | |
| CreatedByUser | ||||
| LastChangeDate | I_MaterialBOM | LastChangeDate | Time Stamp | |
| LastChangedByUser | ||||
| LastChangeDateTime | I_MaterialBOM | LastChangeDateTime | Timestamp | |
| _BillOfMaterialVariantUsage | ||||
| _BOMChangeNumbers | I_MaterialBOM | _BOMChangeNumbers | ||
| _Material | _Material | |||
| _Plant | _Plant | |||
| _MngProdnRtgPlantMaterialVH | _MngProdnRtgPlantMaterialVH | |||
| _ProductionVersion | _ProductionVersion |
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 C_ProdnRtgVersAssignableBOM.
-- 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 C_ProdnRtgVersAssignableBOM AS
SELECT
AssignableBOM.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
AssignableBOM.BillOfMaterial AS BillOfMaterial,
AssignableBOM.BillOfMaterialVariant AS BillOfMaterialVariant,
AssignableBOM.BillOfMaterialCategory AS BillOfMaterialCategory,
AssignableBOM.BillOfMaterialVersion AS BillOfMaterialVersion,
AssignableBOM.BOMHeaderText AS BOMHeaderText,
AssignableBOM.BOMAlternativeText AS BOMAlternativeText,
AssignableBOM.Material AS Material,
AssignableBOM.Plant AS Plant,
AssignableBOM.BOMHeaderBaseUnit AS BOMHeaderBaseUnit,
AssignableBOM.EngineeringChangeDocument AS EngineeringChangeDocument,
AssignableBOM.IsVersionBillOfMaterial AS IsVersionBillOfMaterial,
AssignableBOM.IsLatestBOMVersion AS IsLatestBOMVersion,
AssignableBOM.BOMVersionStatus AS BOMVersionStatus,
cast(AssignableBOM.HeaderValidityStartDate as pph_begda preserving type) AS ValidityStartDate,
cast(AssignableBOM.HeaderValidityEndDate as pph_endda preserving type) AS ValidityEndDate,
AssignableBOM.RecordCreationDate AS RecordCreationDate,
cast(AssignableBOM.CreatedByUser as vdm_createdbyuserid preserving type) AS CreatedByUser,
AssignableBOM.LastChangeDate AS LastChangeDate,
cast(AssignableBOM.LastChangedByUser as vdm_lastchangedbyuserid preserving type) AS LastChangedByUser,
AssignableBOM.LastChangeDateTime AS LastChangeDateTime,
AssignableBOM._BOMChangeNumbers AS _BOMChangeNumbers
FROM I_MaterialBOM AS AssignableBOM
INNER JOIN I_MfgBOMUsages AS MfgBOMUsage ON /* join condition not captured in parsed metadata */
INNER JOIN I_Material AS Material ON /* join condition not captured in parsed metadata */
INNER JOIN I_MaterialTypeToBOOType AS MaterialTypeToBOOType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN C_MngProdnRtgPlantMaterialVH AS _MngProdnRtgPlantMaterialVH ON Plant = _MngProdnRtgPlantMaterialVH.MRPPlant AND Material = _MngProdnRtgPlantMaterialVH.Material -- association [1..1]
LEFT OUTER JOIN I_ProductionVersion AS _ProductionVersion ON Material = _ProductionVersion.Material AND Plant = _ProductionVersion.Plant -- association [0..*]
;
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