C_StockQuantityValueByType
Stock Quantity and Value by Type
C_StockQuantityValueByType is a Consumption CDS View that provides data about "Stock Quantity and Value by Type" in SAP S/4HANA. It reads from 1 data source (I_StockQuantityValueByType) and exposes 17 fields with key fields Material, Plant, StorageLocation, InventoryStockType, InventorySpecialStockType. It is used in 1 Fiori application: Overview Inventory Management.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StockQuantityValueByType | _StockQuantityValueByType | from |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSTOCKVALBYTYPE | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Stock Quantity and Value by Type | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| OData.publish | true | view | |
| VDM.private | false | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.query | true | view |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F2769 | Overview Inventory Management | Analytical | This overview page displays KPIs and relevant information for inventory managers and related roles. |
Overview Inventory Management
Business Role: Inventory Manager
The overview page Overview Inventory Management enables inventory managers to perform their daily tasks quickly and effectively without the need to open many different applications.Detailed information and access to underlying Fiori apps via the following cards is available via the overview page:Stock Value by Stock TypeStock Value by Special Stock TypeWarehouse Throughput HistoryMonitor Purchase Order ItemsRecent Material DocumentsOverdue Materials - GR Blocked Stock
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | StorageLocation | StorageLocation | StorageLocation | |
| KEY | InventoryStockType | InventoryStockType | Stock Type | |
| KEY | InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | |
| KEY | MaterialBaseUnit | MaterialBaseUnit | Valuation Unit | |
| KEY | Currency | Currency | Valuation Crcy | |
| KEY | ValuationAreaType | ValuationAreaType | Valuation area | |
| MaterialGroup | _Product | ProductGroup | Product Sold Group | |
| MaterialType | _Product | ProductType | Product Type Group | |
| InventoryStockTypeName | ||||
| InventorySpecialStockTypeName | ||||
| PlantName | _Plant | PlantName | Plant Name | |
| MatlWrhsStkQtyInMatlBaseUnit | MatlWrhsStkQtyInMatlBaseUnit | Quantity | ||
| StockValueInCCCrcy | StockValueInCCCrcy | Total Value | ||
| _ProductGroup_2 | _Product | _ProductGroup_2 | ||
| _ProductType | _Product | _ProductType |
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 C_StockQuantityValueByType.
-- 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 C_StockQuantityValueByType AS
SELECT
Material,
Plant,
StorageLocation,
InventoryStockType,
InventorySpecialStockType,
MaterialBaseUnit,
Currency,
ValuationAreaType,
_Product.ProductGroup AS MaterialGroup,
_Product.ProductType AS MaterialType,
_InventoryStockType._Text[1: Language=$session.system_language].InventoryStockTypeName AS InventoryStockTypeName,
_InventorySpecialStockType._Text[1: Language=$session.system_language].InventorySpecialStockTypeName AS InventorySpecialStockTypeName,
_Plant.PlantName AS PlantName,
MatlWrhsStkQtyInMatlBaseUnit,
StockValueInCCCrcy,
_Product._ProductGroup_2 AS _ProductGroup_2,
_Product._ProductType AS _ProductType
FROM I_StockQuantityValueByType AS _StockQuantityValueByType
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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