I_EWA_WasteDisposalOrderItem
Waste disposal order items
I_EWA_WasteDisposalOrderItem (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Utilities
I_EWA_WasteDisposalOrderItem is a Basic CDS View that provides data about "Waste disposal order items" in SAP S/4HANA. It reads from 1 data source (ewa_order_object) and exposes 134 fields with key fields EWAWasteDisposalOrder, EWAWasteDisposalOrderItem. It has 30 associations to related views.
SAP Help Documentation
| Category | CDS Views for Waste Disposal Order |
|---|
This CDS view retrieves all waste disposal orders and order items based on Business Partner, Status, Routes, Waste, Waste Disposal Facilities, Service Types, Service Areas, Date Range, and Contract References so that unplanned and open orders can be tracked and fulfilled. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: B_BUP_PCPT (Business Partner: Purpose Completed) E_ORDER (Authorization Object for Waste Disposal Order )
Structure
Important Fields Important fields in this view include the following: Field Name Description Measure or Attribute Comment EWAWasteDisposalOrder Waste Disposal Order Attribute Internal Number for Identifying a Waste Disposal Order EWAWasteDisposalOrderItem Waste Disposal Order Item Attribute Internal Number for Identifying a Waste Disposal Order EWAContainer Container Serial Number Attribute Container EWAWaste Material Attribute Waste Material EWAServiceType Service Type Attribute Service Type EWAWasteDisposalFacility Waste Disposal Facility Attribute Plant
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Utilities |
| Application Component | IS-U-WA |
| Capabilities | Analytical Dimension, Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities |
| Package | Utilities for SAP S/4HANA |
| Description | <p>This CDS view retrieves all waste disposal orders and order items based on Business Partner, Status, Routes, Waste, Waste Disposal Facilities, Service Types, Service Areas, Date Range, and Contract References so that unplanned and open orders can be tracked and fulfilled. </p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA, onpremise edition — Explore SAP S/4HANA Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ewa_order_object | ewa_order_object | from |
Associations (30)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EWA_ConfirmationNote | _EWAConfirmationNote1 | $projection.EWAConfirmationNote1 = _EWAConfirmationNote1.EWAConfirmationNote1 |
| [0..1] | I_EWA_ConfirmationNote | _EWAConfirmationNote2 | $projection.EWAConfirmationNote2 = _EWAConfirmationNote2.EWAConfirmationNote1 |
| [0..1] | I_EWA_ConfirmationNote | _EWAConfirmationNote3 | $projection.EWAConfirmationNote3 = _EWAConfirmationNote3.EWAConfirmationNote1 |
| [0..1] | I_FunctionalLocation | _EWAContainerLocation | $projection.EWAContainerLocation = _EWAContainerLocation.FunctionalLocation |
| [0..1] | I_Product | _EWAWasteMaterial | $projection.EWAWaste = _EWAWasteMaterial.Product |
| [0..1] | I_Product | _EWAContainerCategory | $projection.EWAContainerCategory = _EWAContainerCategory.Product |
| [0..1] | I_PurchasingDocument | _EWASubcontrgPurchaseOrder | $projection.EWASubcontrgPurchaseOrder = _EWASubcontrgPurchaseOrder.PurchasingDocument |
| [0..1] | I_PurchasingDocumentItem | _EWASubcontrgPurchaseOrderItem | $projection.EWASubcontrgPurchaseOrder = _EWASubcontrgPurchaseOrderItem.PurchasingDocument and $projection.EWASubcontrgPurchaseOrderItem = _EWASubcontrgPurchaseOrderItem.PurchasingDocumentItem |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [0..1] | I_BusinessPartner | _ShipToParty | $projection.ShipToParty = _ShipToParty.BusinessPartner |
| [0..1] | I_EWA_ServiceType | _EWAServiceType | $projection.EWAServiceType = _EWAServiceType.EWAServiceType |
| [0..1] | I_EWA_ServiceFrequency | _EWAServiceNumber | $projection.EWAServiceNumber = _EWAServiceNumber.EWAServiceNumber |
| [1..1] | I_EWA_WasteDisposalOrder | _EWAWasteDisposalOrder | $projection.EWAWasteDisposalOrder = _EWAWasteDisposalOrder.EWAWasteDisposalOrder |
| [0..1] | I_EWA_CleaningProperty | _EWAProperty | $projection.EWAProperty = _EWAProperty.EWAProperty |
| [0..1] | I_EWA_WasteDisposalFacility | _EWAWasteDisposalFacility | $projection.EWAWasteDisposalFacility = _EWAWasteDisposalFacility.EWAWasteDisposalFacility |
| [0..1] | I_UnitOfMeasure | _EWADistanceUnit | $projection.EWADistanceUnit = _EWADistanceUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _EWAActualDurationUnit | $projection.EWAActualDurationUnit = _EWAActualDurationUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _EWATimeUnit | $projection.EWATimeUnit = _EWATimeUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _EWAPurchaseOrderUnit | $projection.EWAPurchaseOrderUnit = _EWAPurchaseOrderUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _EWAWeightUnit | $projection.EWAWeightUnit = _EWAWeightUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _EWAVolumeUnit | $projection.EWAVolumeUnit = _EWAVolumeUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _EWABulkVolumeUnit | $projection.EWABulkVolumeUnit = _EWABulkVolumeUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _EWABulkWeightUnit | $projection.EWABulkWeightUnit = _EWABulkWeightUnit.UnitOfMeasure |
| [0..1] | I_SalesContract | _SalesContract | $projection.SalesContract = _SalesContract.SalesContract |
| [0..1] | I_SalesContractItem | _SalesContractItem | $projection.SalesContract = _SalesContractItem.SalesContract and $projection.SalesContractItem = _SalesContractItem.SalesContractItem |
| [0..1] | I_SalesDocument | _SalesDebitMemo | $projection.DebitMemoRequest = _SalesDebitMemo.SalesDocument |
| [0..1] | I_Equipment | _Container | $projection.EWAContainer = _Container.Equipment |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | E_EWA_WasteDisposalOrderItem | _ExtensionItem | $projection.EWAWasteDisposalOrder = _ExtensionItem.EWAWasteDisposalOrder and $projection.EWAWasteDisposalOrderItem = _ExtensionItem.EWAWasteDisposalOrderItem |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Waste disposal order items | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.representativeKey | EWAWasteDisposalOrderItem | view |
Fields (134)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EWAWasteDisposalOrder | ordernr | Internal Number for Identifying a Waste Disposal Order | |
| KEY | EWAWasteDisposalOrderItem | order_laufnr | Sequence Number for Waste Disposal Order Item | |
| EWAContainer | container | Serial Number of Container | ||
| EWAContainerCategory | beh_type | Container category | ||
| EWAContainerSerialNumber | sernr | Serial Number | ||
| EWAOrderDate | order_date | Planned Date for Execution of Waste Disposal Order | ||
| EWAActualOrderDate | actual_date | Actual Date of Waste Disposal Order | ||
| EWAWaste | Waste | |||
| EWAServiceType | service_type | Type of Ext. Service | ||
| EWAWasteDisposalFacility | Identification of Waste Disposal Facility | |||
| Plant | waste_werks | Plant | ||
| StorageLocation | waste_lgort | Destination: Storage location in plant | ||
| EWAServiceWindow | timeframe | Service window | ||
| EWAStartTime | start_time | Start time of a service window | ||
| EWAEndTime | end_time | End of service window | ||
| EWAServiceNumber | servfreqnr | Number of service frequency | ||
| EWAServiceNumberItem | servfreq_lfnr | Sequence Number of Service Frequency | ||
| EWARouteSequenceValue | route_sequence | Number of stop in route | ||
| SalesContract | sdaufnr | Sales Document | ||
| SalesContractItem | sdposnr | Item number of the SD document | ||
| EWAAddressID | addrnr | Address Number | ||
| EWAPlannedOrderDate | old_order_date | Planned Date for Execution of Waste Disposal Order | ||
| EWAContMovementSalesOrder | smaufnr | Order Number | ||
| EWAWasteDisposalOrderItemText | ordertxt | Text, 255 Characters | ||
| EWAContainerLocation | Functional Location | |||
| EWANewContainerCategory | beh_type_new | New Container Category | ||
| EWANewContainerSerialNumber | sernr_new | New Container Serial Number | ||
| EWANumberOfContainers | beh_anzahl | Number of available containers | ||
| EWAProperty | eprop | Property | ||
| BusinessPartner | kunnr | Business Partner Number | ||
| ShipToParty | kunwe | Ship-to Party | ||
| EWACapacityNumber | capab | Capacity Number | ||
| EWABulkWeightUnit | bulk_weight_unit | Unit of weight | ||
| EWABulkWeight | bulk_waste_weigh | Weight of Waste Measured when Container Emptied | ||
| EWABulkVolumeUnit | bulk_vol_unit | Volume unit | ||
| EWABulkVolume | bulk_waste_vol | Waste Volume Measured when Container Emptied | ||
| EWAWasteDsplOrdProcessingType | order_type | Processing of Waste Disposal Order | ||
| EWACleaningObject | rob | Cleaning Object | ||
| EWACleaningObjectType | robtyp | Cleaning Object Category | ||
| EWASuperiorCleaningObject | superrob | Higher-Level Cleaning Object | ||
| EWAWinterMaintenanceLevel | winterlevel | Winter Maintenance Level | ||
| EWACleaningMethod1 | clean1 | Cleaning Method | ||
| EWACleaningMethod2 | clean2 | Cleaning Method | ||
| EWACleaningMethod3 | clean3 | Cleaning Method | ||
| EWACleaningMethod4 | clean4 | Cleaning Method | ||
| EWACleaningMethod5 | clean5 | Cleaning Method | ||
| EWATgtCleaningObjAssmtQuantity | remeng_target | Assessment Value | ||
| EWACleaningObjAssmtQtyUnit | reunit | Unit of Measurement | ||
| EWAContainerGroup | behgrp | Container Group | ||
| EWANumberOfGroupedContainers | anzahl_behgrp | Number of Containers in Container Group | ||
| EWANewContainerGroup | behgrp_new | Container Group | ||
| MaterialDocument | mblnr | Number of Material Document | ||
| EWAIsAdditionalService | add_service | Indicator for Additional Service | ||
| DebitMemoRequest | sdaufnr_nach | Subsequent Sales and Distribution Document | ||
| EWAIsContainerMovementOrder | contalloc | Indicators | ||
| EWAWasteDsplOrdItmObjectNumber | pobjnr | Object number | ||
| EWACapacityCategory | capacitykind | Capacity Category | ||
| EWAIsMultiContractAssignment | sdmultiple | Indicator: Multiple SD Contracts Allocated | ||
| EWASrvcLocationContactPerson | sloccontact | Contact Person for Container Location | ||
| EWAPlannedTime | planned_time | Time Planned | ||
| EWAPlannedOrderTime | planned_durt | Service Duration | ||
| EWAInstalledBase | ibase | IBase: Number of the Installed Base/IBase | ||
| EWANewInstalledBase | ibase_new | IBase: Number of the Installed Base/IBase | ||
| EWASubcontrgPurchaseOrder | ebeln_sc | Purchasing Document Number | ||
| EWASubcontrgPurchaseOrderItem | ebelp_sc | Item Number of Purchasing Document | ||
| EWASubcontrgMaterialDocument | mblnr_sc | Number of Material Document | ||
| EWASubcontrgMaterialDocYear | mjahr_sc | Material Document Year | ||
| EWASubcontrgSalesOrder | vbeln_sc | Sales Document | ||
| EWASubcontrgSalesOrderItem | posnr_sc | Sales Document Item | ||
| EWAConfirmedContainerCategory | behtyp_rm | Container category | ||
| EWAConfirmedCtnSerialNumber | Serial Number | |||
| EWANumberOfConfirmedContainers | beh_anzahl_rm | Confirmed Number of Containers | ||
| EWARemovalCtnSerialNumber | Serial Number for Removal | |||
| EWAWeightUnit | weight_unit | Unit of weight | ||
| EWAWasteWeight | waste_weight | Weight of Waste Measured when Container Emptied | ||
| EWAEmptyWeight | cont_wght_tara | Weight of empty container | ||
| EWAGrossWeight | cont_weight_full | Container weight including waste | ||
| EWAVolumeUnit | vol_unit | Volume unit | ||
| EWAWasteVolume | waste_vol | Waste Volume Measured when Container Emptied | ||
| EWAWasteDsplOrdItmCompltnTime | uzeit | Time | ||
| EWAEmptyingTime | cont_serv_durat | Time required for emptying a container | ||
| EWACleaningObjAssmtQuantity | remeng | Assessment Value | ||
| EWAConfirmationNote1 | Confirmation note | |||
| EWAConfirmationNote2 | conftype2 | Confirmation note | ||
| EWAConfirmationNote3 | conftype3 | Confirmation note | ||
| EWANumberOfWeighingNotes | wcnt | Consecutive Number of Weighing Data Record | ||
| EWARefWasteDisposalOrder | ref_ordernr | Number of Waste Disposal Order for Weighing Data Record | ||
| EWABillingQuantityValue | abrmenge | Billing quantity | ||
| EWATermOfLease | mietdauer | Term of Lease | ||
| EWATimeUnit | zeitunit | Time unit | ||
| EWAOrderObjectBreakTime | pause_p | Length of Breaks | ||
| EWAActualTime | actual_time | Actual Time | ||
| EWAWeighingNotesWeight | wgh_waste_weight | Total Weight of Weighing Notes | ||
| EWAWeighingNotesVolume | wgh_waste_vol | Total Volume of Weighing Notes | ||
| EWAPurchaseContract | Number of principal purchase agreement | |||
| EWAPurchaseContractItem | Item Number of Principal Purchase Agreement | |||
| EWAPurchaseOrderQuantity | bstmg_sc | Purchase Order Quantity | ||
| EWAPurchaseOrderUnit | bstme_sc | Purchase Order Unit of Measure | ||
| EWAAltPurchaseContract | Subcontr. Handl.: Number of Sales Contract | |||
| EWAAltPurchaseContractItem | Subcontr. Handl.: Number of Sales Contract | |||
| EWAActualDuration | idaur | Actual Duration for Confirmation | ||
| EWAActualDurationUnit | idaure | Unit for actual duration | ||
| EWADrivingDistance | fahrst | Distance | ||
| EWADistanceUnit | fahrste | Unit of Measure | ||
| EWAWasteDsplOrderNumberOfItems | Number of Order Items | |||
| _BusinessPartner | _BusinessPartner | |||
| _ShipToParty | _ShipToParty | |||
| _EWAActualDurationUnit | _EWAActualDurationUnit | |||
| _EWABulkVolumeUnit | _EWABulkVolumeUnit | |||
| _EWABulkWeightUnit | _EWABulkWeightUnit | |||
| _EWAConfirmationNote1 | _EWAConfirmationNote1 | |||
| _EWAConfirmationNote2 | _EWAConfirmationNote2 | |||
| _EWAConfirmationNote3 | _EWAConfirmationNote3 | |||
| _EWAWasteDisposalOrder | _EWAWasteDisposalOrder | |||
| _EWAContainerCategory | _EWAContainerCategory | |||
| _EWAContainerLocation | _EWAContainerLocation | |||
| _EWADistanceUnit | _EWADistanceUnit | |||
| _EWAProperty | _EWAProperty | |||
| _EWAPurchaseOrderUnit | _EWAPurchaseOrderUnit | |||
| _EWAServiceNumber | _EWAServiceNumber | |||
| _EWAServiceType | _EWAServiceType | |||
| _EWASubcontrgPurchaseOrder | _EWASubcontrgPurchaseOrder | |||
| _EWASubcontrgPurchaseOrderItem | _EWASubcontrgPurchaseOrderItem | |||
| _EWATimeUnit | _EWATimeUnit | |||
| _EWAVolumeUnit | _EWAVolumeUnit | |||
| _EWAWasteDisposalFacility | _EWAWasteDisposalFacility | |||
| _EWAWeightUnit | _EWAWeightUnit | |||
| _StorageLocation | _StorageLocation | |||
| _SalesContract | _SalesContract | |||
| _SalesContractItem | _SalesContractItem | |||
| _SalesDebitMemo | _SalesDebitMemo | |||
| _Container | _Container | |||
| _EWAWasteMaterial | _EWAWasteMaterial | |||
| _Plant | _Plant |
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_EWA_WasteDisposalOrderItem.
-- 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_EWA_WasteDisposalOrderItem AS
SELECT
ordernr AS EWAWasteDisposalOrder,
order_laufnr AS EWAWasteDisposalOrderItem,
container AS EWAContainer,
beh_type AS EWAContainerCategory,
sernr AS EWAContainerSerialNumber,
order_date AS EWAOrderDate,
actual_date AS EWAActualOrderDate,
cast(waste_type as waste_type preserving type ) AS EWAWaste,
service_type AS EWAServiceType,
cast(wdplantnr as ewael_wdplantnr preserving type ) AS EWAWasteDisposalFacility,
waste_werks AS Plant,
waste_lgort AS StorageLocation,
timeframe AS EWAServiceWindow,
start_time AS EWAStartTime,
end_time AS EWAEndTime,
servfreqnr AS EWAServiceNumber,
servfreq_lfnr AS EWAServiceNumberItem,
route_sequence AS EWARouteSequenceValue,
sdaufnr AS SalesContract,
sdposnr AS SalesContractItem,
addrnr AS EWAAddressID,
old_order_date AS EWAPlannedOrderDate,
smaufnr AS EWAContMovementSalesOrder,
ordertxt AS EWAWasteDisposalOrderItemText,
cast(servloc as vdm_eam_tplnr preserving type ) AS EWAContainerLocation,
beh_type_new AS EWANewContainerCategory,
sernr_new AS EWANewContainerSerialNumber,
beh_anzahl AS EWANumberOfContainers,
eprop AS EWAProperty,
kunnr AS BusinessPartner,
kunwe AS ShipToParty,
capab AS EWACapacityNumber,
bulk_weight_unit AS EWABulkWeightUnit,
bulk_waste_weigh AS EWABulkWeight,
bulk_vol_unit AS EWABulkVolumeUnit,
bulk_waste_vol AS EWABulkVolume,
order_type AS EWAWasteDsplOrdProcessingType,
rob AS EWACleaningObject,
robtyp AS EWACleaningObjectType,
superrob AS EWASuperiorCleaningObject,
winterlevel AS EWAWinterMaintenanceLevel,
clean1 AS EWACleaningMethod1,
clean2 AS EWACleaningMethod2,
clean3 AS EWACleaningMethod3,
clean4 AS EWACleaningMethod4,
clean5 AS EWACleaningMethod5,
remeng_target AS EWATgtCleaningObjAssmtQuantity,
reunit AS EWACleaningObjAssmtQtyUnit,
behgrp AS EWAContainerGroup,
anzahl_behgrp AS EWANumberOfGroupedContainers,
behgrp_new AS EWANewContainerGroup,
mblnr AS MaterialDocument,
add_service AS EWAIsAdditionalService,
sdaufnr_nach AS DebitMemoRequest,
contalloc AS EWAIsContainerMovementOrder,
pobjnr AS EWAWasteDsplOrdItmObjectNumber,
capacitykind AS EWACapacityCategory,
sdmultiple AS EWAIsMultiContractAssignment,
sloccontact AS EWASrvcLocationContactPerson,
planned_time AS EWAPlannedTime,
planned_durt AS EWAPlannedOrderTime,
ibase AS EWAInstalledBase,
ibase_new AS EWANewInstalledBase,
ebeln_sc AS EWASubcontrgPurchaseOrder,
ebelp_sc AS EWASubcontrgPurchaseOrderItem,
mblnr_sc AS EWASubcontrgMaterialDocument,
mjahr_sc AS EWASubcontrgMaterialDocYear,
vbeln_sc AS EWASubcontrgSalesOrder,
posnr_sc AS EWASubcontrgSalesOrderItem,
behtyp_rm AS EWAConfirmedContainerCategory,
cast(sernr_rm_new as gernr preserving type ) AS EWAConfirmedCtnSerialNumber,
beh_anzahl_rm AS EWANumberOfConfirmedContainers,
cast(remsernr as remsernr preserving type ) AS EWARemovalCtnSerialNumber,
weight_unit AS EWAWeightUnit,
waste_weight AS EWAWasteWeight,
cont_wght_tara AS EWAEmptyWeight,
cont_weight_full AS EWAGrossWeight,
vol_unit AS EWAVolumeUnit,
waste_vol AS EWAWasteVolume,
uzeit AS EWAWasteDsplOrdItmCompltnTime,
cont_serv_durat AS EWAEmptyingTime,
remeng AS EWACleaningObjAssmtQuantity,
cast(conftype1 as conftype preserving type ) AS EWAConfirmationNote1,
conftype2 AS EWAConfirmationNote2,
conftype3 AS EWAConfirmationNote3,
wcnt AS EWANumberOfWeighingNotes,
ref_ordernr AS EWARefWasteDisposalOrder,
abrmenge AS EWABillingQuantityValue,
mietdauer AS EWATermOfLease,
zeitunit AS EWATimeUnit,
pause_p AS EWAOrderObjectBreakTime,
actual_time AS EWAActualTime,
wgh_waste_weight AS EWAWeighingNotesWeight,
wgh_waste_vol AS EWAWeighingNotesVolume,
cast(konnr_sc as konnr preserving type ) AS EWAPurchaseContract,
cast(ktpnr_sc as ktpnr preserving type ) AS EWAPurchaseContractItem,
bstmg_sc AS EWAPurchaseOrderQuantity,
bstme_sc AS EWAPurchaseOrderUnit,
cast(konnrsls_sc as ewasubcntrslscntrvbeln preserving type ) AS EWAAltPurchaseContract,
cast(ktpnrsls_sc as ewasubcntrslscntrposnr preserving type ) AS EWAAltPurchaseContractItem,
idaur AS EWAActualDuration,
idaure AS EWAActualDurationUnit,
fahrst AS EWADrivingDistance,
fahrste AS EWADistanceUnit,
cast(1 as ewaposnum) AS EWAWasteDsplOrderNumberOfItems
FROM ewa_order_object
LEFT OUTER JOIN I_EWA_ConfirmationNote AS _EWAConfirmationNote1 ON EWAConfirmationNote1 = _EWAConfirmationNote1.EWAConfirmationNote1 -- association [0..1]
LEFT OUTER JOIN I_EWA_ConfirmationNote AS _EWAConfirmationNote2 ON EWAConfirmationNote2 = _EWAConfirmationNote2.EWAConfirmationNote1 -- association [0..1]
LEFT OUTER JOIN I_EWA_ConfirmationNote AS _EWAConfirmationNote3 ON EWAConfirmationNote3 = _EWAConfirmationNote3.EWAConfirmationNote1 -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocation AS _EWAContainerLocation ON EWAContainerLocation = _EWAContainerLocation.FunctionalLocation -- association [0..1]
LEFT OUTER JOIN I_Product AS _EWAWasteMaterial ON EWAWaste = _EWAWasteMaterial.Product -- association [0..1]
LEFT OUTER JOIN I_Product AS _EWAContainerCategory ON EWAContainerCategory = _EWAContainerCategory.Product -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocument AS _EWASubcontrgPurchaseOrder ON EWASubcontrgPurchaseOrder = _EWASubcontrgPurchaseOrder.PurchasingDocument -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentItem AS _EWASubcontrgPurchaseOrderItem ON EWASubcontrgPurchaseOrder = _EWASubcontrgPurchaseOrderItem.PurchasingDocument AND EWASubcontrgPurchaseOrderItem = _EWASubcontrgPurchaseOrderItem.PurchasingDocumentItem -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _ShipToParty ON ShipToParty = _ShipToParty.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_EWA_ServiceType AS _EWAServiceType ON EWAServiceType = _EWAServiceType.EWAServiceType -- association [0..1]
LEFT OUTER JOIN I_EWA_ServiceFrequency AS _EWAServiceNumber ON EWAServiceNumber = _EWAServiceNumber.EWAServiceNumber -- association [0..1]
LEFT OUTER JOIN I_EWA_WasteDisposalOrder AS _EWAWasteDisposalOrder ON EWAWasteDisposalOrder = _EWAWasteDisposalOrder.EWAWasteDisposalOrder -- association [1..1]
LEFT OUTER JOIN I_EWA_CleaningProperty AS _EWAProperty ON EWAProperty = _EWAProperty.EWAProperty -- association [0..1]
LEFT OUTER JOIN I_EWA_WasteDisposalFacility AS _EWAWasteDisposalFacility ON EWAWasteDisposalFacility = _EWAWasteDisposalFacility.EWAWasteDisposalFacility -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EWADistanceUnit ON EWADistanceUnit = _EWADistanceUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EWAActualDurationUnit ON EWAActualDurationUnit = _EWAActualDurationUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EWATimeUnit ON EWATimeUnit = _EWATimeUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EWAPurchaseOrderUnit ON EWAPurchaseOrderUnit = _EWAPurchaseOrderUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EWAWeightUnit ON EWAWeightUnit = _EWAWeightUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EWAVolumeUnit ON EWAVolumeUnit = _EWAVolumeUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EWABulkVolumeUnit ON EWABulkVolumeUnit = _EWABulkVolumeUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EWABulkWeightUnit ON EWABulkWeightUnit = _EWABulkWeightUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_SalesContract AS _SalesContract ON SalesContract = _SalesContract.SalesContract -- association [0..1]
LEFT OUTER JOIN I_SalesContractItem AS _SalesContractItem ON SalesContract = _SalesContractItem.SalesContract AND SalesContractItem = _SalesContractItem.SalesContractItem -- association [0..1]
LEFT OUTER JOIN I_SalesDocument AS _SalesDebitMemo ON DebitMemoRequest = _SalesDebitMemo.SalesDocument -- association [0..1]
LEFT OUTER JOIN I_Equipment AS _Container ON EWAContainer = _Container.Equipment -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN E_EWA_WasteDisposalOrderItem AS _ExtensionItem ON EWAWasteDisposalOrder = _ExtensionItem.EWAWasteDisposalOrder AND EWAWasteDisposalOrderItem = _ExtensionItem.EWAWasteDisposalOrderItem -- association [0..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