I_EWM_ExceptionCode

DDL: I_EWM_EXCEPTIONCODE SQL: IEWMEXCPTNCODE Type: view BASIC

Exception Code

I_EWM_ExceptionCode (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Supply Chain

I_EWM_ExceptionCode is a Basic CDS View (Dimension) that provides data about "Exception Code" in SAP S/4HANA. It reads from 1 data source (/scwm/texcep) and exposes 4 fields with key fields Warehouse, WarehouseTaskExceptionCode. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Cross Processes
Data CategoryDimension
StatusReleased
Purpose
This CDS view provides information about exception codes in your warehouse.

Structure
Measures and Attributes Some important measures and attributes are as follows: Warehouse Exception Code

View on SAP Help Portal →

SAP API Hub

StateDeprecated
Line of BusinessSupply Chain
Application ComponentSCM-EWM-WOP
CapabilitiesAnalytical Dimension, Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageSupply Chain for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides information about exception codes in your warehouse.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
/scwm/texcep ExceptionCode from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_EWM_WarehouseNumber _Warehouse $projection.Warehouse = _Warehouse.Warehouse
[0..*] I_EWM_ExceptionCodeText _Text $projection.Warehouse = _Text.Warehouse and $projection.WarehouseTaskExceptionCode = _Text.WarehouseTaskExceptionCode

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IEWMEXCPTNCODE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Exception Code view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.representativeKey WarehouseTaskExceptionCode view
Analytics.dataCategory #DIMENSION view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Warehouse lgnum Warehouse Number/Warehouse Complex
KEY WarehouseTaskExceptionCode exccode Exception Code
_Text _Text
_Warehouse _Warehouse

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_EWM_ExceptionCode.
-- 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: IEWMEXCPTNCODE

CREATE VIEW I_EWM_ExceptionCode AS
SELECT
  lgnum AS Warehouse,
  exccode AS WarehouseTaskExceptionCode
FROM /scwm/texcep AS ExceptionCode
LEFT OUTER JOIN I_EWM_WarehouseNumber AS _Warehouse ON Warehouse = _Warehouse.Warehouse  -- association [0..1]
LEFT OUTER JOIN I_EWM_ExceptionCodeText AS _Text ON Warehouse = _Text.Warehouse AND WarehouseTaskExceptionCode = _Text.WarehouseTaskExceptionCode  -- association [0..*]
;