P_ProjMatBOMAssembly

DDL: P_PROJMATBOMASSEMBLY SQL: PMATBOMASSEMBLY Type: view BASIC

P_ProjMatBOMAssembly is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (I_SalesOrderBOMLink, I_Mast, I_Prst) and exposes 13 fields. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
I_SalesOrderBOMLink _kdst union_all
I_Mast _Mast from
I_Prst _prst union_all

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MaterialText _MaterialText $projection.Assembly = _MaterialText.Material

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PMATBOMASSEMBLY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view

Fields (13)

KeyFieldSource TableSource FieldDescription
BillOfMaterialCategory BillOfMaterialCategory BOM category
BillOfMaterial BillOfMaterial BOM
BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
Assembly Material Vehicle Model
MaterialBillOfMaterialCategory
BillOfMaterial BillOfMaterial BOM
BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
Assembly Material Vehicle Model
MaterialBillOfMaterialCategory
BillOfMaterial BillOfMaterial BOM
BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
Assembly Material Vehicle Model
AssemblyName

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_ProjMatBOMAssembly.
-- 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: PMATBOMASSEMBLY

CREATE VIEW P_ProjMatBOMAssembly AS
SELECT
  BillOfMaterialCategory,
  BillOfMaterial,
  BillOfMaterialVariant,
  Material AS Assembly,
  _MaterialText[Language = $session.system_language].MaterialName as AssemblyName AS MaterialBillOfMaterialCategory,
  _MaterialText[Language = $session.system_language].MaterialName AS AssemblyName
FROM I_Mast AS _Mast
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Assembly = _MaterialText.Material  -- association [0..*]
-- UNION ALL with additional select branch(es): I_SalesOrderBOMLink, I_Prst
;