R_WasteTransferRequestManageTP
Waste Transfer Request Manage - TP
R_WasteTransferRequestManageTP is a Transactional CDS View that provides data about "Waste Transfer Request Manage - TP" in SAP S/4HANA. It reads from 1 data source (I_WasteTransferRequest) and exposes 50 fields with key field WasteTransfReqUUID. It has 15 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WasteTransferRequest | I_WasteTransferRequest | from |
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_UnitOfMeasureText | _TotConfUnitOfMeasureText | $projection.envrmtwastetotconfirmedqtycode = _TotConfUnitOfMeasureText.UnitOfMeasure |
| [0..*] | I_UnitOfMeasureText | _ConfUnitOfMeasureText | $projection.EnvrmtWasteConfirmedQtyCode = _ConfUnitOfMeasureText.UnitOfMeasure |
| [0..1] | I_User | _CreatedByUserText | $projection.CreatedByUser = _CreatedByUserText.UserID |
| [0..1] | I_User | _LastChangedByUserText | $projection.LastChangedByUser = _LastChangedByUserText.UserID |
| [0..1] | I_WasteTransferReqTmeLimits | _TimeLimit | $projection.Country = _TimeLimit.Country and _TimeLimit.Region is initial |
| [0..1] | I_WasteTransferReqTmeLimits | _TimeLimitRegion | $projection.Country = _TimeLimitRegion.Country and $projection.Region = _TimeLimitRegion.Region |
| [0..1] | I_WasteTransferRequestCritlty | _Criticality | $projection.WasteTransferRequestCritlty = _Criticality.WasteTransferRequestCritlty |
| [0..1] | R_WasteStreamTP | _WasteStream | $projection.WasteStreamUUID = _WasteStream.WasteStreamUUID |
| [0..1] | R_WasteDisposalChannelTP | _WasteDisposalChannel | $projection.WasteDisposalChannelUUID = _WasteDisposalChannel.WasteDisposalChannelUUID |
| [0..*] | I_ProductDescription | _ProductText | $projection.WasteStreamMaterial = _ProductText.Product |
| [0..*] | I_EnvrmtWasteGnrtrText | _WasteGnrtrText | $projection.EnvrmtWasteGnrtrUUID = _WasteGnrtrText.EnvrmtWasteGnrtrUUID |
| [0..*] | I_WasteStreamLocationText | _LocText | $projection.WasteStreamPtOfGnrtnLocUUID = _LocText.EHSLocationUUID |
| [0..1] | E_WasteTransferRequest | _Extension | $projection.WasteTransfReqUUID = _Extension.WasteTransfReqUUID |
| [0..*] | R_WasteTransferReqFllwOnDocTP | _WasteTransferReqFllwOnDoc | |
| [0..*] | R_WasteTransferRequestHistTP | _WasteTransferRequestHistory | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Waste Transfer Request Manage - TP | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.sapObjectNodeType.name | WasteTransferRequest | view | |
| ObjectModel.representativeKey | WasteTransfReqUUID | view |
Fields (50)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WasteTransfReqUUID | WasteTransfReqUUID | WTR UUID | |
| WasteTransferRequestNumber | WasteTransferRequestNumber | Document Number ID | ||
| WasteTransfReqDate | WasteTransfReqDate | Date of WTR | ||
| WasteTransfReqStatus | WasteTransfReqStatus | Status | ||
| WasteStreamPtOfGnrtnLocUUID | WasteStreamPtOfGnrtnLocUUID | Pnt of Gnrtn UUID | ||
| EHSOutgoingAmountUUID | EHSOutgoingAmountUUID | Key | ||
| quan1343asEnvrmtWasteOutgoingQuantity | Quantity | |||
| EnvrmtWasteUnitOfMeasure | EnvrmtWasteUnitOfMeasure | Base Unit | ||
| EnvrmtWasteConfirmedQuantity | ||||
| EnvrmtWasteConfirmedQtyCode | ||||
| WasteStreamUUID | WasteStreamUUID | Waste Stream UUID | ||
| Country | Country | Venue: Ctry/Reg | ||
| Region | Region | Venue Region | ||
| WasteTransfReqPostDate | WasteTransfReqPostDate | Date of WTR | ||
| EnvrmtWasteGnrtrUUID | _WasteStream | EnvrmtWasteGnrtrUUID | Waste Generator UUID | |
| EnvrmtWasteTotConfirmedQty | ||||
| EnvrmtWasteTotConfirmedQtyCode | ||||
| ChmlCmplncInfoUUID | _WasteStream | ChmlCmplncInfoUUID | Chemical Compliance Information PP | |
| WasteStreamMaterial | _WasteStream | Material | Vehicle Model | |
| WasteDisposalChannelUUID | WasteDisposalChannelUUID | UUID | ||
| EnvrmtWasteIsPermitHidden | ||||
| WasteDisposalChannelNumber | _WasteDisposalChannel | WasteDisposalChannelNumber | Number | |
| WasteDisposalChannelName | _WasteDisposalChannel | WasteDisposalChannelName | Dispsl Channel Name | |
| EnvWstTransfReqRemarkTxt | EnvWstTransfReqRemarkTxt | Transf Req Remark | ||
| WasteTransfReqHasInvtryMgmtErr | WasteTransfReqHasInvtryMgmtErr | WTR has IM error | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| Associations_Amount | ||||
| _WasteStorage | _WasteStorage | |||
| _WasteTransferReqFllwOnDoc | _WasteTransferReqFllwOnDoc | |||
| _WasteTransferRequestHistory | _WasteTransferRequestHistory | |||
| _WasteStatus | _WasteStatus | |||
| _UnitOfMeasureText | _UnitOfMeasureText | |||
| _CreatedByUserText | _CreatedByUserText | |||
| _LastChangedByUserText | _LastChangedByUserText | |||
| _TimeLimit | _TimeLimit | |||
| _TimeLimitRegion | _TimeLimitRegion | |||
| _ProductText | _ProductText | |||
| _WasteGnrtrText | _WasteGnrtrText | |||
| _DisposalChannel | _DisposalChannel | |||
| _Criticality | _Criticality | |||
| _WasteStream | _WasteStream | |||
| _WasteDisposalChannel | _WasteDisposalChannel | |||
| _ConfUnitOfMeasureText | _ConfUnitOfMeasureText | |||
| _TotConfUnitOfMeasureText | _TotConfUnitOfMeasureText | |||
| _WasteGeneratorManagerByRole | _WasteGeneratorManagerByRole | |||
| _LocText | _LocText | |||
| _WasteGeneratorOperatorByRole | _WasteGeneratorOperatorByRole |
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_WasteTransferRequestManageTP.
-- 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_WasteTransferRequestManageTP AS
SELECT
WasteTransfReqUUID,
WasteTransferRequestNumber,
WasteTransfReqDate,
WasteTransfReqStatus,
WasteStreamPtOfGnrtnLocUUID,
EHSOutgoingAmountUUID,
EnvrmtWasteUnitOfMeasure,
cast(cast(_WasteTransportDocMatl._ConfirmedAmount.EHSAmountValue as abap.decfloat16) as abap.dec(10,3)) AS EnvrmtWasteConfirmedQuantity,
cast(_WasteTransportDocMatl._ConfirmedAmount.UnitOfMeasure as meins preserving type ) AS EnvrmtWasteConfirmedQtyCode,
WasteStreamUUID,
Country,
Region,
WasteTransfReqPostDate,
_WasteStream.EnvrmtWasteGnrtrUUID AS EnvrmtWasteGnrtrUUID,
_WasteTransportDocMatl._TranspDoc.EnvrmtWasteTotConfirmedQty AS EnvrmtWasteTotConfirmedQty,
_WasteTransportDocMatl._TranspDoc.EnvrmtWasteTotConfirmedQtyCode AS EnvrmtWasteTotConfirmedQtyCode,
_WasteStream.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
_WasteStream.Material AS WasteStreamMaterial,
WasteDisposalChannelUUID,
_WasteDisposalChannel._TransportDocTypeDesc.EnvrmtWasteIsPermitHidden AS EnvrmtWasteIsPermitHidden,
_WasteDisposalChannel.WasteDisposalChannelNumber AS WasteDisposalChannelNumber,
_WasteDisposalChannel.WasteDisposalChannelName AS WasteDisposalChannelName,
EnvWstTransfReqRemarkTxt,
WasteTransfReqHasInvtryMgmtErr,
CreationDateTime,
CreatedByUser,
LastChangeDateTime,
LastChangedByUser
FROM I_WasteTransferRequest
LEFT OUTER JOIN I_UnitOfMeasureText AS _TotConfUnitOfMeasureText ON envrmtwastetotconfirmedqtycode = _TotConfUnitOfMeasureText.UnitOfMeasure -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _ConfUnitOfMeasureText ON EnvrmtWasteConfirmedQtyCode = _ConfUnitOfMeasureText.UnitOfMeasure -- association [0..*]
LEFT OUTER JOIN I_User AS _CreatedByUserText ON CreatedByUser = _CreatedByUserText.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUserText ON LastChangedByUser = _LastChangedByUserText.UserID -- association [0..1]
LEFT OUTER JOIN I_WasteTransferReqTmeLimits AS _TimeLimit ON Country = _TimeLimit.Country AND _TimeLimit.Region is initial -- association [0..1]
LEFT OUTER JOIN I_WasteTransferReqTmeLimits AS _TimeLimitRegion ON Country = _TimeLimitRegion.Country AND Region = _TimeLimitRegion.Region -- association [0..1]
LEFT OUTER JOIN I_WasteTransferRequestCritlty AS _Criticality ON WasteTransferRequestCritlty = _Criticality.WasteTransferRequestCritlty -- association [0..1]
LEFT OUTER JOIN R_WasteStreamTP AS _WasteStream ON WasteStreamUUID = _WasteStream.WasteStreamUUID -- association [0..1]
LEFT OUTER JOIN R_WasteDisposalChannelTP AS _WasteDisposalChannel ON WasteDisposalChannelUUID = _WasteDisposalChannel.WasteDisposalChannelUUID -- association [0..1]
LEFT OUTER JOIN I_ProductDescription AS _ProductText ON WasteStreamMaterial = _ProductText.Product -- association [0..*]
LEFT OUTER JOIN I_EnvrmtWasteGnrtrText AS _WasteGnrtrText ON EnvrmtWasteGnrtrUUID = _WasteGnrtrText.EnvrmtWasteGnrtrUUID -- association [0..*]
LEFT OUTER JOIN I_WasteStreamLocationText AS _LocText ON WasteStreamPtOfGnrtnLocUUID = _LocText.EHSLocationUUID -- association [0..*]
LEFT OUTER JOIN E_WasteTransferRequest AS _Extension ON WasteTransfReqUUID = _Extension.WasteTransfReqUUID -- association [0..1]
LEFT OUTER JOIN R_WasteTransferReqFllwOnDocTP AS _WasteTransferReqFllwOnDoc ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_WasteTransferRequestHistTP AS _WasteTransferRequestHistory ON /* condition not available in parsed metadata */ -- association [0..*]
;
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