C_WasteStreamTP
Waste Stream
C_WasteStreamTP is a Consumption CDS View that provides data about "Waste Stream" in SAP S/4HANA. It reads from 1 data source (R_WasteStreamTP) and exposes 42 fields with key field WasteStreamUUID. It is exposed through 2 OData services (ASQL_F5410, UI_WASTESTREAM_MANAGE). It is used in 1 Fiori application: My Waste Streams. Part of development package EHEWA_CNS_WASTESTREAM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_WasteStreamTP | R_WasteStreamTP | projection |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Waste Stream | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.representativeKey | WasteStreamUUID | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view | |
| Consumption.semanticObject | EHSWasteStream | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F5410 | ASQL_F5410 | C2 | NOT_RELEASED | |
| UI_WASTESTREAM_MANAGE | UI_WASTESTREAM_MANAGE | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F5410 | My Waste Streams | Transactional | An application to create waste streams and disposal channels for Waste Management |
My Waste Streams
Business Role: Environmental Manager
With this feature, a user with the role of Environmental Manager can create waste streams, including waste disposal channels. Waste streams define the relationship between a waste product, a waste generator, a storage location, and the point(s) of waste generation. In addition, disposal channels can be created within a waste stream. Disposal channels define how a waste product can be disposed of. Disposal channels define the relationship between a waste stream and transporters and disposers. Transporters and disposers are previously entered as waste partners and then assigned to a waste material using the My Transporters and Disposers - Waste Management app.
Fields (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WasteStreamUUID | WasteStreamUUID | Waste Stream UUID | |
| AdminDataCreationDateTime | ||||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| ContentWasteStreamName | Waste Stream Name | |||
| ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | Chemical Compliance Information PP | ||
| ChmlCmplncMatlAssgmtUUID | ChmlCmplncMatlAssgmtUUID | Product Assignment | ||
| Material | Material | Product | ||
| EnvrmtWasteGnrtrUUID | EnvrmtWasteGnrtrUUID | Waste Generator UUID | ||
| ProductIsPackaged | _MaterialGenerator | ProductIsPackaged | Product Is Packaged | |
| WasteStreamHandlingType | WasteStreamHandlingType | Waste Stream Handling | ||
| WasteStreamStorageLocUUID | WasteStreamStorageLocUUID | Waste Storage Location | ||
| WasteStorageTimeLimitValue | _MaterialGenerator | WasteStorageTimeLimitValue | ||
| WasteStorageDefaultWrngPerdVal | _MaterialGenerator | WasteStorageDefaultWrngPerdVal | ||
| WastePtOfGnrtnTimeLimitValue | _MaterialGenerator | WastePtOfGnrtnTimeLimitValue | ||
| WastePtOfGnrtnDfltWrngPerdVal | _MaterialGenerator | WastePtOfGnrtnDfltWrngPerdVal | ||
| virtualUICT_IsPoGTimeLimitabap_boolean | ||||
| WasteTimeLimitEnablementSwitch | _MaterialGenerator | WasteTimeLimitEnablementSwitch | ||
| WasteStreamContainerType | WasteStreamContainerType | Container Type | ||
| EHSLocationNameasEnvrmtWasteGnrtrName | ||||
| ProductDescription | ||||
| EnvrmtWasteGnrtrHasCurUsrAssgd | ||||
| EnvrmtWasteGnrtrValdtyAreaTxt | _MaterialGenerator | EnvrmtWasteGnrtrValdtyAreaTxt | Validity Area | |
| Country | _MaterialGenerator | Country | Country/Region | |
| virtualAddressCountryland1 | Country/Region | |||
| EnvrmtWasteGnrtrID | Waste Generator | |||
| char1024 | ||||
| char1024 | ||||
| WasteStreamMaterial | _MaterialGenerator | Material | Product | |
| WasteStreamStorageTimeLimit | WasteStreamStorageTimeLimit | WStr Storage Limit | ||
| WasteStreamStorageLocName | _WasteStorage | EHSLocationName | ||
| WasteStreamStorageLocID | _WasteStorage | EHSLocationID | Waste Storage Location | |
| sstring1000 | Waste Codes | |||
| WasteStreamHandlingTypeText | _HandlingType | WasteStreamHandlingTypeText | ||
| WasteStreamContainerTypeText | Container Description | |||
| char1024 | Point of Waste Generation | |||
| _MaterialGenerator | _MaterialGenerator | |||
| _HandlingType | _HandlingType | |||
| _ContainerType | _ContainerType | |||
| _WasteGenerator | _WasteGenerator | |||
| _ProductText | _ProductText |
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 C_WasteStreamTP.
-- 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 C_WasteStreamTP AS
SELECT
WasteStreamUUID,
CreatedByUser,
LastChangeDateTime,
LastChangedByUser,
ChmlCmplncInfoUUID,
ChmlCmplncMatlAssgmtUUID,
Material,
EnvrmtWasteGnrtrUUID,
_MaterialGenerator.ProductIsPackaged AS ProductIsPackaged,
WasteStreamHandlingType,
WasteStreamStorageLocUUID,
_MaterialGenerator.WasteStorageTimeLimitValue AS WasteStorageTimeLimitValue,
_MaterialGenerator.WasteStorageDefaultWrngPerdVal AS WasteStorageDefaultWrngPerdVal,
_MaterialGenerator.WastePtOfGnrtnTimeLimitValue AS WastePtOfGnrtnTimeLimitValue,
_MaterialGenerator.WastePtOfGnrtnDfltWrngPerdVal AS WastePtOfGnrtnDfltWrngPerdVal,
virtual UICT_IsPoGTimeLimit : abap_boolean AS virtualUICT_IsPoGTimeLimitabap_boolean,
_MaterialGenerator.WasteTimeLimitEnablementSwitch AS WasteTimeLimitEnablementSwitch,
WasteStreamContainerType,
_MaterialGenerator._MaterialText.ProductDescription AS ProductDescription,
_MaterialGenerator._EnvrmtWasteGnrtrByMgrRole.EnvrmtWasteGnrtrHasCurUsrAssgd AS EnvrmtWasteGnrtrHasCurUsrAssgd,
_MaterialGenerator.EnvrmtWasteGnrtrValdtyAreaTxt AS EnvrmtWasteGnrtrValdtyAreaTxt,
_MaterialGenerator.Country AS Country,
virtual AddressCountry : land1 AS virtualAddressCountryland1,
cast( _MaterialGenerator.EnvrmtWasteGnrtrID as ehfnd_loc_id preserving type ) AS EnvrmtWasteGnrtrID,
virtual EHSLocationURL : abap.char( 1024 ) AS char1024,
_MaterialGenerator.Material AS WasteStreamMaterial,
WasteStreamStorageTimeLimit,
_WasteStorage.EHSLocationName AS WasteStreamStorageLocName,
_WasteStorage.EHSLocationID AS WasteStreamStorageLocID,
virtual EnvrmtWasteCodeString : abap.sstring(1000) AS sstring1000,
_HandlingType.WasteStreamHandlingTypeText AS WasteStreamHandlingTypeText,
_ContainerType._Text[1: Language = $session.system_language].WasteStreamContainerTypeText AS WasteStreamContainerTypeText
FROM R_WasteStreamTP
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA