I_EWM_WhseTaskExceptionCode_2

DDL: I_EWM_WHSETASKEXCEPTIONCODE_2 Type: view_entity BASIC

Exception Code for Warehouse Task

I_EWM_WhseTaskExceptionCode_2 (Basic)

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

WarehouseTaskExceptionCode · Supply Chain

I_EWM_WhseTaskExceptionCode_2 is a Basic CDS View that provides data about "Exception Code for Warehouse Task" in SAP S/4HANA. It reads from 1 data source (/scwm/ordim_e) and exposes 6 fields with key fields EWMWarehouse, WarehouseTask, WarehouseTaskItem, WarehouseTaskExceptionCode, BusinessContext.

SAP Help Documentation

CategoryCDS Views for Cross Processes
Purpose
This CDS view provides information about exception codes used during warehouse task confirmation in your warehouse. 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 object assigned: /SCWM/TOHA ( EWM Warehouse Task Processing ).

Structure
Important Fields Important fields in this view include the following: Field Name Description EWMWarehouse Warehouse WarehouseTask Warehouse Task WarehouseTaskItem Warehouse Task Item WarehouseTaskExceptionCode Warehouse Task Exception Code

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentSCM-EWM-WOP
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageSupply Chain for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides information about exception codes used during warehouse task confirmation in your warehouse.</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
/scwm/ordim_e /scwm/ordim_e from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
Analytics.internalName #LOCAL view
EndUserText.label Exception Code for Warehouse Task view
ObjectModel.sapObjectNodeType.name WarehouseTaskExceptionCode view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY EWMWarehouse lgnum Warehouse Number/Warehouse Complex
KEY WarehouseTask Warehouse Task
KEY WarehouseTaskItem Warehouse Task Item
KEY WarehouseTaskExceptionCode exccode Exception Code
KEY BusinessContext buscon Business Context
KEY BusinessContextExecutionStep exec_step Execution Step in Business Context

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_WhseTaskExceptionCode_2.
-- 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_EWM_WhseTaskExceptionCode_2 AS
SELECT
  lgnum AS EWMWarehouse,
  cast( tanum as /scwm/tanum_noconv preserving type ) AS WarehouseTask,
  cast( tapos as /scwm/tapos_noconv preserving type ) AS WarehouseTaskItem,
  exccode AS WarehouseTaskExceptionCode,
  buscon AS BusinessContext,
  exec_step AS BusinessContextExecutionStep
FROM /scwm/ordim_e
;