I_ProdDailyDemandChart
Product Daily Demand Chart
I_ProdDailyDemandChart is a Composite CDS View that provides data about "Product Daily Demand Chart" in SAP S/4HANA. It reads from 6 data sources and exposes 29 fields with key fields Material, Plant, MRPArea, ProposalStartDate, ProposalVersion. Part of development package PPH_DD_VDM_STLM.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| P_ChartHorizon | _cald | from |
| P_ChartHorizon | _cald | union_all |
| P_ProdDailyDemandChartFutr | _dmndfut | left_outer |
| P_ProdDailyDemandChartPast | _dmndpast | left_outer |
| I_ProdBufLvlPrpslData | _ProposalHeader | left_outer |
| I_ProdBufLvlPrpslData | _ProposalHeader | left_outer |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Product Daily Demand Chart | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | I_ProdBufLvlPrpslData | Material | Vehicle Model |
| KEY | Plant | I_ProdBufLvlPrpslData | Plant | Valuation Area |
| KEY | MRPArea | I_ProdBufLvlPrpslData | MRPArea | MRP Area |
| KEY | ProposalStartDate | I_ProdBufLvlPrpslData | ProposalStartDate | Proposal Valid From |
| KEY | ProposalVersion | I_ProdBufLvlPrpslData | ProposalVersion | Proposal Version |
| KEY | DemandPostingDate | P_ChartHorizon | CalendarDate | Calendar Date |
| DemandAdjustmentFactor | P_ProdDailyDemandChartFutr | DemandAdjustmentFactor | ||
| AverageDailyUsage | P_ProdDailyDemandChartFutr | AverageDailyUsage | ||
| AdjustedAverageDailyUsage | P_ProdDailyDemandChartFutr | AdjustedAverageDailyUsage | ||
| AvgDailyUsageUnit | P_ProdDailyDemandChartFutr | AvgDailyUsageUnit | ||
| HorizonDaysInFuture | P_ProdDailyDemandChartFutr | HorizonDaysInFuture | Horizon for future | |
| HorizonDaysInPast | P_ProdDailyDemandChartFutr | HorizonDaysInPast | Horizon for past | |
| ProductAuthorizationGroup | P_ProdDailyDemandChartFutr | ProductAuthorizationGroup | AuthorizGroup | |
| ProductTypeAuthorizationGroup | P_ProdDailyDemandChartFutr | ProductTypeAuthorizationGroup | ||
| Material | Vehicle Model | |||
| KEY | Plant | I_ProdBufLvlPrpslData | Plant | Valuation Area |
| KEY | MRPArea | I_ProdBufLvlPrpslData | MRPArea | MRP Area |
| KEY | ProposalStartDate | I_ProdBufLvlPrpslData | ProposalStartDate | Proposal Valid From |
| KEY | ProposalVersion | I_ProdBufLvlPrpslData | ProposalVersion | Proposal Version |
| KEY | DemandPostingDate | P_ChartHorizon | CalendarDate | Calendar Date |
| DemandAdjustmentFactor | P_ProdDailyDemandChartPast | DemandAdjustmentFactor | ||
| AverageDailyUsage | P_ProdDailyDemandChartPast | AverageDailyUsage | ||
| AdjustedAverageDailyUsage | P_ProdDailyDemandChartPast | AdjustedAverageDailyUsage | ||
| AvgDailyUsageUnit | P_ProdDailyDemandChartPast | AvgDailyUsageUnit | ||
| HorizonDaysInFuture | I_ProdBufLvlPrpslData | HorizonDaysInFuture | Horizon for future | |
| HorizonDaysInPast | I_ProdBufLvlPrpslData | HorizonDaysInPast | Horizon for past | |
| ProductAuthorizationGroup | I_ProdBufLvlPrpslData | ProductAuthorizationGroup | AuthorizGroup | |
| ProductTypeAuthorizationGroup | I_ProdBufLvlPrpslData | ProductTypeAuthorizationGroup | ||
| ProductGroupAuthorizationGroup | I_ProdBufLvlPrpslData | ProductGroupAuthorizationGroup |
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_ProdDailyDemandChart.
-- 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_ProdDailyDemandChart AS
SELECT
_ProposalHeader.Material AS Material,
_ProposalHeader.Plant AS Plant,
_ProposalHeader.MRPArea AS MRPArea,
_ProposalHeader.ProposalStartDate AS ProposalStartDate,
_ProposalHeader.ProposalVersion AS ProposalVersion,
_cald.CalendarDate AS DemandPostingDate,
_dmndfut.DemandAdjustmentFactor AS DemandAdjustmentFactor,
_dmndfut.AverageDailyUsage AS AverageDailyUsage,
_dmndfut.AdjustedAverageDailyUsage AS AdjustedAverageDailyUsage,
_dmndfut.AvgDailyUsageUnit AS AvgDailyUsageUnit,
_dmndfut.HorizonDaysInFuture AS HorizonDaysInFuture,
_dmndfut.HorizonDaysInPast AS HorizonDaysInPast,
_dmndfut.ProductAuthorizationGroup AS ProductAuthorizationGroup,
_dmndfut.ProductTypeAuthorizationGroup AS ProductTypeAuthorizationGroup,
_ProposalHeader.ProductGroupAuthorizationGroup AS ProductGroupAuthorizationGroup
FROM P_ChartHorizon AS _cald
LEFT OUTER JOIN I_ProdBufLvlPrpslData AS _ProposalHeader ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_ProdDailyDemandChartFutr AS _dmndfut ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_ProdDailyDemandChartPast AS _dmndpast ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_ChartHorizon
;
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