C_InvtryTurnoverTimeSers
Inventory Turnover Time Series
C_InvtryTurnoverTimeSers is a Consumption CDS View that provides data about "Inventory Turnover Time Series" in SAP S/4HANA. It reads from 1 data source (P_InvtryTurnoverTmeSersAggrgnC) and exposes 14 fields with key fields StartDate, EndDate, Material, Plant. It has 2 associations to related views. It is exposed through 1 OData service (ASQL_F1956). Part of development package ODATA_MM_IM_INV_TURNOVR_ANLYS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_InvtryTurnoverTmeSersAggrgnC | P_InvtryTurnoverTmeSersAggrgnC | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_StartDate | vdm_v_start_date | |
| P_EndDate | vdm_v_end_date | |
| P_PeriodType | char_01 |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MatlDocArchivingDate | _MatlDocArchivingDate | $projection.Material = _MatlDocArchivingDate.StockIdentifyingMaterial and $projection.Plant = _MatlDocArchivingDate.Plant |
| [0..1] | I_UnitOfMeasure | _BaseUnit | $projection.MaterialBaseUnit = _BaseUnit.UnitOfMeasure |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Inventory Turnover Time Series | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.private | false | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F1956 | ASQL_F1956 | C2 | NOT_RELEASED |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StartDate | series | StartDate | Valid From |
| KEY | EndDate | series | EndDate | Term to |
| KEY | Material | series | Material | Vehicle Model |
| KEY | Plant | series | Plant | Valuation Area |
| MaterialBaseUnit | series | MaterialBaseUnit | Valuation Unit | |
| datsendasLatestMatlDocArchivingDate | ||||
| MatlWrhsStkQtyInMatlBaseUnit | Quantity | |||
| MatlCnsmpnQtyInMatlBaseUnit | ||||
| MatlStkDecrQtyInMatlBaseUnit | ||||
| MatlStkIncrQtyInMatlBaseUnit | ||||
| Currency | Currency | Valuation Crcy | ||
| MatlStkAmountInCompanyCrcy | MatlStkAmountInCompanyCrcy | |||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| _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_InvtryTurnoverTimeSers.
-- 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.
-- Parameters: P_StartDate : vdm_v_start_date, P_EndDate : vdm_v_end_date, P_PeriodType : char_01
CREATE VIEW C_InvtryTurnoverTimeSers AS
SELECT
series.StartDate AS StartDate,
series.EndDate AS EndDate,
series.Material AS Material,
series.Plant AS Plant,
series.MaterialBaseUnit AS MaterialBaseUnit,
case when _MatlDocArchivingDate.LatestMatlDocArchivingDate >= $parameters.P_StartDate then _MatlDocArchivingDate.LatestMatlDocArchivingDate else cast('00010101' as abap.dats) end as LatestMatlDocArchivingDate AS datsendasLatestMatlDocArchivingDate,
cast( MatlWrhsStkQtyInMatlBaseUnit as invtryto_mat_stk_qty) AS MatlWrhsStkQtyInMatlBaseUnit,
cast (MatlCnsmpnQtyInMatlBaseUnit as invtryto_mat_cons_qty) AS MatlCnsmpnQtyInMatlBaseUnit,
cast(MatlStkDecrQtyInMatlBaseUnit as invtryto_stk_decr) AS MatlStkDecrQtyInMatlBaseUnit,
cast(MatlStkIncrQtyInMatlBaseUnit as invtryto_stk_incr) AS MatlStkIncrQtyInMatlBaseUnit,
Currency,
MatlStkAmountInCompanyCrcy,
CompanyCode
FROM P_InvtryTurnoverTmeSersAggrgnC
LEFT OUTER JOIN I_MatlDocArchivingDate AS _MatlDocArchivingDate ON Material = _MatlDocArchivingDate.StockIdentifyingMaterial AND Plant = _MatlDocArchivingDate.Plant -- association [0..1]
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
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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