I_WasteStreamMatlGnrtr

DDL: I_WASTESTREAMMATLGNRTR Type: view COMPOSITE Package: EHEWA_RAP_WASTESTREAM

Waste Stream - Material and Generator

I_WasteStreamMatlGnrtr is a Composite CDS View that provides data about "Waste Stream - Material and Generator" in SAP S/4HANA. It reads from 1 data source (I_EnvrmtWastePartner) and exposes 17 fields with key fields EnvrmtWastePartnerUUID, EnvrmtWastePartMatlAssgmtUUID, ChmlCmplncMatlAssgmtUUID. It has 1 association to related views. Part of development package EHEWA_RAP_WASTESTREAM.

Data Sources (1)

SourceAliasJoin Type
I_EnvrmtWastePartner I_EnvrmtWastePartner from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ProductDescription _MaterialText $projection.material = _MaterialText.Product and _MaterialText.Language = $session.system_language

Annotations (11)

NameValueLevelField
EndUserText.label Waste Stream - Material and Generator view
AbapCatalog.sqlViewName IWSTSTRMMTLGNRTR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY EnvrmtWastePartnerUUID EnvrmtWastePartnerUUID Waste Partner UUID
KEY EnvrmtWastePartMatlAssgmtUUID _EnvrmtWastePartMatlAssgmt EnvrmtWastePartMatlAssgmtUUID Waste Material UUID
KEY ChmlCmplncMatlAssgmtUUID
EnvrmtWasteGnrtrUUID EnvrmtWasteGnrtrUUID Waste Generator UUID
ChmlCmplncInfoUUID _EnvrmtWastePartMatlAssgmt ChmlCmplncInfoUUID Chemical Compliance Information PP
Material
EnvrmtWastePartDsplFcltyUUID _EnvrmtWastePartMatlAssgmt EnvrmtWastePartDsplFcltyUUID Waste Facility UUID
EnvrmtWasteGnrtrID EnvrmtWasteGnrtrID Waste Generator ID
EnvrmtWastePartnerNmbr EnvrmtWastePartnerNmbr Busn. Partner
Association_MaterialText
_EHSLocation _EHSLocation
_EnvrmtWasteGnrtrByMgrRole _EnvrmtWasteGnrtrByMgrRole
_BusinessPartner _BusinessPartner
_EnvrmtWastePartDsplFclty _EnvrmtWastePartMatlAssgmt _EnvrmtWastePartDsplFclty
_Product
_EnvrmtWasteGnrtr _EnvrmtWasteGnrtr
_ChmlCmplncInfo _EnvrmtWastePartMatlAssgmt _ChmlCmplncInfo

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_WasteStreamMatlGnrtr.
-- 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_WasteStreamMatlGnrtr AS
SELECT
  EnvrmtWastePartnerUUID,
  _EnvrmtWastePartMatlAssgmt.EnvrmtWastePartMatlAssgmtUUID AS EnvrmtWastePartMatlAssgmtUUID,
  _EnvrmtWastePartMatlAssgmt._ChmlCmplncMatlAssgmt.ChmlCmplncMatlAssgmtUUID AS ChmlCmplncMatlAssgmtUUID,
  EnvrmtWasteGnrtrUUID,
  _EnvrmtWastePartMatlAssgmt.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
  _EnvrmtWastePartMatlAssgmt._ChmlCmplncMatlAssgmt.Material AS Material,
  _EnvrmtWastePartMatlAssgmt.EnvrmtWastePartDsplFcltyUUID AS EnvrmtWastePartDsplFcltyUUID,
  EnvrmtWasteGnrtrID,
  EnvrmtWastePartnerNmbr,
  _EnvrmtWastePartMatlAssgmt._EnvrmtWastePartDsplFclty AS _EnvrmtWastePartDsplFclty,
  _EnvrmtWastePartMatlAssgmt._ChmlCmplncMatlAssgmt._Product AS _Product,
  _EnvrmtWastePartMatlAssgmt._ChmlCmplncInfo AS _ChmlCmplncInfo
FROM I_EnvrmtWastePartner
LEFT OUTER JOIN I_ProductDescription AS _MaterialText ON material = _MaterialText.Product AND _MaterialText.Language = $session.system_language  -- association [0..1]
;