C_DemandDrivenBOMComponents
Lists out BOM Components
C_DemandDrivenBOMComponents is a Consumption CDS View that provides data about "Lists out BOM Components" in SAP S/4HANA. It reads from 1 data source (I_DemandDrivenMaterialData) and exposes 26 fields with key fields Material, Plant, MRPArea. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_DemandDrivenMaterialData | I_DemandDrivenMaterialData | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_DmndDrivenSupDmndList | _SupDmndList | $projection.Material = _SupDmndList.Material and $projection.Plant = _SupDmndList.Plant and $projection.MRPArea = _SupDmndList.MRPArea |
| [1..*] | C_ProductStockRqmtListChart | _BufferedChart | $projection.Material = _BufferedChart.Material and $projection.Plant = _BufferedChart.Plant and $projection.MRPArea = _BufferedChart.MRPArea |
| [1..*] | C_DDProjtdStkChart | _ProjtdStkChart | $projection.Material = _ProjtdStkChart.Material and $projection.Plant = _ProjtdStkChart.Plant and $projection.MRPArea = _ProjtdStkChart.MRPArea |
| [0..*] | C_ProductPlantTextInfo | _Note | $projection.Material = _Note.Product and $projection.Plant = _Note.Plant |
| [1..*] | I_ProductUnitsOfMeasure | _Unit | $projection.Material = _Unit.Product |
| [0..*] | C_DDMaterialSOS | _MatSOS | $projection.Material = _MatSOS.Material and $projection.Plant = _MatSOS.Plant and $projection.MRPArea = _MatSOS.MRPArea |
| [1..1] | C_ProductInformation | _ProductInfo | $projection.Material = _ProductInfo.Material and $projection.Plant = _ProductInfo.Plant and $projection.MRPArea = _ProductInfo.MRPArea |
| [0..*] | C_DmndDrivenSupOrder | _DDOrderCRUD | $projection.Material = _DDOrderCRUD.Material and $projection.Plant = _DDOrderCRUD.Plant and $projection.MRPArea = _DDOrderCRUD.MRPArea |
| [0..*] | C_DDOrderDetails | _DDOrderDetails | $projection.Material = _DDOrderDetails.Material and $projection.Plant = _DDOrderDetails.Plant |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDDBOMCOMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Lists out BOM Components | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | ||
| KEY | Plant | Plant | ||
| KEY | MRPArea | MRPArea | ||
| BillOfMaterialComponent | Material | |||
| MaterialName | ||||
| MRPType | _MRPType | MRPType | ||
| MRPTypeName | ||||
| MRPProcedure | _MRPType | MRPProcedure | ||
| MRPController | I_DemandDrivenMaterialData | MRPController | ||
| BillOfMaterialItemNodeNumber | ||||
| BOMExplosionLevel | ||||
| ParentNode | ||||
| DemandDrivenBOMCompDrillState | ||||
| BOMItemNodeCount | 0 | |||
| SolutionRank | 0 | |||
| MaterialShortageStatus | ||||
| BOMItemReferenceID | ||||
| MaterialBOMObjectID | ||||
| DecoupledLeadTime | 0 | |||
| IndividualLeadTime | 0 | |||
| _Note | _Note | |||
| _Unit | _Unit | |||
| _SupDmndList | _SupDmndList | |||
| _DDOrderCRUD | _DDOrderCRUD | |||
| _MatSOS | _MatSOS | |||
| _DDOrderDetails | _DDOrderDetails |
@AbapCatalog.sqlViewName: 'CDDBOMCOMP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Lists out BOM Components'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #X, sizeCategory: #XXL, dataClass: #MIXED}
@VDM.viewType: #CONSUMPTION
@Hierarchy.parentChild: [{ recurse: {parent: 'Material', child: 'BillOfMaterialComponent'} }]
define view C_DemandDrivenBOMComponents
as select from I_DemandDrivenMaterialData
association [0..*] to C_DmndDrivenSupDmndList as _SupDmndList on $projection.Material = _SupDmndList.Material
and $projection.Plant = _SupDmndList.Plant
and $projection.MRPArea = _SupDmndList.MRPArea
association [1..*] to C_ProductStockRqmtListChart as _BufferedChart on $projection.Material = _BufferedChart.Material
and $projection.Plant = _BufferedChart.Plant
and $projection.MRPArea = _BufferedChart.MRPArea
association [1..*] to C_DDProjtdStkChart as _ProjtdStkChart on $projection.Material = _ProjtdStkChart.Material
and $projection.Plant = _ProjtdStkChart.Plant
and $projection.MRPArea = _ProjtdStkChart.MRPArea
association [0..*] to C_ProductPlantTextInfo as _Note on $projection.Material = _Note.Product
and $projection.Plant = _Note.Plant
association [1..*] to I_ProductUnitsOfMeasure as _Unit on $projection.Material = _Unit.Product
association [0..*] to C_DDMaterialSOS as _MatSOS on $projection.Material = _MatSOS.Material
and $projection.Plant = _MatSOS.Plant
and $projection.MRPArea = _MatSOS.MRPArea
association [1..1] to C_ProductInformation as _ProductInfo on $projection.Material = _ProductInfo.Material
and $projection.Plant = _ProductInfo.Plant
and $projection.MRPArea = _ProductInfo.MRPArea
association [0..*] to C_DmndDrivenSupOrder as _DDOrderCRUD on $projection.Material = _DDOrderCRUD.Material
and $projection.Plant = _DDOrderCRUD.Plant
and $projection.MRPArea = _DDOrderCRUD.MRPArea
association [0..*] to C_DDOrderDetails as _DDOrderDetails on $projection.Material = _DDOrderDetails.Material
and $projection.Plant = _DDOrderDetails.Plant
{
key Material,
key Plant,
key MRPArea,
Material as BillOfMaterialComponent,
cast('' as maktx) as MaterialName,
_MRPType.MRPType as MRPType,
cast('' as dibez) as MRPTypeName,
_MRPType.MRPProcedure as MRPProcedure,
I_DemandDrivenMaterialData.MRPController as MRPController,
cast(0 as abap.int4) as BillOfMaterialItemNodeNumber,
cast(0 as abap.int4) as BOMExplosionLevel,
cast(0 as abap.int4) as ParentNode,
cast('expanded' as dtinf_hierarchy_drill_state) as DemandDrivenBOMCompDrillState,
0 as BOMItemNodeCount,
0 as SolutionRank,
cast('' as abap.char( 1 )) as MaterialShortageStatus,
cast('' as abap.char( 60 )) as BOMItemReferenceID,
cast('' as abap.char( 60 )) as MaterialBOMObjectID,
0 as DecoupledLeadTime,
0 as IndividualLeadTime,
_Note,
_Unit,
_SupDmndList,
//_ProductInfo,
_DDOrderCRUD,
_MatSOS,
_DDOrderDetails
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DEMANDDRIVENMATERIALDATA",
"I_MRPTYPE"
],
"ASSOCIATED":
[
"C_DDMATERIALSOS",
"C_DDORDERDETAILS",
"C_DDPROJTDSTKCHART",
"C_DMNDDRIVENSUPDMNDLIST",
"C_DMNDDRIVENSUPORDER",
"C_PRODUCTINFORMATION",
"C_PRODUCTPLANTTEXTINFO",
"C_PRODUCTSTOCKRQMTLISTCHART",
"I_PRODUCTUNITSOFMEASURE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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