P_EngSnpshtChgRecdPlngScp

DDL: P_ENGSNPSHTCHGRECDPLNGSCP SQL: PENGSNPCRPLS Type: view COMPOSITE

P_EngSnpshtChgRecdPlngScp is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_ChgRecdRefPlngScpBsc, I_PlngScpHdr) and exposes 9 fields with key fields ChangeRecordUUID, ChangeRecordReferenceUUID.

Data Sources (2)

SourceAliasJoin Type
I_ChgRecdRefPlngScpBsc ChangeRecordRefPls from
I_PlngScpHdr PlngScpHdr inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PENGSNPCRPLS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ChangeRecordUUID I_ChgRecdRefPlngScpBsc ChangeRecordUUID NodeID
KEY ChangeRecordReferenceUUID I_ChgRecdRefPlngScpBsc ChangeRecordReferenceUUID UUID
ChangeRecord I_ChgRecdRefPlngScpBsc ChangeRecord Char20
SourceMaterial I_PlngScpHdr SourceMaterial
SourcePlant I_PlngScpHdr SourcePlant
SourceBOMUsage I_PlngScpHdr SourceBOMUsage
SourceBOMAlternative I_PlngScpHdr SourceBOMAlternative
ProductionPlant I_PlngScpHdr Plant Valuation Area
MBOMUsage I_PlngScpHdr MBOMUsage

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_EngSnpshtChgRecdPlngScp.
-- 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: PENGSNPCRPLS

CREATE VIEW P_EngSnpshtChgRecdPlngScp AS
SELECT
  ChangeRecordRefPls.ChangeRecordUUID AS ChangeRecordUUID,
  ChangeRecordRefPls.ChangeRecordReferenceUUID AS ChangeRecordReferenceUUID,
  ChangeRecordRefPls.ChangeRecord AS ChangeRecord,
  PlngScpHdr.SourceMaterial AS SourceMaterial,
  PlngScpHdr.SourcePlant AS SourcePlant,
  PlngScpHdr.SourceBOMUsage AS SourceBOMUsage,
  PlngScpHdr.SourceBOMAlternative AS SourceBOMAlternative,
  PlngScpHdr.Plant AS ProductionPlant,
  PlngScpHdr.MBOMUsage AS MBOMUsage
FROM I_ChgRecdRefPlngScpBsc AS ChangeRecordRefPls
INNER JOIN I_PlngScpHdr AS PlngScpHdr ON /* join condition not captured in parsed metadata */
;