I_EWM_StockUsage

DDL: I_EWM_STOCKUSAGE Type: view_entity BASIC Package: VDM_EWM_CORE

Stock Usage

I_EWM_StockUsage (Basic)

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

Warehouse Stock Usage · Supply Chain

I_EWM_StockUsage is a Basic CDS View that provides data about "Stock Usage" in SAP S/4HANA. It reads from 1 data source (/lime/cust_usage) and exposes 2 fields with key field EWMStockUsage. It has 1 association to related views. Part of development package VDM_EWM_CORE.

SAP Help Documentation

CategoryCDS Views for Master Data
Data CategoryDimension
Purpose
This CDS view provides information about stock usage 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 There are no specific authorizations required for this CDS view.

Structure
Further important fields Important fields in this view include the following: Field Name Description EWMStockUsage Stock Usage

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessSupply Chain
Application ComponentSCM-EWM-WOP-2CL
CapabilitiesAnalytical Dimension,Data Source for Defining CDS Entities,Data Source in SQL Select,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageSupply Chain for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides information about stock usage 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
/lime/cust_usage /lime/cust_usage from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_EWM_StockUsageText_2 _Text $projection.EWMStockUsage = _Text.EWMStockUsage

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Stock Usage view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey EWMStockUsage view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name WarehouseStockUsage view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY EWMStockUsage stock_usage Stock Usage
_Text _Text

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_StockUsage.
-- 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_StockUsage AS
SELECT
  stock_usage AS EWMStockUsage
FROM /lime/cust_usage
LEFT OUTER JOIN I_EWM_StockUsageText_2 AS _Text ON EWMStockUsage = _Text.EWMStockUsage  -- association [0..*]
;