C_WasteTransferRequestVH
Waste Transfer Request
C_WasteTransferRequestVH is a Consumption CDS View that provides data about "Waste Transfer Request" in SAP S/4HANA. It reads from 1 data source (I_WasteTransferRequest) and exposes 31 fields with key field WasteTransfReqUUID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WasteTransferRequest | I_WasteTransferRequest | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_WasteTransferRequestStatus | _RequestStatus | $projection.WasteTransfReqStatus = _RequestStatus.WasteTransfReqStatus |
| [1..*] | I_WasteDisposalChannelPermit | _Permit | $projection.WasteDisposalChannelUUID = _Permit.WasteDisposalChannelUUID |
| [1..1] | I_WasteDisposalChannel | _WasteDisposalChannel | $projection.WasteDisposalChannelUUID = _WasteDisposalChannel.WasteDisposalChannelUUID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Waste Transfer Request | view | |
| AbapCatalog.sqlViewName | CWSTTRRQVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | WasteTransfReqUUID | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WasteTransfReqUUID | WasteTransfReqUUID | WTR UUID | |
| WasteStreamUUID | WasteStreamUUID | Waste Stream UUID | ||
| EHSOutgoingAmountUUID | EHSOutgoingAmountUUID | Key | ||
| WasteDisposalChannelUUID | WasteDisposalChannelUUID | UUID | ||
| WasteTransferRequestNumber | WasteTransferRequestNumber | Document Number ID | ||
| WasteStreamMaterial | _WasteStream | Material | Vehicle Model | |
| ProductDescription | ||||
| EnvrmtWasteOutgoingQuantity | EnvrmtWasteOutgoingQuantity | Quantity | ||
| EnvrmtWasteUnitOfMeasure | ||||
| UnitOfMeasureName | ||||
| WasteStreamName | _WasteStream | WasteStreamName | Waste Stream Name | |
| WasteTransfReqDate | WasteTransfReqDate | Date of WTR | ||
| WasteTransfReqStatusName | _RequestStatus | WasteTransfReqStatusName | ||
| WasteStreamPtOfGnrtnLocName | _WasteStorage | EHSLocationName | ||
| EnvrmtWastePartFcltyName | ||||
| WasteDsplChannelPermitNmbr | _Permit | WasteDsplChannelPermitNmbr | Permit Number | |
| WasteTransfReqStatus | WasteTransfReqStatus | Status | ||
| WasteStreamPtOfGnrtnLocUUID | WasteStreamPtOfGnrtnLocUUID | Pnt of Gnrtn UUID | ||
| EnvrmtWasteGnrtrUUID | _WasteStream | EnvrmtWasteGnrtrUUID | Waste Generator UUID | |
| ChmlCmplncInfoUUID | _WasteStream | ChmlCmplncInfoUUID | Chemical Compliance Information PP | |
| EnvrmtWastePartDsplFcltyUUID | _WasteDisposalChannel | WasteDsplChnlFacilityUUID | Waste Facility UUID | |
| EnvrmtWasteTranspDocType | _WasteDisposalChannel | EnvrmtWasteTranspDocType | Trans Doc Ty ID | |
| WasteDsplChnlDisposerUUID | _WasteDisposalChannel | WasteDsplChnlDisposerUUID | Waste Partner UUID | |
| Country | Country | Venue: Ctry/Reg | ||
| _WasteStream | _WasteStream | |||
| _Amount | _Amount | |||
| _WasteStorage | _WasteStorage | |||
| _Permit | _Permit | |||
| _WasteDisposalChannel | _WasteDisposalChannel | |||
| _Disposer | _WasteDisposalChannel | _Disposer | ||
| _DisposalFacility | _WasteDisposalChannel | _DisposalFacility |
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_WasteTransferRequestVH.
-- 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_WasteTransferRequestVH AS
SELECT
WasteTransfReqUUID,
WasteStreamUUID,
EHSOutgoingAmountUUID,
WasteDisposalChannelUUID,
WasteTransferRequestNumber,
_WasteStream.Material AS WasteStreamMaterial,
_WasteStream._ProductText[1: Language = $session.system_language].ProductDescription AS ProductDescription,
EnvrmtWasteOutgoingQuantity,
cast(_Amount.UnitOfMeasure as meins preserving type ) AS EnvrmtWasteUnitOfMeasure,
_UnitOfMeasureText[1: Language = $session.system_language].UnitOfMeasureName AS UnitOfMeasureName,
_WasteStream.WasteStreamName AS WasteStreamName,
WasteTransfReqDate,
_RequestStatus.WasteTransfReqStatusName AS WasteTransfReqStatusName,
_WasteStorage.EHSLocationName AS WasteStreamPtOfGnrtnLocName,
_WasteDisposalChannel._DisposalFacility.EnvrmtWastePartFcltyName AS EnvrmtWastePartFcltyName,
_Permit.WasteDsplChannelPermitNmbr AS WasteDsplChannelPermitNmbr,
WasteTransfReqStatus,
WasteStreamPtOfGnrtnLocUUID,
_WasteStream.EnvrmtWasteGnrtrUUID AS EnvrmtWasteGnrtrUUID,
_WasteStream.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
_WasteDisposalChannel.WasteDsplChnlFacilityUUID AS EnvrmtWastePartDsplFcltyUUID,
_WasteDisposalChannel.EnvrmtWasteTranspDocType AS EnvrmtWasteTranspDocType,
_WasteDisposalChannel.WasteDsplChnlDisposerUUID AS WasteDsplChnlDisposerUUID,
Country,
_WasteDisposalChannel._Disposer AS _Disposer,
_WasteDisposalChannel._DisposalFacility AS _DisposalFacility
FROM I_WasteTransferRequest
LEFT OUTER JOIN I_WasteTransferRequestStatus AS _RequestStatus ON WasteTransfReqStatus = _RequestStatus.WasteTransfReqStatus -- association [1..1]
LEFT OUTER JOIN I_WasteDisposalChannelPermit AS _Permit ON WasteDisposalChannelUUID = _Permit.WasteDisposalChannelUUID -- association [1..*]
LEFT OUTER JOIN I_WasteDisposalChannel AS _WasteDisposalChannel ON WasteDisposalChannelUUID = _WasteDisposalChannel.WasteDisposalChannelUUID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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