I_ChgRecdBOMVH

DDL: I_CHGRECDBOMVH Type: view_entity COMPOSITE Package: VDM_PLMB_CR

Change Record Bill of Material Value Hlp

I_ChgRecdBOMVH is a Composite CDS View that provides data about "Change Record Bill of Material Value Hlp" in SAP S/4HANA. It reads from 1 data source (I_ChangeRecordBillOfMaterial) and exposes 9 fields with key fields Material, Plant, BillOfMaterialVariantUsage, BillOfMaterialVariant, BillOfMaterial. It has 3 associations to related views. It is exposed through 1 OData service (ASQL_F2097A). Part of development package VDM_PLMB_CR.

Data Sources (1)

SourceAliasJoin Type
I_ChangeRecordBillOfMaterial BOM from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Material _Mat $projection.Material = _Mat.Material
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_BillOfMaterialUsage _BillOfMaterialVariantUsage $projection.BillOfMaterialVariantUsage = _BillOfMaterialVariantUsage.BillOfMaterialVariantUsage

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Change Record Bill of Material Value Hlp view
ObjectModel.dataCategory #VALUE_HELP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.representativeKey Material view
VDM.viewType #COMPOSITE view
Search.searchable true view
Consumption.ranked true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F2097A ASQL_F2097A C2 NOT_RELEASED

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Material I_ChangeRecordBillOfMaterial Material Vehicle Model
KEY Plant I_ChangeRecordBillOfMaterial Plant Valuation Area
KEY BillOfMaterialVariantUsage I_ChangeRecordBillOfMaterial BillOfMaterialVariantUsage Usage
KEY BillOfMaterialVariant I_ChangeRecordBillOfMaterial BillOfMaterialVariant AlternativeBOM
KEY BillOfMaterial Bill of Material
HeaderValidityStartDate I_ChangeRecordBillOfMaterial HeaderValidityStartDate Valid From
MaterialName
PlantName _Plant PlantName Plant Name
BillOfMaterialVariantUsageDesc _BillOfMaterialVariantUsage BillOfMaterialVariantUsageDesc

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 I_ChgRecdBOMVH.
-- 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.

CREATE VIEW I_ChgRecdBOMVH AS
SELECT
  BOM.Material AS Material,
  BOM.Plant AS Plant,
  BOM.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
  BOM.BillOfMaterialVariant AS BillOfMaterialVariant,
  cast( BOM.BillOfMaterial as char8 preserving type ) AS BillOfMaterial,
  BOM.HeaderValidityStartDate AS HeaderValidityStartDate,
  _Mat._Text[1:Language = $session.system_language].MaterialName AS MaterialName,
  _Plant.PlantName AS PlantName,
  _BillOfMaterialVariantUsage.BillOfMaterialVariantUsageDesc AS BillOfMaterialVariantUsageDesc
FROM I_ChangeRecordBillOfMaterial AS BOM
LEFT OUTER JOIN I_Material AS _Mat ON Material = _Mat.Material  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_BillOfMaterialUsage AS _BillOfMaterialVariantUsage ON BillOfMaterialVariantUsage = _BillOfMaterialVariantUsage.BillOfMaterialVariantUsage  -- association [0..1]
;