I_EnvrmtProductWasteCode

DDL: I_ENVRMTPRODUCTWASTECODE SQL: IENVPRODWCS Type: view COMPOSITE

Product Waste Codes

I_EnvrmtProductWasteCode is a Composite CDS View that provides data about "Product Waste Codes" in SAP S/4HANA. It reads from 3 data sources (I_ChmlCmplncWasteCode, I_ChmlCmplncWasteCode, I_ChmlCmplncProdAssgmt) and exposes 7 fields with key fields ChmlCmplncInfoUUID, EnvrmtWasteCodeUUID, EnvrmtWasteCodeUUID.

Data Sources (3)

SourceAliasJoin Type
I_ChmlCmplncWasteCode _ChmlCmplncWasteCode from
I_ChmlCmplncWasteCode _ChmlCmplncWasteCode union
I_ChmlCmplncProdAssgmt _ProdAssignment inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IENVPRODWCS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Product Waste Codes view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
KEY EnvrmtWasteCodeUUID _ChmlCmplncWasteCodeAssgmt EnvrmtWasteCodeUUID Waste Code
EnvrmtWasteCode _ChmlCmplncWasteCodeAssgmt EnvrmtWasteCode Waste Code
ChmlCmplncInfoUUID Chemical Compliance Information PP
KEY EnvrmtWasteCodeUUID Waste Code
EnvrmtWasteCode _ChmlCmplncWasteCodeAssgmt EnvrmtWasteCode Waste Code
EnvrmtWasteCodeShortDesc

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_EnvrmtProductWasteCode.
-- 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: IENVPRODWCS

CREATE VIEW I_EnvrmtProductWasteCode AS
SELECT
  ChmlCmplncInfoUUID,
  _ChmlCmplncWasteCodeAssgmt.EnvrmtWasteCodeUUID AS EnvrmtWasteCodeUUID,
  _ChmlCmplncWasteCodeAssgmt.EnvrmtWasteCode AS EnvrmtWasteCode,
  _ChmlCmplncWasteCodeAssgmt._CmplRqVersWasteCode._WasteCodeText[1: Language = $session.system_language].EnvrmtWasteCodeShortDesc AS EnvrmtWasteCodeShortDesc
FROM I_ChmlCmplncWasteCode AS _ChmlCmplncWasteCode
INNER JOIN I_ChmlCmplncProdAssgmt AS _ProdAssignment ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_ChmlCmplncWasteCode
;