I_EWA_BulkRefuseOrdC
Bulk refuse order data - Cube
I_EWA_BulkRefuseOrdC (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Utilities
I_EWA_BulkRefuseOrdC is a Composite CDS View (Cube) that provides data about "Bulk refuse order data - Cube" in SAP S/4HANA. It reads from 1 data source (I_EWA_BulkRefuseOrder) and exposes 65 fields with key fields EWAWasteDisposalOrder, EWAWasteDisposalOrderItem, EWAWasteDsplOrdItmObjectNumber, SalesDocument, SalesDocumentItem. It has 5 associations to related views.
SAP Help Documentation
| Category | CDS Views for Waste Disposal Order |
|---|---|
| Data Category | Cube |
This CDS view retrieves Material Pricing Amount and converts all the amount from local currency to user specific display currency.It retrieves data for Bulk Refuse Order, Business Partner and Sales specific information. 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
Parameters The parameters of the CDS view are as follows: P_DisplayCurrency: This parameter is used to display currency in the input unit. P_DisplayVolumeUnit: This parameter is used to display volume in the input unit. P_Language: This parameter is used to display descriptions in the input language. 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 Sequence Number Attribute Sequence Number for Waste Disposal Order Item EWAWasteDsplOrdItmObjectNumber Object Number Attribute Object Number SalesDocument SD Document Attribute Sales and Distribution Document Number SalesDocumentItem Item (SD) Attribute Item number of the SD document EWABulkySoldToParty Sold To Party Attribute Customer EWAWaste Material Attribute Bulky Waste Material
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Utilities |
| Application Component | IS-U-WA |
| Capabilities | Data Provider for Analytical Queries, Data Source for Defining CDS Entities, Data Source in SQL Select |
| Package | Utilities for SAP S/4HANA |
| Description | <p>This CDS view retrieves Material Pricing Amount and converts all the amount from local currency to user specific display currency.It retrieves data for Bulk Refuse Order, Business Partner and Sales specific information. </p> <p> </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 |
|---|---|---|
| I_EWA_BulkRefuseOrder | EWA_BULKREF | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_DisplayVolumeUnit | ewa_vdm_dispvolunit | |
| P_DisplayCurrency | vdm_v_display_currency | |
| P_Language | ewa_vdm_language |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SalesDocument | _SalesDocument | $projection.SalesDocument = _SalesDocument.SalesDocument |
| [0..1] | I_Product | _BulkMaterial | $projection.EWAWaste = _BulkMaterial.Product |
| [1..1] | I_EWA_WasteObjectCurrentStatus | _HeadStatus | EWA_WDO.EWAWasteDsplOrderObjectNumber = _HeadStatus.StatusObject |
| [1..1] | I_EWA_WasteObjectCurrentStatus | _ItemStatus | EWA_BULKREF.EWAWasteDsplOrdItmObjectNumber = _ItemStatus.StatusObject |
| [0..1] | I_BusinessPartner | _SoldToParty | $projection.EWABulkySoldToParty = _SoldToParty.BusinessPartner |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IEWABULKREFORDC | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Bulk refuse order data - Cube | view | |
| Analytics.internalName | #LOCAL | view |
Fields (65)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EWAWasteDisposalOrder | I_EWA_BulkRefuseOrder | EWAWasteDisposalOrder | Internal Number for Identifying a Waste Disposal Order |
| KEY | EWAWasteDisposalOrderItem | I_EWA_BulkRefuseOrder | EWAWasteDisposalOrderItem | Sequence Number for Waste Disposal Order Item |
| KEY | EWAWasteDsplOrdItmObjectNumber | I_EWA_BulkRefuseOrder | EWAWasteDsplOrdItmObjectNumber | Object Number |
| KEY | SalesDocument | I_EWA_BulkRefuseOrder | SalesDocument | Sales and Distribution Document Number |
| KEY | SalesDocumentItem | I_EWA_BulkRefuseOrder | SalesDocumentItem | Item number of the SD document |
| EWAWasteDsplOrderObjectNumber | EWA_WDO | EWAWasteDsplOrderObjectNumber | Object number | |
| EWABulkySoldToParty | I_EWA_BulkRefuseOrder | EWABulkySoldToParty | Sold-To Party | |
| EWAWaste | I_EWA_BulkRefuseOrder | EWAWaste | Material Number | |
| EWAAltInvoiceRecipient | I_EWA_BulkRefuseOrder | EWAAltInvoiceRecipient | Alternative Invoice Recipient | |
| EWAWasteGeneratorPartner | I_EWA_BulkRefuseOrder | EWAWasteGeneratorPartner | Business Partner from whom Waste is to be Removed | |
| EWAWasteRemovalAddress | I_EWA_BulkRefuseOrder | EWAWasteRemovalAddress | Removal Address | |
| EWAMaterialStandardPrice | I_EWA_BulkRefuseOrder | EWAMaterialStandardPrice | Standard price | |
| EWAMaterialPrice | I_EWA_BulkRefuseOrder | EWAMaterialPrice | Standard price | |
| EWAConditionAmount | I_EWA_BulkRefuseOrder | EWAConditionAmount | Condition Amount or Percentage | |
| EWADisplayCurrency | Display Currency | |||
| EWABulkVolume | I_EWA_BulkRefuseOrder | EWABulkVolume | Volume | |
| EWAVolumeUnit | I_EWA_BulkRefuseOrder | EWAVolumeUnit | Volume unit | |
| EWABulkHasExcessVolume | I_EWA_BulkRefuseOrder | EWABulkHasExcessVolume | Excess Cubic Meters | |
| EWAWasteManagementNote | I_EWA_BulkRefuseOrder | EWAWasteManagementNote | Waste Management Note | |
| EWAWasteManagementNote01 | I_EWA_BulkRefuseOrder | EWAWasteManagementNote01 | Waste Management Note | |
| EWAWasteManagementNote02 | I_EWA_BulkRefuseOrder | EWAWasteManagementNote02 | Waste Management Note | |
| EWAWasteManagementNote03 | I_EWA_BulkRefuseOrder | EWAWasteManagementNote03 | Waste Management Note | |
| EWAWasteManagementNote04 | I_EWA_BulkRefuseOrder | EWAWasteManagementNote04 | Waste Management Note | |
| EWAFourthConditionType | I_EWA_BulkRefuseOrder | EWAFourthConditionType | Condition Type | |
| EWAFourthConditionAmount | I_EWA_BulkRefuseOrder | EWAFourthConditionAmount | Condition Amount or Percentage | |
| EWAWasteManagementNote05 | I_EWA_BulkRefuseOrder | EWAWasteManagementNote05 | Waste Management Note | |
| EWAFifthConditionType | I_EWA_BulkRefuseOrder | EWAFifthConditionType | Condition Type | |
| EWAFifthConditionAmount | I_EWA_BulkRefuseOrder | EWAFifthConditionAmount | Condition Amount or Percentage | |
| EWAWasteManagementNote06 | I_EWA_BulkRefuseOrder | EWAWasteManagementNote06 | Waste Management Note | |
| EWASixthConditionType | I_EWA_BulkRefuseOrder | EWASixthConditionType | Condition Type | |
| EWASixthConditionAmount | I_EWA_BulkRefuseOrder | EWASixthConditionAmount | Condition Amount or Percentage | |
| EWAWasteManagementNote07 | I_EWA_BulkRefuseOrder | EWAWasteManagementNote07 | Waste Management Note | |
| EWASeventhConditionType | I_EWA_BulkRefuseOrder | EWASeventhConditionType | Condition Type | |
| EWASeventhConditionAmount | I_EWA_BulkRefuseOrder | EWASeventhConditionAmount | Condition Amount or Percentage | |
| EWAWasteManagementNote08 | I_EWA_BulkRefuseOrder | EWAWasteManagementNote08 | Waste Management Note | |
| EWAEighthConditionType | I_EWA_BulkRefuseOrder | EWAEighthConditionType | Condition Type | |
| EWAEighthConditionAmount | I_EWA_BulkRefuseOrder | EWAEighthConditionAmount | Condition Amount or Percentage | |
| EWAWasteManagementNote09 | I_EWA_BulkRefuseOrder | EWAWasteManagementNote09 | Waste Management Note | |
| EWANinthConditionType | I_EWA_BulkRefuseOrder | EWANinthConditionType | Condition Type | |
| EWANinthConditionAmount | I_EWA_BulkRefuseOrder | EWANinthConditionAmount | Condition Amount or Percentage | |
| EWAIsCashPaymentRequired | I_EWA_BulkRefuseOrder | EWAIsCashPaymentRequired | Cash Payment | |
| EWAAdvancePayIsRequired | I_EWA_BulkRefuseOrder | EWAAdvancePayIsRequired | Pay in Advance | |
| EWAPaymentIsLater | I_EWA_BulkRefuseOrder | EWAPaymentIsLater | Pay Later | |
| EWANoticeOfCharge | I_EWA_BulkRefuseOrder | EWANoticeOfCharge | Notice of Charges | |
| EWAIsFreeOfCharge | I_EWA_BulkRefuseOrder | EWAIsFreeOfCharge | Free of Charge | |
| EWAExpressSurcharge | I_EWA_BulkRefuseOrder | EWAExpressSurcharge | Express Surcharge | |
| EWAServiceWindow | I_EWA_BulkRefuseOrder | EWAServiceWindow | Service window | |
| EWAServiceWindowStartTime | I_EWA_BulkRefuseOrder | EWAServiceWindowStartTime | Start time of a service window | |
| EWAServiceWindowEndTime | I_EWA_BulkRefuseOrder | EWAServiceWindowEndTime | End of service window | |
| EWAServiceArea | I_EWA_BulkRefuseOrder | EWAServiceArea | Service Area | |
| EWABulkRefuseOrderType | I_EWA_BulkRefuseOrder | EWABulkRefuseOrderType | Waste Disposal Order Type | |
| Currency | I_EWA_BulkRefuseOrder | Currency | Valuation Crcy | |
| NetAmount | I_EWA_BulkRefuseOrder | NetAmount | Net Value of the Document Item in Document Currency | |
| TaxAmount | I_EWA_BulkRefuseOrder | OpenTotalTaxAmount | Tax Amount in Document Currency | |
| OrderRelatedBillingStatus | I_EWA_BulkRefuseOrder | OrderRelatedBillingStatus | Order-Related Billing Status (Item) | |
| EWAWasteDsplOrderHeadStatus | _HeadStatus | UtilitiesSystemStatus | System status | |
| EWAWasteDsplOrderStatusText | Individual Status of an Object | |||
| EWAWasteDsplOrderItemStatus | _ItemStatus | UtilitiesSystemStatus | System status | |
| EWAWasteDsplOrdItemStatusText | Individual Status of an Object | |||
| EWABulkVolDisplayUnit | Display Bulk Volume Unit | |||
| _SalesDocument | _SalesDocument | |||
| _BulkMaterial | _BulkMaterial | |||
| _HeadStatus | _HeadStatus | |||
| _ItemStatus | _ItemStatus | |||
| _SoldToParty | _SoldToParty |
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_BulkRefuseOrdC.
-- 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.
-- SQL view name: IEWABULKREFORDC
-- Parameters: P_DisplayVolumeUnit : ewa_vdm_dispvolunit, P_DisplayCurrency : vdm_v_display_currency, P_Language : ewa_vdm_language
CREATE VIEW I_EWA_BulkRefuseOrdC AS
SELECT
EWA_BULKREF.EWAWasteDisposalOrder AS EWAWasteDisposalOrder,
EWA_BULKREF.EWAWasteDisposalOrderItem AS EWAWasteDisposalOrderItem,
EWA_BULKREF.EWAWasteDsplOrdItmObjectNumber AS EWAWasteDsplOrdItmObjectNumber,
EWA_BULKREF.SalesDocument AS SalesDocument,
EWA_BULKREF.SalesDocumentItem AS SalesDocumentItem,
EWA_WDO.EWAWasteDsplOrderObjectNumber AS EWAWasteDsplOrderObjectNumber,
EWA_BULKREF.EWABulkySoldToParty AS EWABulkySoldToParty,
EWA_BULKREF.EWAWaste AS EWAWaste,
EWA_BULKREF.EWAAltInvoiceRecipient AS EWAAltInvoiceRecipient,
EWA_BULKREF.EWAWasteGeneratorPartner AS EWAWasteGeneratorPartner,
EWA_BULKREF.EWAWasteRemovalAddress AS EWAWasteRemovalAddress,
EWA_BULKREF.EWAMaterialStandardPrice AS EWAMaterialStandardPrice,
EWA_BULKREF.EWAMaterialPrice AS EWAMaterialPrice,
EWA_BULKREF.EWAConditionAmount AS EWAConditionAmount,
$parameters.P_DisplayCurrency AS EWADisplayCurrency,
EWA_BULKREF.EWABulkVolume AS EWABulkVolume,
EWA_BULKREF.EWAVolumeUnit AS EWAVolumeUnit,
EWA_BULKREF.EWABulkHasExcessVolume AS EWABulkHasExcessVolume,
EWA_BULKREF.EWAWasteManagementNote AS EWAWasteManagementNote,
EWA_BULKREF.EWAWasteManagementNote01 AS EWAWasteManagementNote01,
EWA_BULKREF.EWAWasteManagementNote02 AS EWAWasteManagementNote02,
EWA_BULKREF.EWAWasteManagementNote03 AS EWAWasteManagementNote03,
EWA_BULKREF.EWAWasteManagementNote04 AS EWAWasteManagementNote04,
EWA_BULKREF.EWAFourthConditionType AS EWAFourthConditionType,
EWA_BULKREF.EWAFourthConditionAmount AS EWAFourthConditionAmount,
EWA_BULKREF.EWAWasteManagementNote05 AS EWAWasteManagementNote05,
EWA_BULKREF.EWAFifthConditionType AS EWAFifthConditionType,
EWA_BULKREF.EWAFifthConditionAmount AS EWAFifthConditionAmount,
EWA_BULKREF.EWAWasteManagementNote06 AS EWAWasteManagementNote06,
EWA_BULKREF.EWASixthConditionType AS EWASixthConditionType,
EWA_BULKREF.EWASixthConditionAmount AS EWASixthConditionAmount,
EWA_BULKREF.EWAWasteManagementNote07 AS EWAWasteManagementNote07,
EWA_BULKREF.EWASeventhConditionType AS EWASeventhConditionType,
EWA_BULKREF.EWASeventhConditionAmount AS EWASeventhConditionAmount,
EWA_BULKREF.EWAWasteManagementNote08 AS EWAWasteManagementNote08,
EWA_BULKREF.EWAEighthConditionType AS EWAEighthConditionType,
EWA_BULKREF.EWAEighthConditionAmount AS EWAEighthConditionAmount,
EWA_BULKREF.EWAWasteManagementNote09 AS EWAWasteManagementNote09,
EWA_BULKREF.EWANinthConditionType AS EWANinthConditionType,
EWA_BULKREF.EWANinthConditionAmount AS EWANinthConditionAmount,
EWA_BULKREF.EWAIsCashPaymentRequired AS EWAIsCashPaymentRequired,
EWA_BULKREF.EWAAdvancePayIsRequired AS EWAAdvancePayIsRequired,
EWA_BULKREF.EWAPaymentIsLater AS EWAPaymentIsLater,
EWA_BULKREF.EWANoticeOfCharge AS EWANoticeOfCharge,
EWA_BULKREF.EWAIsFreeOfCharge AS EWAIsFreeOfCharge,
EWA_BULKREF.EWAExpressSurcharge AS EWAExpressSurcharge,
EWA_BULKREF.EWAServiceWindow AS EWAServiceWindow,
EWA_BULKREF.EWAServiceWindowStartTime AS EWAServiceWindowStartTime,
EWA_BULKREF.EWAServiceWindowEndTime AS EWAServiceWindowEndTime,
EWA_BULKREF.EWAServiceArea AS EWAServiceArea,
EWA_BULKREF.EWABulkRefuseOrderType AS EWABulkRefuseOrderType,
EWA_BULKREF.Currency AS Currency,
EWA_BULKREF.NetAmount AS NetAmount,
EWA_BULKREF.OpenTotalTaxAmount AS TaxAmount,
EWA_BULKREF.OrderRelatedBillingStatus AS OrderRelatedBillingStatus,
_HeadStatus.UtilitiesSystemStatus AS EWAWasteDsplOrderHeadStatus,
_HeadStatus._SystemStatus._SystemStatusText[1: Language=$parameters.P_Language].SystemStatusName AS EWAWasteDsplOrderStatusText,
_ItemStatus.UtilitiesSystemStatus AS EWAWasteDsplOrderItemStatus,
_ItemStatus._SystemStatus._SystemStatusText[1: Language=$parameters.P_Language].SystemStatusName AS EWAWasteDsplOrdItemStatusText,
$parameters.P_DisplayVolumeUnit AS EWABulkVolDisplayUnit
FROM I_EWA_BulkRefuseOrder AS EWA_BULKREF
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON SalesDocument = _SalesDocument.SalesDocument -- association [0..1]
LEFT OUTER JOIN I_Product AS _BulkMaterial ON EWAWaste = _BulkMaterial.Product -- association [0..1]
LEFT OUTER JOIN I_EWA_WasteObjectCurrentStatus AS _HeadStatus ON EWA_WDO.EWAWasteDsplOrderObjectNumber = _HeadStatus.StatusObject -- association [1..1]
LEFT OUTER JOIN I_EWA_WasteObjectCurrentStatus AS _ItemStatus ON EWA_BULKREF.EWAWasteDsplOrdItmObjectNumber = _ItemStatus.StatusObject -- association [1..1]
LEFT OUTER JOIN I_BusinessPartner AS _SoldToParty ON EWABulkySoldToParty = _SoldToParty.BusinessPartner -- 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