I_WasteDisposalChannel

DDL: I_WASTEDISPOSALCHANNEL Type: view BASIC

Disposal Channel Header

I_WasteDisposalChannel is a Basic CDS View that provides data about "Disposal Channel Header" in SAP S/4HANA. It reads from 1 data source (ehewad_wa_dcl) and exposes 19 fields with key field WasteDisposalChannelUUID. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehewad_wa_dcl ehewad_wa_dcl from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_EnvrmtWastePartner _Disposer $projection.WasteDsplChnlDisposerUUID = _Disposer.EnvrmtWastePartnerUUID and _Disposer.EnvrmtWastePartnerType = '02'
[1..1] I_EnvrmtWastePartDsplFclty _DisposalFacility $projection.WasteDsplChnlDisposerUUID = _DisposalFacility.EnvrmtWastePartnerUUID and $projection.WasteDsplChnlFacilityUUID = _DisposalFacility.EnvrmtWastePartDsplFcltyUUID
[1..1] I_WasteDisposalChannelStatus _DisposalChannelStatus $projection.WasteDisposalChannelStatus = _DisposalChannelStatus.WasteDisposalChannelStatus
[0..1] I_WasteTransportationDocType _TransportDocType $projection.Country = _TransportDocType.Country and $projection.EnvrmtWasteTranspDocType = _TransportDocType.EnvrmtWasteTranspDocType
[0..1] I_EnvrmtWasteGnrtrByMgrRole _WasteGeneratorRole $projection.EnvrmtWasteGnrtrUUID = _WasteGeneratorRole.EHSLocationUUID
[0..1] I_EnvironmentWasteLocation _WasteLocation $projection.EnvrmtWasteGnrtrUUID = _WasteLocation.EHSLocationUUID
[0..*] I_WasteDisposalChnlWstStm _DisposalChannelWasteStream $projection.WasteDisposalChannelUUID = _DisposalChannelWasteStream.WasteDisposalChannelUUID

Annotations (12)

NameValueLevelField
EndUserText.label Disposal Channel Header view
AbapCatalog.sqlViewName IWSTDISPCHNL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey WasteDisposalChannelUUID view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY WasteDisposalChannelUUID wastedisposalchanneluuid UUID
WasteDisposalChannelName wastedisposalchannelname Dispsl Channel Name
WasteDisposalChannelNumber wastedisposalchannelnumber Number
WasteDsplChnlDisposerUUID wastedsplchnldisposeruuid Waste Partner UUID
WasteDsplChnlFacilityUUID wastedsplchnlfacilityuuid Waste Facility UUID
WasteDisposalChannelStatus wastedisposalchannelstatus Status
EnvrmtWasteTranspDocType envrmtwastetranspdoctype Trans Doc Ty ID
EnvrmtWasteGnrtrUUID envrmtwastegnrtruuid Waste Generator UUID
Country country Venue: Ctry/Reg
CreatedByUser createdbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
_Disposer _Disposer
_DisposalFacility _DisposalFacility
_DisposalChannelStatus _DisposalChannelStatus
_WasteLocation _WasteLocation
_TransportDocType _TransportDocType
_WasteGeneratorRole _WasteGeneratorRole
_DisposalChannelWasteStream _DisposalChannelWasteStream

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_WasteDisposalChannel.
-- 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_WasteDisposalChannel AS
SELECT
  WasteDisposalChannelUUID,
  WasteDisposalChannelName,
  WasteDisposalChannelNumber,
  WasteDsplChnlDisposerUUID,
  WasteDsplChnlFacilityUUID,
  WasteDisposalChannelStatus,
  EnvrmtWasteTranspDocType,
  EnvrmtWasteGnrtrUUID,
  Country,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser
FROM ehewad_wa_dcl
LEFT OUTER JOIN I_EnvrmtWastePartner AS _Disposer ON WasteDsplChnlDisposerUUID = _Disposer.EnvrmtWastePartnerUUID AND _Disposer.EnvrmtWastePartnerType = '02'  -- association [1..1]
LEFT OUTER JOIN I_EnvrmtWastePartDsplFclty AS _DisposalFacility ON WasteDsplChnlDisposerUUID = _DisposalFacility.EnvrmtWastePartnerUUID AND WasteDsplChnlFacilityUUID = _DisposalFacility.EnvrmtWastePartDsplFcltyUUID  -- association [1..1]
LEFT OUTER JOIN I_WasteDisposalChannelStatus AS _DisposalChannelStatus ON WasteDisposalChannelStatus = _DisposalChannelStatus.WasteDisposalChannelStatus  -- association [1..1]
LEFT OUTER JOIN I_WasteTransportationDocType AS _TransportDocType ON Country = _TransportDocType.Country AND EnvrmtWasteTranspDocType = _TransportDocType.EnvrmtWasteTranspDocType  -- association [0..1]
LEFT OUTER JOIN I_EnvrmtWasteGnrtrByMgrRole AS _WasteGeneratorRole ON EnvrmtWasteGnrtrUUID = _WasteGeneratorRole.EHSLocationUUID  -- association [0..1]
LEFT OUTER JOIN I_EnvironmentWasteLocation AS _WasteLocation ON EnvrmtWasteGnrtrUUID = _WasteLocation.EHSLocationUUID  -- association [0..1]
LEFT OUTER JOIN I_WasteDisposalChnlWstStm AS _DisposalChannelWasteStream ON WasteDisposalChannelUUID = _DisposalChannelWasteStream.WasteDisposalChannelUUID  -- association [0..*]
;