R_WasteStreamTP

DDL: R_WASTESTREAMTP Type: view_entity TRANSACTIONAL

Waste Stream

R_WasteStreamTP is a Transactional CDS View that provides data about "Waste Stream" in SAP S/4HANA. It reads from 1 data source (I_WasteStream) and exposes 25 fields with key field WasteStreamUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_WasteStream I_WasteStream from

Associations (4)

CardinalityTargetAliasCondition
[0..*] R_WasteTransferRequestManageTP _WasteTransferRequestManage $projection.WasteStreamUUID = _WasteTransferRequestManage.WasteStreamUUID
[0..*] R_WasteStreamPtOfGnrtnTP _PointOfGen
[0..*] R_WasteStreamRgtyCodeTP _RegulatoryCode
[0..*] R_WasteStreamDsplChnlTP _DisposalChannel

Annotations (10)

NameValueLevelField
EndUserText.label Waste Stream view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.sapObjectNodeType.name EHSWasteStream view
ObjectModel.representativeKey WasteStreamUUID view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY WasteStreamUUID WasteStreamUUID Waste Stream UUID
AdminDataCreationDateTime
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
ContentWasteStreamName
ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
ChmlCmplncMatlAssgmtUUID ChmlCmplncMatlAssgmtUUID Product Assignment
Material Material Vehicle Model
EnvrmtWasteGnrtrUUID EnvrmtWasteGnrtrUUID Waste Generator UUID
WasteStreamHandlingType WasteStreamHandlingType WStr Handling Type
WasteStreamStorageLocUUID WasteStreamStorageLocUUID Storage Loctn UUID
WasteStreamContainerType WasteStreamContainerType Wst Strm Contnr Type
WasteStreamStorageTimeLimit WasteStreamStorageTimeLimit WStr Storage Limit
WasteStreamMigrationSource WasteStreamMigrationSource
Associations_PointOfGen
_RegulatoryCode _RegulatoryCode
_DisposalChannel _DisposalChannel
_MaterialGenerator _MaterialGenerator
_WasteStorage _WasteStorage
_HandlingType _HandlingType
_ContainerType _ContainerType
_WasteGenerator _WasteGenerator
_ProductText _ProductText
_WasteTransferRequestManage _WasteTransferRequestManage

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 R_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 R_WasteStreamTP AS
SELECT
  WasteStreamUUID,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  ChmlCmplncInfoUUID,
  ChmlCmplncMatlAssgmtUUID,
  Material,
  EnvrmtWasteGnrtrUUID,
  WasteStreamHandlingType,
  WasteStreamStorageLocUUID,
  WasteStreamContainerType,
  WasteStreamStorageTimeLimit,
  WasteStreamMigrationSource
FROM I_WasteStream
LEFT OUTER JOIN R_WasteTransferRequestManageTP AS _WasteTransferRequestManage ON WasteStreamUUID = _WasteTransferRequestManage.WasteStreamUUID  -- association [0..*]
LEFT OUTER JOIN R_WasteStreamPtOfGnrtnTP AS _PointOfGen ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_WasteStreamRgtyCodeTP AS _RegulatoryCode ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_WasteStreamDsplChnlTP AS _DisposalChannel ON /* condition not available in parsed metadata */  -- association [0..*]
;