C_InvtryTurnoverAnlysDets
Inventory Turnover Analysis Details
C_InvtryTurnoverAnlysDets is a Consumption CDS View that provides data about "Inventory Turnover Analysis Details" in SAP S/4HANA. It reads from 1 data source (I_MaterialPlant) and exposes 15 fields with key field Plant. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialPlant | _MaterialPlant | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_StartDate | bedat |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProductPlant | _ProductPlant | $projection.Plant = _ProductPlant.Plant and $projection.Material = _ProductPlant.Product |
| [0..1] | C_InvtryTurnoverPrfrdSupplier | _InvtryTurnoverPrfrdSupplier | $projection.Plant = _InvtryTurnoverPrfrdSupplier.Plant and $projection.Material = _InvtryTurnoverPrfrdSupplier.Material |
| [0..*] | C_InvtryTurnoverSupplier | _InvtryTurnoverSupplier | $projection.Plant = _InvtryTurnoverSupplier.Plant and $projection.Material = _InvtryTurnoverSupplier.Material |
| [0..1] | I_UnitOfMeasure | _BaseUnit | $projection.MaterialBaseUnit = _BaseUnit.UnitOfMeasure |
Annotations (20)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | CINVTOANLYSDETS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| UI.headerInfo.typeName | Inventory Turnover Analysis | view | |
| UI.headerInfo.typeNamePlural | Inventory Turnover Analysis | view | |
| UI.headerInfo.title.label | Inventory Turnover Analysis | view | |
| UI.headerInfo.title.value | Material | view | |
| UI.headerInfo.description.label | Plant | view | |
| UI.headerInfo.description.value | Plant | view | |
| Consumption.semanticObject | Material | view | |
| EndUserText.label | Inventory Turnover Analysis Details | view | |
| VDM.private | false | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| resultElementDateFunctionStartDate | ||||
| Material | ||||
| KEY | Plant | I_MaterialPlant | Plant | Valuation Area |
| MaterialName | ||||
| PlantName | I_Plant | PlantName | Plant Name | |
| MaterialBaseUnit | ||||
| Currency | I_CompanyCode | Currency | Valuation Crcy | |
| CompanyCode | I_CompanyCode | CompanyCode | Receiver Company Code | |
| MaterialSafetyStockQty | I_MaterialPlant | MaterialSafetyStockQty | Safety Stock | |
| MinimumLotSizeQuantity | _ProductPlant | MinimumLotSizeQuantity | Min. Lot Size | |
| MaximumLotSizeQuantity | _ProductPlant | MaximumLotSizeQuantity | Max. Lot Size | |
| FixedLotSizeQuantity | _ProductPlant | FixedLotSizeQuantity | Fixed lot size | |
| _InvtryTurnoverPrfrdSupplier | _InvtryTurnoverPrfrdSupplier | |||
| _InvtryTurnoverSupplier | _InvtryTurnoverSupplier | |||
| _BaseUnit | _BaseUnit |
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_InvtryTurnoverAnlysDets.
-- 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: CINVTOANLYSDETS
-- Parameters: P_StartDate : bedat
CREATE VIEW C_InvtryTurnoverAnlysDets AS
SELECT
resultElement: 'DateFunctionStartDate' AS resultElementDateFunctionStartDate,
binding: [ { targetParameter: 'P_DateFunction', type: #CONSTANT, value : 'PREVIOUS365DAYS' AS Material,
_MaterialPlant.Plant AS Plant,
_MaterialPlant._Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
I_Plant.PlantName AS PlantName,
_MaterialPlant._Material.MaterialBaseUnit AS MaterialBaseUnit,
I_CompanyCode.Currency AS Currency,
I_CompanyCode.CompanyCode AS CompanyCode,
_MaterialPlant.MaterialSafetyStockQty AS MaterialSafetyStockQty,
_ProductPlant.MinimumLotSizeQuantity AS MinimumLotSizeQuantity,
_ProductPlant.MaximumLotSizeQuantity AS MaximumLotSizeQuantity,
_ProductPlant.FixedLotSizeQuantity AS FixedLotSizeQuantity
FROM I_MaterialPlant AS _MaterialPlant
LEFT OUTER JOIN I_ProductPlant AS _ProductPlant ON Plant = _ProductPlant.Plant AND Material = _ProductPlant.Product -- association [0..1]
LEFT OUTER JOIN C_InvtryTurnoverPrfrdSupplier AS _InvtryTurnoverPrfrdSupplier ON Plant = _InvtryTurnoverPrfrdSupplier.Plant AND Material = _InvtryTurnoverPrfrdSupplier.Material -- association [0..1]
LEFT OUTER JOIN C_InvtryTurnoverSupplier AS _InvtryTurnoverSupplier ON Plant = _InvtryTurnoverSupplier.Plant AND Material = _InvtryTurnoverSupplier.Material -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON MaterialBaseUnit = _BaseUnit.UnitOfMeasure -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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