I_ChmlCompositionDraft

DDL: I_CHMLCOMPOSITIONDRAFT Type: view BASIC

Chemical Composition Draft Data

I_ChmlCompositionDraft is a Basic CDS View that provides data about "Chemical Composition Draft Data" in SAP S/4HANA. It reads from 1 data source (ehfndw_ccmps) and exposes 13 fields. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndw_ccmps ehfndw_ccmps from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID
[1..1] I_Substance _Substance $projection.SubstanceUUID = _Substance.SubstanceUUID

Annotations (10)

NameValueLevelField
EndUserText.label Chemical Composition Draft Data view
AbapCatalog.sqlViewName ICCOMPOSITIONDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view

Fields (13)

KeyFieldSource TableSource FieldDescription
SubstanceUUID substanceuuid Substance
ChmlCompositionStatus chmlcompositionstatus Processing Status
ChmlCompositionType chmlcompositiontype Legal Area
LastChangedByUser lastchangedbyuser User Name
LastChangeUTCDateTime lastchangeutcdatetime Time Stamp
ValidityStartDateTime validitystartdatetime Valid From Timestamp
ProdCmplncLegalArea prodcmplnclegalarea Legal Area
ProdCmplncLegalAreaRef prodcmplnclegalarearef Legal Area Reference
PolymerCompositionIntID polymercompositionintid Internal Number
PolymerCompositionName polymercompositionname Name
HasActiveEntity hasactiveentity TRUE
_ChmlCmplncInfo _ChmlCmplncInfo
_Substance _Substance

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_ChmlCompositionDraft.
-- 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_ChmlCompositionDraft AS
SELECT
  SubstanceUUID,
  ChmlCompositionStatus,
  ChmlCompositionType,
  LastChangedByUser,
  LastChangeUTCDateTime,
  ValidityStartDateTime,
  ProdCmplncLegalArea,
  ProdCmplncLegalAreaRef,
  PolymerCompositionIntID,
  PolymerCompositionName,
  HasActiveEntity
FROM ehfndw_ccmps
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [1..1]
LEFT OUTER JOIN I_Substance AS _Substance ON SubstanceUUID = _Substance.SubstanceUUID  -- association [1..1]
;