I_ChangeRecordBillOfMaterialVH

DDL: I_CHANGERECORDBILLOFMATERIALVH SQL: ICHGRECBOMVH Type: view CONSUMPTION

Change Record BOM Value Help

I_ChangeRecordBillOfMaterialVH is a Consumption CDS View that provides data about "Change Record BOM Value Help" in SAP S/4HANA. It reads from 2 data sources (TF_CHANGERECORD_BILLOFMATERIAL, I_Material) and exposes 7 fields with key fields Material, Plant, BillOfMaterialVariantUsage, BillOfMaterialVariant. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
TF_CHANGERECORD_BILLOFMATERIAL BOM from
I_Material Mat inner

Associations (2)

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

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ICHGRECBOMVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Change Record BOM Value Help view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
Search.searchable true view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey Material view
Consumption.ranked true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Material TF_CHANGERECORD_BILLOFMATERIAL Material Vehicle Model
KEY Plant TF_CHANGERECORD_BILLOFMATERIAL Plant Valuation Area
KEY BillOfMaterialVariantUsage TF_CHANGERECORD_BILLOFMATERIAL BillOfMaterialVariantUsage Usage
KEY BillOfMaterialVariant TF_CHANGERECORD_BILLOFMATERIAL BillOfMaterialVariant AlternativeBOM
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_ChangeRecordBillOfMaterialVH.
-- 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: ICHGRECBOMVH

CREATE VIEW I_ChangeRecordBillOfMaterialVH AS
SELECT
  BOM.Material AS Material,
  BOM.Plant AS Plant,
  BOM.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
  BOM.BillOfMaterialVariant AS BillOfMaterialVariant,
  Mat._Text[1:Language = $session.system_language].MaterialName AS MaterialName,
  _Plant.PlantName AS PlantName,
  _BillOfMaterialVariantUsage.BillOfMaterialVariantUsageDesc AS BillOfMaterialVariantUsageDesc
FROM TF_CHANGERECORD_BILLOFMATERIAL AS BOM
INNER JOIN I_Material AS Mat ON /* join condition not captured in parsed metadata */
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]
;