I_EWA_ProvisionalContAssgmt

DDL: I_EWA_PROVISIONALCONTASSGMT Type: view_entity BASIC

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)

SourceAliasJoin Type
ewatdevloc ewatdevloc from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Material _EWANewContainerCategory $projection.EWANewContainerCategory = _EWANewContainerCategory.Material
[0..1] I_FunctionalLocation _EWAContainerLocation $projection.EWAContainerLocation = _EWAContainerLocation.FunctionalLocation

Annotations (7)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;