P_BOMDwnStreamDirectParent

DDL: P_BOMDWNSTREAMDIRECTPARENT SQL: PBOMDWNSTREAMDP Type: view CONSUMPTION

BOM downstream direct parent product

P_BOMDwnStreamDirectParent is a Consumption CDS View that provides data about "BOM downstream direct parent product" in SAP S/4HANA. It reads from 1 data source (P_BOMDwnStreamDirectParent1) and exposes 8 fields with key fields Material, Plant, MRPArea, BillOfMaterialComponent, BillOfMaterialVariantUsage. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_BOMDwnStreamDirectParent1 P_BOMDwnStreamDirectParent1 from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_ProductPlantMRPArea _ProductPlantMRPArea $projection.Material = _ProductPlantMRPArea.Material and $projection.Plant = _ProductPlantMRPArea.Plant

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PBOMDWNSTREAMDP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label BOM downstream direct parent product view
VDM.viewType #CONSUMPTION view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY MRPArea _ProductPlantMRPArea MRPArea MRP Area
KEY BillOfMaterialComponent BillOfMaterialComponent Component
KEY BillOfMaterialVariantUsage BillOfMaterialVariantUsage Usage
BillOfMaterialCategory BillOfMaterialCategory BOM category
IsBulkMaterial _ProductPlantMRPArea IsBulkMaterial Bulk material
IsPhantomItem _ProductPlantMRPArea IsPhantomItem Phantom item

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 P_BOMDwnStreamDirectParent.
-- 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: PBOMDWNSTREAMDP

CREATE VIEW P_BOMDwnStreamDirectParent AS
SELECT
  Material,
  Plant,
  _ProductPlantMRPArea.MRPArea AS MRPArea,
  BillOfMaterialComponent,
  BillOfMaterialVariantUsage,
  BillOfMaterialCategory,
  _ProductPlantMRPArea.IsBulkMaterial AS IsBulkMaterial,
  _ProductPlantMRPArea.IsPhantomItem AS IsPhantomItem
FROM P_BOMDwnStreamDirectParent1
LEFT OUTER JOIN I_ProductPlantMRPArea AS _ProductPlantMRPArea ON Material = _ProductPlantMRPArea.Material AND Plant = _ProductPlantMRPArea.Plant  -- association [1..*]
;