C_ChgImpactMBOMDets
Consumption View For MBOM
C_ChgImpactMBOMDets is a Consumption CDS View that provides data about "Consumption View For MBOM" in SAP S/4HANA. It reads from 1 data source (I_ChgImpactMBOMReltdObj) and exposes 25 fields with key fields BillOfMaterial, BillOfMaterialCategory, BillOfMaterialVariant, BillOfMaterialVersion, Plant. It has 5 associations to related views. Part of development package MPE_PLAN_CIMA.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChgImpactMBOMReltdObj | MfgBOM | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material |
| [0..1] | I_Plant | _PlantText | $projection.Plant = _PlantText.Plant |
| [0..*] | I_BillOfMaterialUsageText | _BOMUsageText | $projection.BillOfMaterialVariantUsage = _BOMUsageText.BillOfMaterialVariantUsage |
| [0..*] | C_ChgImpactBOMItem | _MfgBOMItem | $projection.BillOfMaterial = _MfgBOMItem.BillOfMaterial and $projection.BillOfMaterialCategory = _MfgBOMItem.BillOfMaterialCategory and $projection.BillOfMaterialVariant = _MfgBOMItem.BillOfMaterialVariant and $projection.BillOfMaterialVersion = _MfgBOMItem.BillOfMaterialVersion |
| [0..1] | I_VersionStatus | _VersionStatus | $projection.BOMVersionStatus = _VersionStatus.BOMVersionStatus and _VersionStatus.Language = $session.system_language |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCHGIMPCTMBOM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption View For MBOM | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| UI.headerInfo.title.value | Material | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfMaterial | I_ChgImpactMBOMReltdObj | BillOfMaterial | BOM |
| KEY | BillOfMaterialCategory | I_ChgImpactMBOMReltdObj | BillOfMaterialCategory | BOM category |
| KEY | BillOfMaterialVariant | I_ChgImpactMBOMReltdObj | BillOfMaterialVariant | AlternativeBOM |
| KEY | BillOfMaterialVersion | I_ChgImpactMBOMReltdObj | BillOfMaterialVersion | BOM Version |
| KEY | Plant | I_ChgImpactMBOMReltdObj | Plant | Plant |
| BillOfMaterialHeaderUUID | I_ChgImpactMBOMReltdObj | BillOfMaterialHeaderUUID | Guid | |
| BOMHeaderText | I_ChgImpactMBOMReltdObj | BOMHeaderText | BOM Description | |
| Material | Material | Vehicle Model | ||
| MaterialName | ||||
| BillOfMaterialVariantUsage | I_ChgImpactMBOMReltdObj | BillOfMaterialVariantUsage | Usage | |
| BillOfMaterialVariantUsageDesc | ||||
| BillOfMaterialStatus | I_ChgImpactMBOMReltdObj | BillOfMaterialStatus | BOM Status | |
| BOMVersionStatus | I_ChgImpactMBOMReltdObj | BOMVersionStatus | BOM Version Status | |
| HeaderValidityEndDate | I_ChgImpactMBOMReltdObj | HeaderValidityEndDate | to | |
| ProductionPlant | ||||
| ValidityStartDate | ||||
| ValidityEndDate | ||||
| PlantName | _PlantText | PlantName | Plant Name | |
| EffectivityType | EffectivityType | |||
| IsMaterialUnitized | IsMaterialUnitized | |||
| BOMVersionStatusDescription | _VersionStatus | BOMVersionStatusDescription | Short Description | |
| _MaterialText | _MaterialText | |||
| _MfgBOMItem | _MfgBOMItem | |||
| _PlantText | _PlantText | |||
| _BOMUsageText | _BOMUsageText |
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_ChgImpactMBOMDets.
-- 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: CCHGIMPCTMBOM
CREATE VIEW C_ChgImpactMBOMDets AS
SELECT
MfgBOM.BillOfMaterial AS BillOfMaterial,
MfgBOM.BillOfMaterialCategory AS BillOfMaterialCategory,
MfgBOM.BillOfMaterialVariant AS BillOfMaterialVariant,
MfgBOM.BillOfMaterialVersion AS BillOfMaterialVersion,
MfgBOM.Plant AS Plant,
MfgBOM.BillOfMaterialHeaderUUID AS BillOfMaterialHeaderUUID,
MfgBOM.BOMHeaderText AS BOMHeaderText,
Material,
_MaterialText[1:Language = $session.system_language].MaterialName AS MaterialName,
MfgBOM.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
_BOMUsageText[1:Language = $session.system_language].BillOfMaterialVariantUsageDesc AS BillOfMaterialVariantUsageDesc,
MfgBOM.BillOfMaterialStatus AS BillOfMaterialStatus,
MfgBOM.BOMVersionStatus AS BOMVersionStatus,
MfgBOM.HeaderValidityEndDate AS HeaderValidityEndDate,
cast('0000' as werks_d) AS ProductionPlant,
cast('00000000'as abap.dats) AS ValidityStartDate,
cast('00000000'as abap.dats) AS ValidityEndDate,
_PlantText.PlantName AS PlantName,
EffectivityType,
IsMaterialUnitized,
_VersionStatus.BOMVersionStatusDescription AS BOMVersionStatusDescription
FROM I_ChgImpactMBOMReltdObj AS MfgBOM
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material -- association [0..*]
LEFT OUTER JOIN I_Plant AS _PlantText ON Plant = _PlantText.Plant -- association [0..1]
LEFT OUTER JOIN I_BillOfMaterialUsageText AS _BOMUsageText ON BillOfMaterialVariantUsage = _BOMUsageText.BillOfMaterialVariantUsage -- association [0..*]
LEFT OUTER JOIN C_ChgImpactBOMItem AS _MfgBOMItem ON BillOfMaterial = _MfgBOMItem.BillOfMaterial AND BillOfMaterialCategory = _MfgBOMItem.BillOfMaterialCategory AND BillOfMaterialVariant = _MfgBOMItem.BillOfMaterialVariant AND BillOfMaterialVersion = _MfgBOMItem.BillOfMaterialVersion -- association [0..*]
LEFT OUTER JOIN I_VersionStatus AS _VersionStatus ON BOMVersionStatus = _VersionStatus.BOMVersionStatus AND _VersionStatus.Language = $session.system_language -- 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