I_ChmlCmplncWasteCode

DDL: I_CHMLCMPLNCWASTECODE Type: view BASIC

Chemical Cpmlnc Info Waste Code Versions

I_ChmlCmplncWasteCode is a Basic CDS View that provides data about "Chemical Cpmlnc Info Waste Code Versions" in SAP S/4HANA. It reads from 1 data source (ehfndv_ccw_wcode) and exposes 8 fields with key field ChmlCmplncWasteCodeUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndv_ccw_wcode ehfndv_ccw_wcode from

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_ChmlCmplncWasteCodeAssgmt _ChmlCmplncWasteCodeAssgmt $projection.ChmlCmplncWasteCodeUUID = _ChmlCmplncWasteCodeAssgmt.ChmlCmplncWasteCodeUUID --Link to chemical compliance information
[0..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID --Link to user data
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID

Annotations (11)

NameValueLevelField
EndUserText.label Chemical Cpmlnc Info Waste Code Versions view
AbapCatalog.sqlViewName ICCIWASTECODE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey 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
ObjectModel.representativeKey ChmlCmplncWasteCodeUUID view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncWasteCodeUUID chmlcmplncwastecodeuuid Chml Cmplnc Wst Code
CreatedByUser User Name
LastChangeUTCDateTime Time Stamp
LastChangedByUser User Name
_ChmlCmplncWasteCodeAssgmt _ChmlCmplncWasteCodeAssgmt
_ChmlCmplncInfo _ChmlCmplncInfo
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser

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_ChmlCmplncWasteCode.
-- 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_ChmlCmplncWasteCode AS
SELECT
  ChmlCmplncWasteCodeUUID,
  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
FROM ehfndv_ccw_wcode
LEFT OUTER JOIN I_ChmlCmplncWasteCodeAssgmt AS _ChmlCmplncWasteCodeAssgmt ON ChmlCmplncWasteCodeUUID = _ChmlCmplncWasteCodeAssgmt.ChmlCmplncWasteCodeUUID  -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
;