P_NVrsEngBOMWithOpenCRAssgnmnt

DDL: P_NVRSENGBOMWITHOPENCRASSGNMNT SQL: PNVRSEBOMOPENCR Type: view COMPOSITE

P_NVrsEngBOMWithOpenCRAssgnmnt is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_NonVrsEngBillofMaterial, P_EngBOMAndPlngScpAssgd) and exposes 13 fields with key fields BillOfMaterialCategory, BillOfMaterial, BillOfMaterialVariant, Material, Plant.

Data Sources (2)

SourceAliasJoin Type
P_NonVrsEngBillofMaterial NonVersEngBOM from
P_EngBOMAndPlngScpAssgd NonVersEngBOMAssignedToCR inner

Annotations (9)

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

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterialCategory P_NonVrsEngBillofMaterial BillOfMaterialCategory BOM category
KEY BillOfMaterial P_NonVrsEngBillofMaterial BillOfMaterial BOM
KEY BillOfMaterialVariant P_NonVrsEngBillofMaterial BillOfMaterialVariant AlternativeBOM
KEY Material P_NonVrsEngBillofMaterial Material Vehicle Model
KEY Plant P_NonVrsEngBillofMaterial Plant Valuation Area
KEY ChangeRecordUUID P_EngBOMAndPlngScpAssgd ChangeRecordUUID NodeID
KEY ChangeRecordRefPlngScpUUID P_EngBOMAndPlngScpAssgd ChangeRecordRefPlngScpUUID UUID
BillOfMaterialVersion P_NonVrsEngBillofMaterial BillOfMaterialVersion BOM Version
BillOfMaterialVariantUsage P_NonVrsEngBillofMaterial BillOfMaterialVariantUsage Usage
ChangeRecord P_EngBOMAndPlngScpAssgd ChangeRecord Char20
ChgRecdEngEffectiveDate P_EngBOMAndPlngScpAssgd ChgRecdEngEffectiveDate
LastChgStForBOMItm P_NonVrsEngBillofMaterial LastChgStForBOMItm
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_NVrsEngBOMWithOpenCRAssgnmnt.
-- 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: PNVRSEBOMOPENCR

CREATE VIEW P_NVrsEngBOMWithOpenCRAssgnmnt AS
SELECT
  NonVersEngBOM.BillOfMaterialCategory AS BillOfMaterialCategory,
  NonVersEngBOM.BillOfMaterial AS BillOfMaterial,
  NonVersEngBOM.BillOfMaterialVariant AS BillOfMaterialVariant,
  NonVersEngBOM.Material AS Material,
  NonVersEngBOM.Plant AS Plant,
  NonVersEngBOMAssignedToCR.ChangeRecordUUID AS ChangeRecordUUID,
  NonVersEngBOMAssignedToCR.ChangeRecordRefPlngScpUUID AS ChangeRecordRefPlngScpUUID,
  NonVersEngBOM.BillOfMaterialVersion AS BillOfMaterialVersion,
  NonVersEngBOM.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
  NonVersEngBOMAssignedToCR.ChangeRecord AS ChangeRecord,
  NonVersEngBOMAssignedToCR.ChgRecdEngEffectiveDate AS ChgRecdEngEffectiveDate,
  NonVersEngBOM.LastChgStForBOMItm AS LastChgStForBOMItm,
  NonVersEngBOMAssignedToCR._PlngScp.Plant AS ProductionPlant
FROM P_NonVrsEngBillofMaterial AS NonVersEngBOM
INNER JOIN P_EngBOMAndPlngScpAssgd AS NonVersEngBOMAssignedToCR ON /* join condition not captured in parsed metadata */
;