P_VersEngBOMWithCRAssignment

DDL: P_VERSENGBOMWITHCRASSIGNMENT SQL: PVERSEBOMCR Type: view COMPOSITE

P_VersEngBOMWithCRAssignment is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_VersEngBillOfMaterial, P_EngBOMAndPlngScpAssgd) and exposes 10 fields with key fields BillOfMaterialCategory, BillOfMaterial, BillOfMaterialVariant, BillOfMaterialVersion, Material.

Data Sources (2)

SourceAliasJoin Type
P_VersEngBillOfMaterial VersEngBOM from
P_EngBOMAndPlngScpAssgd VersEngBOMAssignedToCR inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PVERSEBOMCR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterialCategory P_VersEngBillOfMaterial BillOfMaterialCategory BOM category
KEY BillOfMaterial P_VersEngBillOfMaterial BillOfMaterial BOM
KEY BillOfMaterialVariant P_VersEngBillOfMaterial BillOfMaterialVariant AlternativeBOM
KEY BillOfMaterialVersion P_VersEngBillOfMaterial BillOfMaterialVersion BOM Version
KEY Material P_VersEngBillOfMaterial Material Vehicle Model
KEY Plant P_VersEngBillOfMaterial Plant Valuation Area
KEY ChangeRecordUUID P_EngBOMAndPlngScpAssgd ChangeRecordUUID NodeID
KEY ChangeRecordRefPlngScpUUID P_EngBOMAndPlngScpAssgd ChangeRecordRefPlngScpUUID UUID
ChangeRecord P_EngBOMAndPlngScpAssgd ChangeRecord Char20
ProductionPlant

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_VersEngBOMWithCRAssignment.
-- 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: PVERSEBOMCR

CREATE VIEW P_VersEngBOMWithCRAssignment AS
SELECT
  VersEngBOM.BillOfMaterialCategory AS BillOfMaterialCategory,
  VersEngBOM.BillOfMaterial AS BillOfMaterial,
  VersEngBOM.BillOfMaterialVariant AS BillOfMaterialVariant,
  VersEngBOM.BillOfMaterialVersion AS BillOfMaterialVersion,
  VersEngBOM.Material AS Material,
  VersEngBOM.Plant AS Plant,
  VersEngBOMAssignedToCR.ChangeRecordUUID AS ChangeRecordUUID,
  VersEngBOMAssignedToCR.ChangeRecordRefPlngScpUUID AS ChangeRecordRefPlngScpUUID,
  VersEngBOMAssignedToCR.ChangeRecord AS ChangeRecord,
  VersEngBOMAssignedToCR._PlngScp.Plant AS ProductionPlant
FROM P_VersEngBillOfMaterial AS VersEngBOM
INNER JOIN P_EngBOMAndPlngScpAssgd AS VersEngBOMAssignedToCR ON /* join condition not captured in parsed metadata */
;