P_ChmlCompositionMigrationDpl

DDL: P_CHMLCOMPOSITIONMIGRATIONDPL SQL: PCHMLCMPSMIGD Type: view COMPOSITE

P_ChmlCompositionMigrationDpl is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ChmlCompositionMigrationCast) and exposes 8 fields.

Data Sources (1)

SourceAliasJoin Type
P_ChmlCompositionMigrationCast ChmlComposition from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PCHMLCMPSMIGD view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_ALLOWED view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (8)

KeyFieldSource TableSource FieldDescription
ChmlCmplncInfoUUID P_ChmlCompositionMigrationCast ChmlCmplncInfoUUID Chemical Compliance Information PP
ChmlSuplrMatlUUID P_ChmlCompositionMigrationCast ChmlSuplrMatlUUID Supplier Raw Material
SubstanceUUID P_ChmlCompositionMigrationCast SubstanceUUID Substance
ChmlCompositionType P_ChmlCompositionMigrationCast ChmlCompositionType Legal Area
ProdCmplncLegalArea P_ChmlCompositionMigrationCast ProdCmplncLegalArea Legal Area
ChmlCompositionStatus P_ChmlCompositionMigrationCast ChmlCompositionStatus Processing Status
PolymerCompositionIntID P_ChmlCompositionMigrationCast PolymerCompositionIntID Internal Number
ProdCmplncNrOfDuplicates

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_ChmlCompositionMigrationDpl.
-- 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: PCHMLCMPSMIGD

CREATE VIEW P_ChmlCompositionMigrationDpl AS
SELECT
  ChmlComposition.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
  ChmlComposition.ChmlSuplrMatlUUID AS ChmlSuplrMatlUUID,
  ChmlComposition.SubstanceUUID AS SubstanceUUID,
  ChmlComposition.ChmlCompositionType AS ChmlCompositionType,
  ChmlComposition.ProdCmplncLegalArea AS ProdCmplncLegalArea,
  ChmlComposition.ChmlCompositionStatus AS ChmlCompositionStatus,
  ChmlComposition.PolymerCompositionIntID AS PolymerCompositionIntID,
  count(*) AS ProdCmplncNrOfDuplicates
FROM P_ChmlCompositionMigrationCast AS ChmlComposition
;