I_EWA_ContainerAllocationC

DDL: I_EWA_CONTAINERALLOCATIONC Type: view_entity COMPOSITE

Service Frequency - Cube

I_EWA_ContainerAllocationC (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_ContainerAllocationC is a Composite CDS View (Cube) that provides data about "Service Frequency - Cube" in SAP S/4HANA. It reads from 1 data source (I_EquipmentTimeSeg) and exposes 51 fields with key fields Equipment, EWAServiceNumber, EWAServiceNumberItem, MaintObjectLocAcctAssgmtNmbr. It has 4 associations to related views.

SAP Help Documentation

CategoryCDS Views for Container Allocation
Data CategoryCube
Purpose
This CDS view is used to fetch all fields related to containers used in waste and recycling management, like container location, container details, service object and item, container category, and container portion. 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: E_SERVFREQ (Authorization Object for Service Frequency )

Structure
Important Fields Important fields in this view include the following: Field Name Description Measure or Attribute Comment EWAContainer Container Attribute Equipment Number EWAContainerLocation Container Location Attribute Functional Location EWAContainerCategory Container Category Attribute Conrainer Category SalesContract Sales Contract Attribute Sales Document

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-WA
CapabilitiesData Provider for Analytical Queries, Data Source for Defining CDS Entities, Data Source in SQL Select
PackageUtilities for SAP S/4HANA
Description <p>This CDS view is used to fetch all fields related to containers used in waste and recycling management, like container location, container details, service object and item, container category, and container portion.&nbsp;</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

Data Sources (1)

SourceAliasJoin Type
I_EquipmentTimeSeg Equipment from

Associations (4)

CardinalityTargetAliasCondition
[1..*] I_EWA_ContLocSalesContrAssgmt _ContLocSalesContrAssgmt $projection.EWAContainer = _ContLocSalesContrAssgmt.EWAContainer
[0..1] I_CalendarDate _CAL Equipment.ValidityStartDate = _CAL.CalendarDate
[0..1] I_Equipment _Equipment $projection.Equipment = _Equipment.Equipment
[0..1] I_EWA_ServiceFrequency _EWAServiceNumber $projection.EWAServiceNumber = _EWAServiceNumber.EWAServiceNumber

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Service Frequency - Cube view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Analytics.internalName #LOCAL view
AccessControl.personalData.blocking #REQUIRED view

Fields (51)

KeyFieldSource TableSource FieldDescription
KEY Equipment I_EquipmentTimeSeg Equipment Equipment Number
KEY EWAServiceNumber Container EWAServiceNumber Number of service frequency
KEY EWAServiceNumberItem EWAService EWAServiceNumberItem Sequence Number of Service Frequency
KEY MaintObjectLocAcctAssgmtNmbr Assignment MaintObjectLocAcctAssgmtNmbr Location and account assignment for technical object
EWAContainerLocation Container EWAContainerLocation Functional Location
Material Container Material Material Number
EWAContainer Container EWAContainer Equipment Number
EWAServiceArea Container EWAServiceArea Service Area
EWAWaste Container EWAWaste Waste
EWAContainerCategory Container EWAContainerCategory Container category
MaintenanceObjectList Container MaintenanceObjectList Object list number
MaintenanceObjectListItem Container MaintenanceObjectListItem Object list counters
UtilitiesInstallation Container UtilitiesInstallation Installation
UtilsBillingOperand Container UtilsBillingOperand Operand
EWABillingOperandSequence Container EWABillingOperandSequence Consecutive number of an operand
AddressID Container AddressID Ship-to address
EWARouteNumber Container EWARouteNumber Planned Waste Disposal Order Route
UtilitiesLogicalDeviceNumber Container UtilitiesLogicalDeviceNumber Logical device number
EWAContainerGroup Container EWAContainerGroup Container Group
EWABillingFactor Container EWABillingFactor Waste Billing Factor
EWACleaningObject Container EWACleaningObject Cleaning Object
EWAWinterMaintenanceLevel Container EWAWinterMaintenanceLevel Winter Maintenance Level
EWAPoliticalStrucElem Container EWAPoliticalStrucElem Political regional structure element
Country Container Country Country/Region Key
EWAWasteDisposalFacility Container EWAWasteDisposalFacility Identification of Waste Disposal Facility
Plant Container Plant Valuation Area
EWATargetStorageLocation Container EWATargetStorageLocation Destination: Storage location in plant
EWAInstalledBase Container EWAInstalledBase IBase: Number of the Installed Base/IBase
StorageLocation Container StorageLocation Storage Location
EWAAuthorizationGroup Container EWAAuthorizationGroup Authorization Group
EWAIsMarkedForDeletion Container EWAIsMarkedForDeletion Deletion Indicator
ValidityStartDate I_EquipmentTimeSeg ValidityStartDate Validity Start Date
ValidityEndDate I_EquipmentTimeSeg ValidityEndDate Valid To Date
EWAServiceValidFromYear Year of Creation
EWAServiceValidFromYearQuarter Year/Quarter of Creation
EWAServiceValidFromYearMonth Year/Month of Creation
EWAOrderDateWeek Week of Creation
ConstructionMaterial I_EquipmentTimeSeg ConstructionMaterial Construction type material of the object
SalesContract _ContLocSalesContrAssgmt SalesContract Sales Document
EWAContainerPortionRatio _ContLocSalesContrAssgmt EWAContainerPortionRatio Container Portion
UtilitiesDeviceCategory UtilsDeviceCategory UtilitiesDeviceCategory Device Category
EWANmbrOfContCat Number of Container Category
EWANmbrOfService Number of Service Frequency
EWANmbrOfServiceItem Number of Service Frequency Item
EWANmbrOfContainer Number of Container
_Address Container _Address
_Equipment Container _Equipment
_EWATargetStorageLocation Container _EWATargetStorageLocation
_EWAWasteDisposalFacility Container _EWAWasteDisposalFacility
_Material Container _Material
_Plant Container _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_ContainerAllocationC.
-- 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_ContainerAllocationC AS
SELECT
  Equipment.Equipment AS Equipment,
  Container.EWAServiceNumber AS EWAServiceNumber,
  EWAService.EWAServiceNumberItem AS EWAServiceNumberItem,
  Assignment.MaintObjectLocAcctAssgmtNmbr AS MaintObjectLocAcctAssgmtNmbr,
  Container.EWAContainerLocation AS EWAContainerLocation,
  Container.Material AS Material,
  Container.EWAContainer AS EWAContainer,
  Container.EWAServiceArea AS EWAServiceArea,
  Container.EWAWaste AS EWAWaste,
  Container.EWAContainerCategory AS EWAContainerCategory,
  Container.MaintenanceObjectList AS MaintenanceObjectList,
  Container.MaintenanceObjectListItem AS MaintenanceObjectListItem,
  Container.UtilitiesInstallation AS UtilitiesInstallation,
  Container.UtilsBillingOperand AS UtilsBillingOperand,
  Container.EWABillingOperandSequence AS EWABillingOperandSequence,
  Container.AddressID AS AddressID,
  Container.EWARouteNumber AS EWARouteNumber,
  Container.UtilitiesLogicalDeviceNumber AS UtilitiesLogicalDeviceNumber,
  Container.EWAContainerGroup AS EWAContainerGroup,
  Container.EWABillingFactor AS EWABillingFactor,
  Container.EWACleaningObject AS EWACleaningObject,
  Container.EWAWinterMaintenanceLevel AS EWAWinterMaintenanceLevel,
  Container.EWAPoliticalStrucElem AS EWAPoliticalStrucElem,
  Container.Country AS Country,
  Container.EWAWasteDisposalFacility AS EWAWasteDisposalFacility,
  Container.Plant AS Plant,
  Container.EWATargetStorageLocation AS EWATargetStorageLocation,
  Container.EWAInstalledBase AS EWAInstalledBase,
  Container.StorageLocation AS StorageLocation,
  Container.EWAAuthorizationGroup AS EWAAuthorizationGroup,
  Container.EWAIsMarkedForDeletion AS EWAIsMarkedForDeletion,
  Equipment.ValidityStartDate AS ValidityStartDate,
  Equipment.ValidityEndDate AS ValidityEndDate,
  cast(_CAL.CalendarYear as creation_date_year) AS EWAServiceValidFromYear,
  cast(_CAL.YearQuarter as creation_date_year_quarter) AS EWAServiceValidFromYearQuarter,
  cast(_CAL.YearMonth as creation_date_year_month) AS EWAServiceValidFromYearMonth,
  cast(_CAL.CalendarWeek as creation_date_week) AS EWAOrderDateWeek,
  Equipment.ConstructionMaterial AS ConstructionMaterial,
  _ContLocSalesContrAssgmt.SalesContract AS SalesContract,
  _ContLocSalesContrAssgmt.EWAContainerPortionRatio AS EWAContainerPortionRatio,
  UtilsDeviceCategory.UtilitiesDeviceCategory AS UtilitiesDeviceCategory,
  cast (1 as abap.int4) AS EWANmbrOfContCat,
  cast (1 as abap.int4) AS EWANmbrOfService,
  cast (1 as abap.int4) AS EWANmbrOfServiceItem,
  cast (1 as abap.int4) AS EWANmbrOfContainer,
  Container._Address AS _Address,
  Container._Equipment AS _Equipment,
  Container._EWATargetStorageLocation AS _EWATargetStorageLocation,
  Container._EWAWasteDisposalFacility AS _EWAWasteDisposalFacility,
  Container._Material AS _Material,
  Container._Plant AS _Plant
FROM I_EquipmentTimeSeg AS Equipment
LEFT OUTER JOIN I_EWA_ContLocSalesContrAssgmt AS _ContLocSalesContrAssgmt ON EWAContainer = _ContLocSalesContrAssgmt.EWAContainer  -- association [1..*]
LEFT OUTER JOIN I_CalendarDate AS _CAL ON Equipment.ValidityStartDate = _CAL.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_Equipment AS _Equipment ON Equipment = _Equipment.Equipment  -- association [0..1]
LEFT OUTER JOIN I_EWA_ServiceFrequency AS _EWAServiceNumber ON EWAServiceNumber = _EWAServiceNumber.EWAServiceNumber  -- association [0..1]
;