P_VersMfgBOMPlntCRChck

DDL: P_VERSMFGBOMPLNTCRCHCK SQL: PVERSMBOMCRCHECK Type: view COMPOSITE

P_VersMfgBOMPlntCRChck is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_VersMfgBOMwithOpenCRAssgd, P_VersMFGBillofMaterial) and exposes 23 fields with key fields BillOfMaterial, BillOfMaterialCategory, BillOfMaterialVariant, BillOfMaterialVersion, Plant.

Data Sources (2)

SourceAliasJoin Type
P_VersMfgBOMwithOpenCRAssgd AssociatedCR left_outer
P_VersMFGBillofMaterial VersMfgBOM from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PVERSMBOMCRCHECK 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.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterial P_VersMFGBillofMaterial BillOfMaterial BOM
KEY BillOfMaterialCategory P_VersMFGBillofMaterial BillOfMaterialCategory BOM category
KEY BillOfMaterialVariant P_VersMFGBillofMaterial BillOfMaterialVariant AlternativeBOM
KEY BillOfMaterialVersion P_VersMFGBillofMaterial BillOfMaterialVersion BOM Version
KEY Plant P_VersMFGBillofMaterial Plant Valuation Area
KEY ChangeRecordUUID P_VersMfgBOMwithOpenCRAssgd ChangeRecordUUID NodeID
BOMHeaderBaseUnit P_VersMFGBillofMaterial BOMHeaderBaseUnit Base UoM
BillOfMaterialHeaderUUID P_VersMFGBillofMaterial BillOfMaterialHeaderUUID Guid
BillOfMaterialStatus P_VersMFGBillofMaterial BillOfMaterialStatus BOM Status
BillOfMaterialUUID P_VersMFGBillofMaterial BillOfMaterialUUID Character Field of Length 12
BillOfMaterialVariantUsage P_VersMFGBillofMaterial BillOfMaterialVariantUsage Usage
CreatedByUser P_VersMFGBillofMaterial CreatedByUser User Name
EngineeringChangeDocument P_VersMFGBillofMaterial EngineeringChangeDocument Change Number
LastChangeDate P_VersMFGBillofMaterial LastChangeDate Time Stamp
LastChangedByUser P_VersMFGBillofMaterial LastChangedByUser User Name
RecordCreationDate P_VersMFGBillofMaterial RecordCreationDate Created On
Material P_VersMFGBillofMaterial Material Vehicle Model
ChangeRecord P_VersMfgBOMwithOpenCRAssgd ChangeRecord Char20
ChgRecdAssgd
IsMaterialUnitized P_VersMFGBillofMaterial IsMaterialUnitized
_BillOfMaterialItem P_VersMFGBillofMaterial _BillOfMaterialItem
_BillOfMaterialVariantUsage P_VersMFGBillofMaterial _BillOfMaterialVariantUsage
_UnitOfMeasure P_VersMFGBillofMaterial _UnitOfMeasure

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_VersMfgBOMPlntCRChck.
-- 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: PVERSMBOMCRCHECK

CREATE VIEW P_VersMfgBOMPlntCRChck AS
SELECT
  VersMfgBOM.BillOfMaterial AS BillOfMaterial,
  VersMfgBOM.BillOfMaterialCategory AS BillOfMaterialCategory,
  VersMfgBOM.BillOfMaterialVariant AS BillOfMaterialVariant,
  VersMfgBOM.BillOfMaterialVersion AS BillOfMaterialVersion,
  VersMfgBOM.Plant AS Plant,
  AssociatedCR.ChangeRecordUUID AS ChangeRecordUUID,
  VersMfgBOM.BOMHeaderBaseUnit AS BOMHeaderBaseUnit,
  VersMfgBOM.BillOfMaterialHeaderUUID AS BillOfMaterialHeaderUUID,
  VersMfgBOM.BillOfMaterialStatus AS BillOfMaterialStatus,
  VersMfgBOM.BillOfMaterialUUID AS BillOfMaterialUUID,
  VersMfgBOM.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
  VersMfgBOM.CreatedByUser AS CreatedByUser,
  VersMfgBOM.EngineeringChangeDocument AS EngineeringChangeDocument,
  VersMfgBOM.LastChangeDate AS LastChangeDate,
  VersMfgBOM.LastChangedByUser AS LastChangedByUser,
  VersMfgBOM.RecordCreationDate AS RecordCreationDate,
  VersMfgBOM.Material AS Material,
  AssociatedCR.ChangeRecord AS ChangeRecord,
  '' AS ChgRecdAssgd,
  VersMfgBOM.IsMaterialUnitized AS IsMaterialUnitized,
  VersMfgBOM._BillOfMaterialItem AS _BillOfMaterialItem,
  VersMfgBOM._BillOfMaterialVariantUsage AS _BillOfMaterialVariantUsage,
  VersMfgBOM._UnitOfMeasure AS _UnitOfMeasure
FROM P_VersMFGBillofMaterial AS VersMfgBOM
LEFT OUTER JOIN P_VersMfgBOMwithOpenCRAssgd AS AssociatedCR ON /* join condition not captured in parsed metadata */
;