I_SrvcPartsForecastWeekC
Analytics Weekly Forecast - Cube
I_SrvcPartsForecastWeekC (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Sourcing & Procurement
I_SrvcPartsForecastWeekC is a Composite CDS View (Cube) that provides data about "Analytics Weekly Forecast - Cube" in SAP S/4HANA. It reads from 1 data source (I_SrvcPartsForecastWeek) and exposes 37 fields with key fields Product, Location, SrvcPartsKeyFigure, SrvcPartsLocationIsVrtlChildPt, ESPPPeriodFromDateTime. It has 5 associations to related views.
SAP Help Documentation
| Category | CDS Views for Forecasting |
|---|---|
| Data Category | Composite Cube |
| Status | Released |
This CDS view provides the time series data of all eSPP forecast key figures dependent on period, product, location product and both warehouse location and virtual child location. The view only provides the time series data which has been created in the eSPP forecast transactions beforehand. This view can only be used for time series which have been created on a weekly period basis.
Prerequisites
The following prerequisites must be fulfilled: Key figures need to be maintained in transaction /SAPAPO/TDL_APO_SEM. A monthly time profile needs to be maintained in transaction /SCA/TSDMCFG. Users who want to run reports using this CDS view must also have the authorization to acess the following data: Products Locations
Structure
Measures and attributes Some important measures are: Measure Description Representation Term ESPPForecastQuantity Forecast quantity in Extended Service Parts Planning. Quantity Some important attributes are: Product Location ESPPPeriodFromDateTime ESPPPeriodToDateTime BaseUnit ProductGroupType ProductGroupValue
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sourcing & Procurement |
| Application Component | SCM-APO-SPP |
| Capabilities | Analytical Cube |
| Package | Sourcing & Procurement for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SrvcPartsForecastWeek | forecast | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CalendarDate | _CalendarDate | $projection.ESPPPeriodFromDateTime = _CalendarDate.CalendarDate |
| [0..*] | I_SCMProductGroup | _ProductGroup | $projection.Product = _ProductGroup.Product |
| [0..*] | I_CalendarMonthText | _CalendarMonthText | $projection.CalendarMonth = _CalendarMonthText.CalendarMonth |
| [0..*] | I_CalendarQuarterText | _CalendarQuarterText | $projection.CalendarQuarter = _CalendarQuarterText.CalendarQuarter |
| [0..*] | I_WeekDayText | _WeekDayText | $projection.WeekDay = _WeekDayText.WeekDay |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Analytics Weekly Forecast - Cube | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISPFORECASTWEEKC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.supportedCapabilities | #ANALYTICAL_CUBE | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.allowExtensions | true | view |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | Product | Product Number | |
| KEY | Location | Location | Location | |
| KEY | SrvcPartsKeyFigure | SrvcPartsKeyFigure | TSDM Key Figure Parameter | |
| KEY | SrvcPartsLocationIsVrtlChildPt | SrvcPartsLocationIsVrtlChildPt | TSDM: Characteristic object | |
| KEY | ESPPPeriodFromDateTime | ESPPPeriodFromDateTime | eSPP Forecast: Period from | |
| KEY | ESPPPeriodToDateTime | ESPPPeriodToDateTime | eSPP forecast: Period to | |
| ESPPPeriodCluster | ESPPPeriodCluster | Cluster identifier: sequence number | ||
| _Product | _Product | |||
| _Location | _Location | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| ProductGroupType | _ProductGroup | ProductGroupType | Product Group Type | |
| ProductGroupValue | _ProductGroup | ProductGroupValue | Product Group | |
| _ProductGroup | _ProductGroup | |||
| CalendarDate | _CalendarDate | CalendarDate | Calendar Date | |
| CalendarYear | _CalendarDate | CalendarYear | Calendar Year | |
| CalendarQuarter | _CalendarDate | CalendarQuarter | Calendar Quarter | |
| CalendarMonth | _CalendarDate | CalendarMonth | Calendar Month | |
| CalendarWeek | _CalendarDate | CalendarWeek | Calendar Week | |
| CalendarDay | _CalendarDate | CalendarDay | Occur Day in a Month | |
| YearMonth | _CalendarDate | YearMonth | Year Month | |
| YearQuarter | _CalendarDate | YearQuarter | Year Quarter | |
| YearWeek | _CalendarDate | YearWeek | Year and Calendar Week | |
| WeekDay | _CalendarDate | WeekDay | Weekdays | |
| FirstDayOfWeekDate | _CalendarDate | FirstDayOfWeekDate | First day of week date | |
| FirstDayOfMonthDate | _CalendarDate | FirstDayOfMonthDate | First Day of Month Date | |
| CalendarDayOfYear | _CalendarDate | CalendarDayOfYear | Calendar day of year | |
| YearDay | _CalendarDate | YearDay | Day of the year | |
| _CalendarMonth | _CalendarDate | _CalendarMonth | ||
| _CalendarQuarter | _CalendarDate | _CalendarQuarter | ||
| _CalendarYear | _CalendarDate | _CalendarYear | ||
| _WeekDay | _CalendarDate | _WeekDay | ||
| _YearMonth | _CalendarDate | _YearMonth | ||
| _CalendarDate | _CalendarDate | |||
| _SrvcPartsSemantics | _SrvcPartsSemantics | |||
| _CalendarMonthText | _CalendarMonthText | |||
| _CalendarQuarterText | _CalendarQuarterText | |||
| _WeekDayText | _WeekDayText |
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_SrvcPartsForecastWeekC.
-- 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: ISPFORECASTWEEKC
CREATE VIEW I_SrvcPartsForecastWeekC AS
SELECT
Product,
Location,
SrvcPartsKeyFigure,
SrvcPartsLocationIsVrtlChildPt,
ESPPPeriodFromDateTime,
ESPPPeriodToDateTime,
ESPPPeriodCluster,
BaseUnit,
_ProductGroup.ProductGroupType AS ProductGroupType,
_ProductGroup.ProductGroupValue AS ProductGroupValue,
_CalendarDate.CalendarDate AS CalendarDate,
_CalendarDate.CalendarYear AS CalendarYear,
_CalendarDate.CalendarQuarter AS CalendarQuarter,
_CalendarDate.CalendarMonth AS CalendarMonth,
_CalendarDate.CalendarWeek AS CalendarWeek,
_CalendarDate.CalendarDay AS CalendarDay,
_CalendarDate.YearMonth AS YearMonth,
_CalendarDate.YearQuarter AS YearQuarter,
_CalendarDate.YearWeek AS YearWeek,
_CalendarDate.WeekDay AS WeekDay,
_CalendarDate.FirstDayOfWeekDate AS FirstDayOfWeekDate,
_CalendarDate.FirstDayOfMonthDate AS FirstDayOfMonthDate,
_CalendarDate.CalendarDayOfYear AS CalendarDayOfYear,
_CalendarDate.YearDay AS YearDay,
_CalendarDate._CalendarMonth AS _CalendarMonth,
_CalendarDate._CalendarQuarter AS _CalendarQuarter,
_CalendarDate._CalendarYear AS _CalendarYear,
_CalendarDate._WeekDay AS _WeekDay,
_CalendarDate._YearMonth AS _YearMonth
FROM I_SrvcPartsForecastWeek AS forecast
LEFT OUTER JOIN I_CalendarDate AS _CalendarDate ON ESPPPeriodFromDateTime = _CalendarDate.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_SCMProductGroup AS _ProductGroup ON Product = _ProductGroup.Product -- association [0..*]
LEFT OUTER JOIN I_CalendarMonthText AS _CalendarMonthText ON CalendarMonth = _CalendarMonthText.CalendarMonth -- association [0..*]
LEFT OUTER JOIN I_CalendarQuarterText AS _CalendarQuarterText ON CalendarQuarter = _CalendarQuarterText.CalendarQuarter -- association [0..*]
LEFT OUTER JOIN I_WeekDayText AS _WeekDayText ON WeekDay = _WeekDayText.WeekDay -- association [0..*]
;
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