I_WasteTransportationDocType

DDL: I_WASTETRANSPORTATIONDOCTYPE Type: view BASIC Package: EHEWA_MASTER_COMMON

Waste Transportation Document Type

I_WasteTransportationDocType is a Basic CDS View that provides data about "Waste Transportation Document Type" in SAP S/4HANA. It reads from 1 data source (ehewac_td_type) and exposes 9 fields with key fields EnvrmtWasteTranspDocType, Country, EnvrmtWasteHazardCharcID. Part of development package EHEWA_MASTER_COMMON.

Data Sources (1)

SourceAliasJoin Type
ehewac_td_type ehewac_td_type from

Annotations (12)

NameValueLevelField
EndUserText.label Waste Transportation Document Type view
AbapCatalog.sqlViewName IWSTTRNSPDOCTY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey EnvrmtWasteTranspDocType view
ObjectModel.resultSet.sizeCategory #XS view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY EnvrmtWasteTranspDocType typeid Trans Doc Ty ID
KEY Country countryregion Country / Region
KEY EnvrmtWasteHazardCharcID wastetypeid Waste Type ID
Region region Venue Region
EnvrmtWasteTranspDocIsPmtRqd permit_required Permit Required
EnvrmtWasteIsPermitHidden
EnvWstTranspDocTypeDesc typedescription Trans Doc Type Desc
WasteDsplChannelPermitType Permit Type
NumberRange number_range_number EHEWAWTDNR Number

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_WasteTransportationDocType.
-- 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_WasteTransportationDocType AS
SELECT
  typeid AS EnvrmtWasteTranspDocType,
  countryregion AS Country,
  wastetypeid AS EnvrmtWasteHazardCharcID,
  Region,
  permit_required AS EnvrmtWasteTranspDocIsPmtRqd,
  case when permit_required = 'X' then '' else 'X' end AS EnvrmtWasteIsPermitHidden,
  typedescription AS EnvWstTranspDocTypeDesc,
  cast(permit_type as abap.char( 10 )) AS WasteDsplChannelPermitType,
  number_range_number AS NumberRange
FROM ehewac_td_type
;