I_ChmlCmplncMatlAssgmt

DDL: I_CHMLCMPLNCMATLASSGMT Type: view BASIC

Chemical Compliance Material Assignment

I_ChmlCmplncMatlAssgmt is a Basic CDS View that provides data about "Chemical Compliance Material Assignment" in SAP S/4HANA. It reads from 1 data source (ehfndv_cci_mat) and exposes 10 fields with key field ChmlCmplncMatlAssgmtUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndv_cci_mat ehfndv_cci_mat from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID
[1..1] I_Product _Product $projection.Material = _Product.Product

Annotations (9)

NameValueLevelField
EndUserText.label Chemical Compliance Material Assignment view
AbapCatalog.sqlViewName ICCMATLASSGMT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncMatlAssgmtUUID chmlcmplncmatlassgmtuuid Product Assignment
ChmlCmplncInfoUUID chmlcmplncinfouuid Chemical Compliance Information PP
CreationUTCDateTime Time Stamp
CreatedByUser User Name
LastChangeUTCDateTime Time Stamp
LastChangedByUser User Name
Material Vehicle Model
MatlAssgmtIsPrimary matlassgmtisprimary Preferred Name
associations_ChmlCmplncInfo
_Product _Product

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_ChmlCmplncMatlAssgmt.
-- 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_ChmlCmplncMatlAssgmt AS
SELECT
  ChmlCmplncMatlAssgmtUUID,
  ChmlCmplncInfoUUID,
  cast(creationutcdatetime as ehfnd_bo_crea_date_time preserving type ) AS CreationUTCDateTime,
  cast(createdbyuser as ehfnd_bo_crea_uname preserving type ) AS CreatedByUser,
  cast(lastchangeutcdatetime as ehfnd_bo_lchg_date_time preserving type ) AS LastChangeUTCDateTime,
  cast(lastchangedbyuser as ehfnd_bo_lchg_uname preserving type ) AS LastChangedByUser,
  cast ( material as ehfnd_cci_product preserving type ) AS Material,
  MatlAssgmtIsPrimary
FROM ehfndv_cci_mat
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product  -- association [1..1]
;