I_EWA_ProvisionalContAssgmt
Provisionally Assigned Container
I_EWA_ProvisionalContAssgmt is a Basic CDS View that provides data about "Provisionally Assigned Container" in SAP S/4HANA. It reads from 1 data source (ewatdevloc) and exposes 23 fields with key fields EWAWasteDisposalOrder, EWAWasteDisposalOrderItem. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ewatdevloc | ewatdevloc | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Material | _EWANewContainerCategory | $projection.EWANewContainerCategory = _EWANewContainerCategory.Material |
| [0..1] | I_FunctionalLocation | _EWAContainerLocation | $projection.EWAContainerLocation = _EWAContainerLocation.FunctionalLocation |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Provisionally Assigned Container | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EWAWasteDisposalOrder | ordernr | WD Order | |
| KEY | EWAWasteDisposalOrderItem | laufnr | Service number | |
| EWANewContainerCategory | matnr_neu | New Cont. Cat. | ||
| EWANewContainerSerialNumber | geraet_neu | New container | ||
| EWANewContainerGroup | devgrp_neu | Device group | ||
| EWAContainerCategory | matnr_alt | Old Cont. Cat. | ||
| EWAContainerSerialNumber | geraet_alt | Old container | ||
| EWAContainerGroup | devgrp | Device group | ||
| EWAContainerLocation | Device Location | |||
| UtilsDeviceInstallationDate | einbdat | Install. date | ||
| UtilsDeviceRemovalDate | ausbdat | Removal date | ||
| EWACreatedOnDate | erdat | Entered On | ||
| EWACreatedByName | ernam | User Name | ||
| EWAChangedOnDate | aedat | Obsolete | ||
| EWAChangedByName | aenam | User Name | ||
| EWAAuthorizationGroup | begru | AuthorizGroup | ||
| EWAIsMarkedForDeletion | loevm | End Contract | ||
| EWAWasteDsplOrdItmObjectNumber | pobjnr | Object number | ||
| EWAPlannedTime | planned_time | Time Planned | ||
| EWAInstalledBase | ibase | Installed Base | ||
| UtilitiesLogicalDeviceNumber | logiknr | Log. dev. no. | ||
| _EWANewContainerCategory | _EWANewContainerCategory | |||
| _EWAContainerLocation | _EWAContainerLocation |
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_ProvisionalContAssgmt.
-- 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_ProvisionalContAssgmt AS
SELECT
ordernr AS EWAWasteDisposalOrder,
laufnr AS EWAWasteDisposalOrderItem,
matnr_neu AS EWANewContainerCategory,
geraet_neu AS EWANewContainerSerialNumber,
devgrp_neu AS EWANewContainerGroup,
matnr_alt AS EWAContainerCategory,
geraet_alt AS EWAContainerSerialNumber,
devgrp AS EWAContainerGroup,
cast(devloc as vdm_eam_tplnr) AS EWAContainerLocation,
einbdat AS UtilsDeviceInstallationDate,
ausbdat AS UtilsDeviceRemovalDate,
erdat AS EWACreatedOnDate,
ernam AS EWACreatedByName,
aedat AS EWAChangedOnDate,
aenam AS EWAChangedByName,
begru AS EWAAuthorizationGroup,
loevm AS EWAIsMarkedForDeletion,
pobjnr AS EWAWasteDsplOrdItmObjectNumber,
planned_time AS EWAPlannedTime,
ibase AS EWAInstalledBase,
logiknr AS UtilitiesLogicalDeviceNumber
FROM ewatdevloc
LEFT OUTER JOIN I_Material AS _EWANewContainerCategory ON EWANewContainerCategory = _EWANewContainerCategory.Material -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocation AS _EWAContainerLocation ON EWAContainerLocation = _EWAContainerLocation.FunctionalLocation -- 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