I_ProdnModRefChangeRecord

DDL: I_PRODNMODREFCHANGERECORD Type: view_entity COMPOSITE

Reference Change Records

I_ProdnModRefChangeRecord is a Composite CDS View that provides data about "Reference Change Records" in SAP S/4HANA. It reads from 4 data sources (I_ChangeRecordBsc, I_ChgRecdRefRoutingBsc, I_ChangeRecordType, I_ProductionModel) and exposes 14 fields with key fields ProductionModelUUID, BillOfOperationsVersion, ChangeRecordUUID.

Data Sources (4)

SourceAliasJoin Type
I_ChangeRecordBsc ChangeRecord inner
I_ChgRecdRefRoutingBsc ChangeRecordRefRouting from
I_ChangeRecordType ChangeRecordType inner
I_ProductionModel ProductionModel inner

Annotations (7)

NameValueLevelField
EndUserText.label Reference Change Records view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY ProductionModelUUID I_ProductionModel ProductionModelUUID Prodn Model UUID
KEY BillOfOperationsVersion I_ProductionModel BillOfOperationsVersion Routing Version
KEY ChangeRecordUUID I_ChgRecdRefRoutingBsc ChangeRecordUUID NodeID
ChangeRecord I_ChangeRecordBsc ChangeRecord Char20
ChangeRecordType I_ChangeRecordBsc ChangeRecordType Record Type
ChangeRecordTypeDesc I_ChangeRecordType ChangeRecordTypeDesc
ChgRecordDescriptionText
ChangeRecordStatus I_ChangeRecordBsc ChangeRecordStatus
BillOfOperationsType I_ProductionModel BillOfOperationsType Task List Type
BillOfOperationsGroup I_ProductionModel BillOfOperationsGroup Group
BillOfOperationsVariant I_ProductionModel BillOfOperationsVariant Group Counter
BillOfMaterialCategory I_ProductionModel BillOfMaterialCategory BOM category
BillOfMaterialVariantUsage I_ProductionModel BillOfMaterialVariantUsage Usage
Plant I_ProductionModel Plant Valuation Area

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_ProdnModRefChangeRecord.
-- 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_ProdnModRefChangeRecord AS
SELECT
  ProductionModel.ProductionModelUUID AS ProductionModelUUID,
  ProductionModel.BillOfOperationsVersion AS BillOfOperationsVersion,
  ChangeRecordRefRouting.ChangeRecordUUID AS ChangeRecordUUID,
  ChangeRecord.ChangeRecord AS ChangeRecord,
  ChangeRecord.ChangeRecordType AS ChangeRecordType,
  ChangeRecordType.ChangeRecordTypeDesc AS ChangeRecordTypeDesc,
  ChangeRecord._Text[ 1: Language = $session.system_language].ChgRecordDescriptionText AS ChgRecordDescriptionText,
  ChangeRecord.ChangeRecordStatus AS ChangeRecordStatus,
  ProductionModel.BillOfOperationsType AS BillOfOperationsType,
  ProductionModel.BillOfOperationsGroup AS BillOfOperationsGroup,
  ProductionModel.BillOfOperationsVariant AS BillOfOperationsVariant,
  ProductionModel.BillOfMaterialCategory AS BillOfMaterialCategory,
  ProductionModel.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
  ProductionModel.Plant AS Plant
FROM I_ChgRecdRefRoutingBsc AS ChangeRecordRefRouting
INNER JOIN I_ProductionModel AS ProductionModel ON /* join condition not captured in parsed metadata */
INNER JOIN I_ChangeRecordBsc AS ChangeRecord ON /* join condition not captured in parsed metadata */
INNER JOIN I_ChangeRecordType AS ChangeRecordType ON /* join condition not captured in parsed metadata */
;