I_SupDmndOvwTotalSupply
Basic View for Supply Overview
I_SupDmndOvwTotalSupply is a Composite CDS View that provides data about "Basic View for Supply Overview" in SAP S/4HANA. It reads from 7 data sources and exposes 85 fields. It has 2 associations to related views.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| P_SUPDMNDSUPASSGMTSUPPLY | bdbs | left_outer |
| I_ARunCalendarDate | CalDate | left_outer |
| I_CalendarMonthName | CalMonth | left_outer |
| I_SupDmndMaterialPlant | mara | inner |
| I_SupDmndOvwPlant | Plant | inner |
| I_SupDmndSource | Src | left_outer |
| I_SupDmndOvwSupply | supply | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SupDmndAssgdSupType | text | supply.AssignedSupplyType = text.AssignedSupplyType |
| [1..1] | I_SupDmndSupAssgmtCat | Cat | Cat.SupAssgmtCategory = '01' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Basic View for Supply Overview | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISDOTOTALSUPPLY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (85)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Material | I_SupDmndOvwSupply | Material | Vehicle Model | |
| Plant | I_SupDmndOvwSupply | Plant | Valuation Area | |
| StorageLocation | I_SupDmndOvwSupply | StorageLocation | StorageLocation | |
| Batch | I_SupDmndOvwSupply | Batch | Lot No. | |
| SupplyNumber | I_SupDmndOvwSupply | SupplyNumber | Requisition | |
| SupplyItem | I_SupDmndOvwSupply | SupplyItem | Requisn. item | |
| SupplyScheduleLine | I_SupDmndOvwSupply | SupplyScheduleLine | ||
| TotalQuantity | I_SupDmndOvwSupply | TotalQuantity | Activity Quantity | |
| OpenSupplyQuantity | OpenSupplyQuantity | |||
| SupplyDeliveryDate | I_SupDmndOvwSupply | SupplyDeliveryDate | Ltst Planned Finish | |
| RequestedDeliveryDate | I_SupDmndOvwSupply | RequestedDeliveryDate | Requested Delivery Date | |
| StockSegment | I_SupDmndOvwSupply | StockSegment | Stock Segment | |
| MaterialGroup | I_SupDmndOvwSupply | MaterialGroup | Product Group | |
| BaseUnit | I_SupDmndOvwSupply | BaseUnit | Unit of Measure | |
| AssignedSupplyType | I_SupDmndOvwSupply | AssignedSupplyType | ||
| AssignedSupplyTypeName | text | AssignedSupplyTypeName | ||
| FreeDefinedProductAttribute01 | I_SupDmndOvwSupply | FreeDefinedProductAttribute01 | Fsh. Attribute1 | |
| FreeDefinedProductAttribute02 | I_SupDmndOvwSupply | FreeDefinedProductAttribute02 | Fsh. Attribute1 | |
| FreeDefinedProductAttribute03 | I_SupDmndOvwSupply | FreeDefinedProductAttribute03 | Fsh. Attribute1 | |
| RetailArticleColor | I_SupDmndOvwSupply | RetailArticleColor | Level Color | |
| RetailArticleMainSize | I_SupDmndOvwSupply | RetailArticleMainSize | Size 1 | |
| RetailArticleSecondSize | I_SupDmndOvwSupply | RetailArticleSecondSize | Size 2 | |
| RoughGoodsReceiptQty | I_SupDmndOvwSupply | RoughGoodsReceiptQty | Delivered | |
| ProductCharacteristic1 | I_SupDmndOvwSupply | ProductCharacteristic1 | Characteristic 1 | |
| ProductCharacteristic2 | I_SupDmndOvwSupply | ProductCharacteristic2 | Characteristic 2 | |
| ProductCharacteristic3 | I_SupDmndOvwSupply | ProductCharacteristic3 | Characteristic 3 | |
| CompanyCodeendasCompanyCode | ||||
| NetPriceAmount | I_SupDmndOvwSupply | NetPriceAmount | Net Price | |
| NetPriceQuantity | I_SupDmndOvwSupply | NetPriceQuantity | Price Unit | |
| NetAmount | I_SupDmndOvwSupply | NetAmount | Stated Amount | |
| Customer | I_SupDmndOvwSupply | Customer | Sold-to Party | |
| ItemIsRejectedBySupplier | I_SupDmndOvwSupply | ItemIsRejectedBySupplier | Rejection Ind. | |
| PurchasingDocumentCategory | I_SupDmndOvwSupply | PurchasingDocumentCategory | Doc. Category | |
| CrossPlantConfigurableProduct | I_SupDmndOvwSupply | CrossPlantConfigurableProduct | Cross-plant CP | |
| PurchasingOrderReason | I_SupDmndOvwSupply | PurchasingOrderReason | Reason for Ord. | |
| OrderType | I_SupDmndOvwSupply | OrderType | Order Type | |
| PaymentTerms | I_SupDmndOvwSupply | PaymentTerms | Pyt Terms | |
| PurchasingGroup | I_SupDmndOvwSupply | PurchasingGroup | Purchasing Group | |
| DocumentCurrency | I_SupDmndOvwSupply | DocumentCurrency | Document Currency | |
| SupplyingPlant | I_SupDmndOvwSupply | SupplyingPlant | Supplying Plant | |
| Supplier | I_SupDmndOvwSupply | Supplier | Supplier | |
| DeliveryDocument | I_SupDmndOvwSupply | DeliveryDocument | Outbound Delivery | |
| ProductSeason | I_SupDmndOvwSupply | ProductSeason | Season | |
| ProductSeasonYear | I_SupDmndOvwSupply | ProductSeasonYear | Season Year | |
| ProductCollection | I_SupDmndOvwSupply | ProductCollection | Collection | |
| ProductTheme | I_SupDmndOvwSupply | ProductTheme | Theme | |
| InventorySpecialStockType | I_SupDmndOvwSupply | InventorySpecialStockType | Special Stock Type | |
| SalesOrder | I_SupDmndOvwSupply | SalesOrder | SD Document | |
| SalesOrderItem | I_SupDmndOvwSupply | SalesOrderItem | Sales Order Item | |
| ItemQuantity | I_SupDmndOvwSupply | ItemQuantity | ||
| MfgOrderItemGoodsReceiptQty | I_SupDmndOvwSupply | MfgOrderItemGoodsReceiptQty | ||
| MfgOrderItemActualDeviationQty | I_SupDmndOvwSupply | MfgOrderItemActualDeviationQty | ||
| MfgOrderItemPlannedScrapQty | I_SupDmndOvwSupply | MfgOrderItemPlannedScrapQty | ||
| DeliveredQuantity | I_SupDmndOvwSupply | DeliveredQuantity | Qty. in OPUn | |
| CalendarMonth | I_ARunCalendarDate | CalendarMonth | Calendar Month | |
| CalendarWeek | ||||
| CalendarYear | I_ARunCalendarDate | CalendarYear | Year | |
| CalendarMonthName | I_CalendarMonthName | CalendarMonthName | Short text | |
| AssignedQuantityInBaseUnit | ||||
| NormalAssignedQuantityInBsUnt | NormalAssignedQuantityInBsUnt | |||
| FixedQuantityInBaseUnit | FixedQuantityInBaseUnit | |||
| SupAssgmtReservedQtyInBaseUnit | SupAssgmtReservedQtyInBaseUnit | |||
| OnHoldQuantityInBaseUnit | OnHoldQuantityInBaseUnit | |||
| ReadyForReleaseQtyInBaseUnit | ReadyForReleaseQtyInBaseUnit | |||
| InboundAssignedQuantityInBsUnt | InboundAssignedQuantityInBsUnt | |||
| PreviewFixedAssignedQtyInBsUnt | PreviewFixedAssignedQtyInBsUnt | |||
| PreviewReservedAssgdQtyInBsUnt | PreviewReservedAssgdQtyInBsUnt | |||
| PreviewOnHoldAssgdQtyInBsUnt | PreviewOnHoldAssgdQtyInBsUnt | |||
| PreviewRdyForReleaseQtyInBsUnt | PreviewRdyForReleaseQtyInBsUnt | |||
| PreviewAssignedQuantityInBsUnt | PreviewAssignedQuantityInBsUnt | |||
| SupAssgmtCategory | ||||
| SupAssgmtCategoryName | Cat | SupAssgmtCategoryName | ||
| ShippingGroupRule | ShippingGroupRule | PSST Grouping Rule | ||
| ShippingGroupNumber | ShippingGroupNumber | PSST Group | ||
| SalesOrganization | I_SupDmndOvwPlant | SalesOrganization | Sales Organization | |
| DistributionChannel | I_SupDmndOvwPlant | DistributionChannel | RefDistCh-Cust/Mat. | |
| PlantCustomer | I_SupDmndOvwPlant | PlantCustomer | Stock customer | |
| PlantSupplier | I_SupDmndOvwPlant | PlantSupplier | Vendor no. | |
| Division | I_SupDmndMaterialPlant | Division | Internal Division ID | |
| ShippingPoint | I_SupDmndOvwPlant | ShippingPoint | Shipping Point | |
| SalesDistrict | I_SupDmndOvwPlant | SalesDistrict | Sales District | |
| SupAssgmtSource | I_SupDmndOvwSupply | SupAssgmtSource | Lower Value | |
| SupAssgmtSourceName | SupAssgmtSourceName | Short text | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| ShippingInstruction | ShippingInstruction | Shipping Instr. |
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_SupDmndOvwTotalSupply.
-- 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_SupDmndOvwTotalSupply AS
SELECT
supply.Material AS Material,
supply.Plant AS Plant,
supply.StorageLocation AS StorageLocation,
supply.Batch AS Batch,
supply.SupplyNumber AS SupplyNumber,
supply.SupplyItem AS SupplyItem,
supply.SupplyScheduleLine AS SupplyScheduleLine,
supply.TotalQuantity AS TotalQuantity,
OpenSupplyQuantity,
supply.SupplyDeliveryDate AS SupplyDeliveryDate,
supply.RequestedDeliveryDate AS RequestedDeliveryDate,
supply.StockSegment AS StockSegment,
supply.MaterialGroup AS MaterialGroup,
supply.BaseUnit AS BaseUnit,
supply.AssignedSupplyType AS AssignedSupplyType,
text.AssignedSupplyTypeName AS AssignedSupplyTypeName,
supply.FreeDefinedProductAttribute01 AS FreeDefinedProductAttribute01,
supply.FreeDefinedProductAttribute02 AS FreeDefinedProductAttribute02,
supply.FreeDefinedProductAttribute03 AS FreeDefinedProductAttribute03,
supply.RetailArticleColor AS RetailArticleColor,
supply.RetailArticleMainSize AS RetailArticleMainSize,
supply.RetailArticleSecondSize AS RetailArticleSecondSize,
supply.RoughGoodsReceiptQty AS RoughGoodsReceiptQty,
supply.ProductCharacteristic1 AS ProductCharacteristic1,
supply.ProductCharacteristic2 AS ProductCharacteristic2,
supply.ProductCharacteristic3 AS ProductCharacteristic3,
case when supply.CompanyCode is null or supply.CompanyCode = '' then Plant.CompanyCode else supply.CompanyCode end as CompanyCode AS CompanyCodeendasCompanyCode,
supply.NetPriceAmount AS NetPriceAmount,
supply.NetPriceQuantity AS NetPriceQuantity,
supply.NetAmount AS NetAmount,
supply.Customer AS Customer,
supply.ItemIsRejectedBySupplier AS ItemIsRejectedBySupplier,
supply.PurchasingDocumentCategory AS PurchasingDocumentCategory,
supply.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
supply.PurchasingOrderReason AS PurchasingOrderReason,
supply.OrderType AS OrderType,
supply.PaymentTerms AS PaymentTerms,
supply.PurchasingGroup AS PurchasingGroup,
supply.DocumentCurrency AS DocumentCurrency,
supply.SupplyingPlant AS SupplyingPlant,
supply.Supplier AS Supplier,
supply.DeliveryDocument AS DeliveryDocument,
supply.ProductSeason AS ProductSeason,
supply.ProductSeasonYear AS ProductSeasonYear,
supply.ProductCollection AS ProductCollection,
supply.ProductTheme AS ProductTheme,
supply.InventorySpecialStockType AS InventorySpecialStockType,
supply.SalesOrder AS SalesOrder,
supply.SalesOrderItem AS SalesOrderItem,
supply.ItemQuantity AS ItemQuantity,
supply.MfgOrderItemGoodsReceiptQty AS MfgOrderItemGoodsReceiptQty,
supply.MfgOrderItemActualDeviationQty AS MfgOrderItemActualDeviationQty,
supply.MfgOrderItemPlannedScrapQty AS MfgOrderItemPlannedScrapQty,
supply.DeliveredQuantity AS DeliveredQuantity,
CalDate.CalendarMonth AS CalendarMonth,
concat_with_space('Week',CalDate.CalendarWeek,1) AS CalendarWeek,
CalDate.CalendarYear AS CalendarYear,
CalMonth.CalendarMonthName AS CalendarMonthName,
case when AssignedQuantityInBaseUnit is not null then AssignedQuantityInBaseUnit else 0 end AS AssignedQuantityInBaseUnit,
NormalAssignedQuantityInBsUnt,
FixedQuantityInBaseUnit,
SupAssgmtReservedQtyInBaseUnit,
OnHoldQuantityInBaseUnit,
ReadyForReleaseQtyInBaseUnit,
InboundAssignedQuantityInBsUnt,
PreviewFixedAssignedQtyInBsUnt,
PreviewReservedAssgdQtyInBsUnt,
PreviewOnHoldAssgdQtyInBsUnt,
PreviewRdyForReleaseQtyInBsUnt,
PreviewAssignedQuantityInBsUnt,
'01' AS SupAssgmtCategory,
Cat.SupAssgmtCategoryName AS SupAssgmtCategoryName,
ShippingGroupRule,
ShippingGroupNumber,
Plant.SalesOrganization AS SalesOrganization,
Plant.DistributionChannel AS DistributionChannel,
Plant.PlantCustomer AS PlantCustomer,
Plant.PlantSupplier AS PlantSupplier,
mara.Division AS Division,
Plant.ShippingPoint AS ShippingPoint,
Plant.SalesDistrict AS SalesDistrict,
supply.SupAssgmtSource AS SupAssgmtSource,
SupAssgmtSourceName,
PurchasingDocument,
ShippingInstruction
FROM I_SupDmndOvwSupply AS supply
LEFT OUTER JOIN P_SUPDMNDSUPASSGMTSUPPLY AS bdbs ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ARunCalendarDate AS CalDate ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CalendarMonthName AS CalMonth ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupDmndOvwPlant AS Plant ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupDmndMaterialPlant AS mara ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SupDmndSource AS Src ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SupDmndAssgdSupType AS text ON supply.AssignedSupplyType = text.AssignedSupplyType -- association [1..1]
LEFT OUTER JOIN I_SupDmndSupAssgmtCat AS Cat ON Cat.SupAssgmtCategory = '01' -- association [1..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