P_SUPDMNDOVWCUBE
Supply Demand Overview Cube View
P_SUPDMNDOVWCUBE is a Composite CDS View that provides data about "Supply Demand Overview Cube View" in SAP S/4HANA. It reads from 2 data sources (I_SupDmndOvwTotalDemandCube, I_SupDmndOvwTotalSupplyCube) and exposes 174 fields. Part of development package VDM_ARUN_ANALYTICS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SupDmndOvwTotalDemandCube | Demand | from |
| I_SupDmndOvwTotalSupplyCube | Supply | union_all |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSDOOVWDCUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (174)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| RequirementDocumentNumber | RequirementDocumentNumber | |||
| RequirementDocumentItem | RequirementDocumentItem | |||
| PurchasingDocumentItem | ||||
| ProductAvailabilityDate | ProductAvailabilityDate | |||
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| RequirementType | RequirementType | RequirementType | ||
| SupplyNumber | ||||
| SupplyItem | ||||
| AssignedSupplyType | ||||
| DeliveredQuantityInBaseUnit | DeliveredQuantityInBaseUnit | |||
| RequestedRqmtQtyInBaseUnit | RequestedRqmtQtyInBaseUnit | |||
| ConfirmedRqmtQtyInBaseUnit | ConfirmedRqmtQtyInBaseUnit | |||
| OpenDemandQuantity | OpenDemandQuantity | |||
| SalesOrganization | I_SupDmndOvwTotalDemandCube | SalesOrganization | Sales Organization | |
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Division | Division | Internal Division ID | ||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| Plant | Plant | Valuation Area | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| Batch | Lot No. | |||
| ShippingPoint | ShippingPoint | Shipping Point | ||
| RequirementSegment | RequirementSegment | Req. Segment | ||
| StockSegment | Stock Segment | |||
| ProductSeasonYear | ProductSeasonYear | Season Year | ||
| ProductSeason | ProductSeason | Season | ||
| ProductCollection | ProductCollection | Collection | ||
| ProductTheme | ProductTheme | Theme | ||
| ShippingGroupRule | ShippingGroupRule | PSST Grouping Rule | ||
| ShippingGroupNumber | ShippingGroupNumber | PSST Group | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| CalendarMonth | CalendarMonth | Calendar Month | ||
| CalendarWeek | CalendarWeek | Calendar Week | ||
| CalendarYear | CalendarYear | Year | ||
| CalendarMonthName | CalendarMonthName | |||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | Cross-plant CP | ||
| AssignedQuantityInBaseUnit | AssignedQuantityInBaseUnit | |||
| NormalAssignedQuantityInBsUnt | NormalAssignedQuantityInBsUnt | |||
| FixedQuantityInBaseUnit | FixedQuantityInBaseUnit | |||
| SupAssgmtReservedQtyInBaseUnit | SupAssgmtReservedQtyInBaseUnit | |||
| OnHoldQuantityInBaseUnit | OnHoldQuantityInBaseUnit | |||
| ReadyForReleaseQtyInBaseUnit | ReadyForReleaseQtyInBaseUnit | |||
| InboundAssignedQuantityInBsUnt | InboundAssignedQuantityInBsUnt | |||
| PreviewFixedAssignedQtyInBsUnt | PreviewFixedAssignedQtyInBsUnt | |||
| PreviewReservedAssgdQtyInBsUnt | PreviewReservedAssgdQtyInBsUnt | |||
| PreviewOnHoldAssgdQtyInBsUnt | PreviewOnHoldAssgdQtyInBsUnt | |||
| PreviewRdyForReleaseQtyInBsUnt | PreviewRdyForReleaseQtyInBsUnt | |||
| PreviewAssignedQuantityInBsUnt | PreviewAssignedQuantityInBsUnt | |||
| OpenSupplyQuantity | ||||
| AssignedSupplyQtyInBaseUnit | ||||
| NormalSupplyQtyInBaseUnit | ||||
| PreviewSupplyQtyInBaseUnit | ||||
| SupAssgmtCategory | SupAssgmtCategory | |||
| SupAssgmtCategoryName | SupAssgmtCategoryName | |||
| SupAssgmtSource | SupAssgmtSource | |||
| SupAssgmtSourceName | SupAssgmtSourceName | |||
| ARunApplicationType | ARunApplicationType | |||
| dec253endasNetAmount | ||||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| ARunPriorityValue | ARunPriorityValue | |||
| ARunDemandGroupPriority | ARunDemandGroupPriority | |||
| PurchasingGroup | Purchasing Group | |||
| Supplier | Supplier | |||
| PurchasingOrganization | Purchasing Organization | |||
| OrderType | OrderType | Order Type | ||
| PurchasingDocumentCategory | Doc. Category | |||
| DeliveryBlockReason | DeliveryBlockReason | Delivery Block | ||
| SalesOffice | SalesOffice | Sales Office | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| SalesDocumentItemCategory | SalesDocumentItemCategory | Item Category | ||
| FashionCancelDate | FashionCancelDate | |||
| ItemBillingBlockReason | ItemBillingBlockReason | Billing Block | ||
| AdditionalCustomerGroup1 | AdditionalCustomerGroup1 | Customer Grp 1 | ||
| AdditionalCustomerGroup2 | AdditionalCustomerGroup2 | Customer Grp 2 | ||
| AdditionalCustomerGroup3 | AdditionalCustomerGroup3 | Customer Grp 3 | ||
| AdditionalCustomerGroup4 | AdditionalCustomerGroup4 | Customer Grp 4 | ||
| AdditionalCustomerGroup5 | AdditionalCustomerGroup5 | Customer Grp 5 | ||
| SalesGroup | SalesGroup | Sales Group | ||
| ReferenceSDDocument | ReferenceSDDocument | Reference Doc. | ||
| SDDocumentReason | SDDocumentReason | Order Reason | ||
| HeaderBillingBlockReason | HeaderBillingBlockReason | Billing Block | ||
| DeliveryPriority | DeliveryPriority | Delivery Prior. | ||
| RequirementDocumentItem | ||||
| PurchasingDocumentItem | ||||
| ProductAvailabilityDate | SupplyDeliveryDate | |||
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| RequirementType | RequirementType | |||
| SupplyNumber | SupplyNumber | |||
| SupplyItem | SupplyItem | |||
| AssignedSupplyType | AssignedSupplyType | |||
| DeliveredQuantityInBaseUnit | 0 | |||
| RequestedRqmtQtyInBaseUnit | 0 | |||
| ConfirmedRqmtQtyInBaseUnit | 0 | |||
| OpenDemandQuantity | 0 | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| SoldToParty | Sold-to Party | |||
| ShipToParty | Ship-To Party (obsolete) | |||
| CompanyCode | I_SupDmndOvwTotalSupplyCube | CompanyCode | Receiver Company Code | |
| Division | Division | Internal Division ID | ||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| Plant | I_SupDmndOvwTotalSupplyCube | Plant | Valuation Area | |
| StorageLocation | StorageLocation | StorageLocation | ||
| Batch | Batch | Lot No. | ||
| ShippingPoint | ShippingPoint | Shipping Point | ||
| RequirementSegment | Req. Segment | |||
| StockSegment | StockSegment | Stock Segment | ||
| ProductSeasonYear | ProductSeasonYear | Season Year | ||
| ProductSeason | ProductSeason | Season | ||
| ProductCollection | ProductCollection | Collection | ||
| ProductTheme | ProductTheme | Theme | ||
| ShippingGroupRule | ShippingGroupRule | PSST Grouping Rule | ||
| ShippingGroupNumber | ShippingGroupNumber | PSST Group | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| CalendarMonth | CalendarMonth | Calendar Month | ||
| CalendarWeek | CalendarWeek | Calendar Week | ||
| CalendarYear | CalendarYear | Year | ||
| CalendarMonthName | CalendarMonthName | |||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | Cross-plant CP | ||
| AssignedQuantityInBaseUnit | 0 | |||
| NormalAssignedQuantityInBsUnt | 0 | |||
| FixedQuantityInBaseUnit | 0 | |||
| SupAssgmtReservedQtyInBaseUnit | 0 | |||
| OnHoldQuantityInBaseUnit | 0 | |||
| ReadyForReleaseQtyInBaseUnit | 0 | |||
| InboundAssignedQuantityInBsUnt | 0 | |||
| PreviewFixedAssignedQtyInBsUnt | 0 | |||
| PreviewReservedAssgdQtyInBsUnt | 0 | |||
| PreviewOnHoldAssgdQtyInBsUnt | 0 | |||
| PreviewRdyForReleaseQtyInBsUnt | 0 | |||
| PreviewAssignedQuantityInBsUnt | 0 | |||
| OpenSupplyQuantity | OpenSupplyQuantity | |||
| AssignedSupplyQtyInBaseUnit | AssignedQuantityInBaseUnit | |||
| NormalSupplyQtyInBaseUnit | NormalAssignedQuantityInBsUnt | |||
| PreviewSupplyQtyInBaseUnit | PreviewAssignedQuantityInBsUnt | |||
| SupAssgmtCategory | SupAssgmtCategory | |||
| SupAssgmtCategoryName | SupAssgmtCategoryName | |||
| SupAssgmtSource | SupAssgmtSource | |||
| SupAssgmtSourceName | SupAssgmtSourceName | |||
| ARunApplicationType | ||||
| NetAmount | ||||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| ARunPriorityValue | ||||
| ARunDemandGroupPriority | ||||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| Supplier | Supplier | Supplier | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| OrderType | OrderType | Order Type | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| DeliveryBlockReason | Delivery Block | |||
| SalesOffice | Sales Office | |||
| CustomerGroup | Customer Group | |||
| SalesDocumentItemCategory | Item Category | |||
| FashionCancelDate | ||||
| ItemBillingBlockReason | Billing Block | |||
| AdditionalCustomerGroup1 | Customer Grp 1 | |||
| AdditionalCustomerGroup2 | Customer Grp 2 | |||
| AdditionalCustomerGroup3 | Customer Grp 3 | |||
| AdditionalCustomerGroup4 | Customer Grp 4 | |||
| AdditionalCustomerGroup5 | Customer Grp 5 | |||
| SalesGroup | Sales Group | |||
| ReferenceSDDocument | Reference Doc. | |||
| SDDocumentReason | Order Reason | |||
| HeaderBillingBlockReason | Billing Block | |||
| DeliveryPriority | Delivery Prior. | |||
| InternationalArticleNumber |
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 P_SUPDMNDOVWCUBE.
-- 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: PSDOOVWDCUBE
CREATE VIEW P_SUPDMNDOVWCUBE AS
SELECT
RequirementDocumentNumber,
RequirementDocumentItem,
RIGHT(RequirementDocumentItem,5) AS PurchasingDocumentItem,
ProductAvailabilityDate,
RequestedDeliveryDate,
RequirementType,
cast('' as abap.char( 12 ) ) AS SupplyNumber,
'00000' AS SupplyItem,
'' AS AssignedSupplyType,
DeliveredQuantityInBaseUnit,
RequestedRqmtQtyInBaseUnit,
ConfirmedRqmtQtyInBaseUnit,
OpenDemandQuantity,
Demand.SalesOrganization AS SalesOrganization,
DistributionChannel,
SoldToParty,
ShipToParty,
CompanyCode,
Division,
Material,
MaterialGroup,
BaseUnit,
Plant,
StorageLocation,
cast('' as abap.char(10) ) AS Batch,
ShippingPoint,
RequirementSegment,
cast('' as abap.char( 40 ) ) AS StockSegment,
ProductSeasonYear,
ProductSeason,
ProductCollection,
ProductTheme,
ShippingGroupRule,
ShippingGroupNumber,
SalesDistrict,
CalendarMonth,
CalendarWeek,
CalendarYear,
CalendarMonthName,
CrossPlantConfigurableProduct,
AssignedQuantityInBaseUnit,
NormalAssignedQuantityInBsUnt,
FixedQuantityInBaseUnit,
SupAssgmtReservedQtyInBaseUnit,
OnHoldQuantityInBaseUnit,
ReadyForReleaseQtyInBaseUnit,
InboundAssignedQuantityInBsUnt,
PreviewFixedAssignedQtyInBsUnt,
PreviewReservedAssgdQtyInBsUnt,
PreviewOnHoldAssgdQtyInBsUnt,
PreviewRdyForReleaseQtyInBsUnt,
PreviewAssignedQuantityInBsUnt,
cast ( 0 as abap.quan( 25, 3 ) ) AS OpenSupplyQuantity,
cast ( 0 as abap.quan( 25, 3 ) ) AS AssignedSupplyQtyInBaseUnit,
cast ( 0 as abap.quan( 25, 3 ) ) AS NormalSupplyQtyInBaseUnit,
cast ( 0 as abap.quan( 25, 3 ) ) AS PreviewSupplyQtyInBaseUnit,
SupAssgmtCategory,
SupAssgmtCategoryName,
SupAssgmtSource,
SupAssgmtSourceName,
ARunApplicationType,
case when RequirementType = 'VE' or RequirementType = 'VS' then cast (0 as abap.dec( 25, 3 ) ) else cast( ( OpenDemandQuantity + AssignedQuantityInBaseUnit ) * NetPriceAmount as abap.dec( 25, 3 ) ) end as NetAmount AS dec253endasNetAmount,
NetPriceAmount,
DocumentCurrency,
ARunPriorityValue,
ARunDemandGroupPriority,
cast('' as ekgrp) AS PurchasingGroup,
cast('' as lifnr) AS Supplier,
cast('' as ekorg) AS PurchasingOrganization,
OrderType,
cast('' as bstyp) AS PurchasingDocumentCategory,
DeliveryBlockReason,
SalesOffice,
CustomerGroup,
SalesDocumentItemCategory,
FashionCancelDate,
ItemBillingBlockReason,
AdditionalCustomerGroup1,
AdditionalCustomerGroup2,
AdditionalCustomerGroup3,
AdditionalCustomerGroup4,
AdditionalCustomerGroup5,
SalesGroup,
ReferenceSDDocument,
SDDocumentReason,
HeaderBillingBlockReason,
DeliveryPriority,
cast( ( OpenSupplyQuantity + AssignedQuantityInBaseUnit ) * NetPriceAmount as abap.dec( 25, 3 )) AS NetAmount,
'' AS InternationalArticleNumber
FROM I_SupDmndOvwTotalDemandCube AS Demand
-- UNION ALL with additional select branch(es): I_SupDmndOvwTotalSupplyCube
;
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