P_ChmlCompositionMigration

DDL: P_CHMLCOMPOSITIONMIGRATION SQL: PCHMLCMPSMIG Type: view COMPOSITE

P_ChmlCompositionMigration is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ChmlCompositionMigrationCast) and exposes 19 fields with key field ChmlCompositionUUID.

Data Sources (1)

SourceAliasJoin Type
P_ChmlCompositionMigrationCast ChmlComposition from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PCHMLCMPSMIG 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 (19)

KeyFieldSource TableSource FieldDescription
KEY ChmlCompositionUUID P_ChmlCompositionMigrationCast ChmlCompositionUUID Chemical Composition
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
ReleaseDateTime P_ChmlCompositionMigrationCast ReleaseDateTime Composition Released On
ReleasedByUser P_ChmlCompositionMigrationCast ReleasedByUser Released By
ValidityStartDateTime P_ChmlCompositionMigrationCast ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime P_ChmlCompositionMigrationCast ValidityEndDateTime Valid To Timestamp
ProdCmplncLegalAreaRef P_ChmlCompositionMigrationCast ProdCmplncLegalAreaRef Legal Area Reference
PolymerCompositionIntID P_ChmlCompositionMigrationCast PolymerCompositionIntID Internal Number
PolymerCompositionName P_ChmlCompositionMigrationCast PolymerCompositionName Name
ProdCmplncNrOfDuplicates _Duplicates ProdCmplncNrOfDuplicates
CreationUTCDateTime P_ChmlCompositionMigrationCast CreationUTCDateTime Time Stamp
CreatedByUser P_ChmlCompositionMigrationCast CreatedByUser User Name
LastChangeUTCDateTime P_ChmlCompositionMigrationCast LastChangeUTCDateTime Time Stamp
LastChangedByUser P_ChmlCompositionMigrationCast LastChangedByUser User Name

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_ChmlCompositionMigration.
-- 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: PCHMLCMPSMIG

CREATE VIEW P_ChmlCompositionMigration AS
SELECT
  ChmlComposition.ChmlCompositionUUID AS ChmlCompositionUUID,
  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.ReleaseDateTime AS ReleaseDateTime,
  ChmlComposition.ReleasedByUser AS ReleasedByUser,
  ChmlComposition.ValidityStartDateTime AS ValidityStartDateTime,
  ChmlComposition.ValidityEndDateTime AS ValidityEndDateTime,
  ChmlComposition.ProdCmplncLegalAreaRef AS ProdCmplncLegalAreaRef,
  ChmlComposition.PolymerCompositionIntID AS PolymerCompositionIntID,
  ChmlComposition.PolymerCompositionName AS PolymerCompositionName,
  _Duplicates.ProdCmplncNrOfDuplicates AS ProdCmplncNrOfDuplicates,
  ChmlComposition.CreationUTCDateTime AS CreationUTCDateTime,
  ChmlComposition.CreatedByUser AS CreatedByUser,
  ChmlComposition.LastChangeUTCDateTime AS LastChangeUTCDateTime,
  ChmlComposition.LastChangedByUser AS LastChangedByUser
FROM P_ChmlCompositionMigrationCast AS ChmlComposition
;