C_SupDmndOvwTotSupQuery
Query View for Total Supply
C_SupDmndOvwTotSupQuery is a Consumption CDS View that provides data about "Query View for Total Supply" in SAP S/4HANA. It reads from 10 data sources and exposes 93 fields with key fields Material, Plant, StorageLocation, Batch, SupplyNumber.
Data Sources (10)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | CompanyCode | left_outer |
| I_DistributionChannelText | DistChl | left_outer |
| I_DivisionText | Div | left_outer |
| I_MaterialText | MaterialText | left_outer |
| I_MaterialGroupText | MatGrpText | left_outer |
| I_Plant | Plant | left_outer |
| I_PurchasingOrganization | PurchOrg | left_outer |
| I_SalesDistrictText | SalesDist | left_outer |
| I_SalesOrganizationText | SalesOrgText | left_outer |
| I_SupDmndOvwTotalSupplyCube | Supply | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSDOSUPPLYQUERY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Query View for Total Supply | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (93)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | I_SupDmndOvwTotalSupplyCube | Material | Vehicle Model |
| KEY | Plant | I_SupDmndOvwTotalSupplyCube | Plant | Valuation Area |
| KEY | StorageLocation | StorageLocation | StorageLocation | |
| KEY | Batch | Batch | Lot No. | |
| KEY | SupplyNumber | SupplyNumber | Supply Document No. | |
| KEY | SupplyItem | SupplyItem | Supply Document Item | |
| KEY | SupplyScheduleLine | SupplyScheduleLine | Supply Schedule Line | |
| KEY | AssignedSupplyType | AssignedSupplyType | Supply Type | |
| TotalQuantity | TotalQuantity | Total Quantity | ||
| OpenSupplyQuantity | OpenSupplyQuantity | Open Supply Quantity | ||
| SupplyDeliveryDate | SupplyDeliveryDate | Supply Delivery Date | ||
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| StockSegment | StockSegment | Stock Segment | ||
| MaterialGroup | I_SupDmndOvwTotalSupplyCube | MaterialGroup | Product Group | |
| BaseUnit | BaseUnit | Unit of Measure | ||
| AssignedSupplyTypeName | AssignedSupplyTypeName | Supply Type | ||
| FreeDefinedProductAttribute01 | FreeDefinedProductAttribute01 | |||
| FreeDefinedProductAttribute02 | FreeDefinedProductAttribute02 | |||
| FreeDefinedProductAttribute03 | FreeDefinedProductAttribute03 | |||
| RetailArticleColor | RetailArticleColor | |||
| RetailArticleMainSize | RetailArticleMainSize | |||
| RetailArticleSecondSize | RetailArticleSecondSize | |||
| RoughGoodsReceiptQty | RoughGoodsReceiptQty | Goods Received Quantity | ||
| ProductCharacteristic1 | ProductCharacteristic1 | Characteristic 1 | ||
| ProductCharacteristic2 | ProductCharacteristic2 | Characteristic 2 | ||
| ProductCharacteristic3 | ProductCharacteristic3 | Characteristic 3 | ||
| CompanyCode | I_SupDmndOvwTotalSupplyCube | CompanyCode | Company Code | |
| NetPriceAmount | NetPriceAmount | Net Price | ||
| NetPriceQuantity | NetPriceQuantity | Price Unit | ||
| NetAmount | NetAmount | Stated Amount | ||
| Customer | Customer | Sold-to Party | ||
| ItemIsRejectedBySupplier | ItemIsRejectedBySupplier | Rejection Ind. | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | Cross-plant CP | ||
| PurchasingOrderReason | PurchasingOrderReason | Reason for Ord. | ||
| OrderType | OrderType | Document Type | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| PurchasingOrganization | I_SupDmndOvwTotalSupplyCube | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| SupplyingPlant | SupplyingPlant | Supplying Plant | ||
| Supplier | Supplier | Supplier | ||
| DeliveryDocument | DeliveryDocument | Outbound Delivery | ||
| ProductSeason | ProductSeason | Season | ||
| ProductSeasonYear | ProductSeasonYear | Season Year | ||
| ProductCollection | ProductCollection | Collection | ||
| ProductTheme | ProductTheme | Theme | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| ItemQuantity | ItemQuantity | |||
| MfgOrderItemGoodsReceiptQty | MfgOrderItemGoodsReceiptQty | |||
| MfgOrderItemActualDeviationQty | MfgOrderItemActualDeviationQty | |||
| MfgOrderItemPlannedScrapQty | MfgOrderItemPlannedScrapQty | |||
| DeliveredQuantity | DeliveredQuantity | Open Delivery Quantity | ||
| CalendarMonth | CalendarMonth | Month | ||
| CalendarWeek | CalendarWeek | Week | ||
| CalendarYear | CalendarYear | Year | ||
| CalendarMonthName | CalendarMonthName | Month | ||
| AssignedQuantityInBaseUnit | AssignedQuantityInBaseUnit | Total Assigned Quantity | ||
| NormalAssignedQuantityInBsUnt | NormalAssignedQuantityInBsUnt | Normal Assigned Quantity | ||
| FixedQuantityInBaseUnit | FixedQuantityInBaseUnit | Ready for Delivery Quantity | ||
| SupAssgmtReservedQtyInBaseUnit | SupAssgmtReservedQtyInBaseUnit | Reserved Quantity | ||
| OnHoldQuantityInBaseUnit | OnHoldQuantityInBaseUnit | On Hold Quantity | ||
| ReadyForReleaseQtyInBaseUnit | ReadyForReleaseQtyInBaseUnit | Open for Release Check Quantity | ||
| InboundAssignedQuantityInBsUnt | InboundAssignedQuantityInBsUnt | IFO Assigned Quantity | ||
| PreviewFixedAssignedQtyInBsUnt | PreviewFixedAssignedQtyInBsUnt | Ready for Delivery (Preview) | ||
| PreviewReservedAssgdQtyInBsUnt | PreviewReservedAssgdQtyInBsUnt | Reserved (Preview) | ||
| PreviewOnHoldAssgdQtyInBsUnt | PreviewOnHoldAssgdQtyInBsUnt | On Hold (Preview) | ||
| PreviewRdyForReleaseQtyInBsUnt | PreviewRdyForReleaseQtyInBsUnt | Open for Release Check (Preview) | ||
| PreviewAssignedQuantityInBsUnt | PreviewAssignedQuantityInBsUnt | Preview Assigned Quantity | ||
| SupAssgmtCategory | SupAssgmtCategory | SDO Category | ||
| SupAssgmtCategoryName | SupAssgmtCategoryName | SDO Category | ||
| ShippingGroupRule | ShippingGroupRule | PSST Grouping Rule | ||
| ShippingGroupNumber | ShippingGroupNumber | PSST Group | ||
| SalesOrganization | I_SupDmndOvwTotalSupplyCube | SalesOrganization | Sales Organization | |
| DistributionChannel | I_SupDmndOvwTotalSupplyCube | DistributionChannel | RefDistCh-Cust/Mat. | |
| PlantCustomer | I_SupDmndOvwTotalSupplyCube | PlantCustomer | Stock customer | |
| PlantSupplier | I_SupDmndOvwTotalSupplyCube | PlantSupplier | Vendor no. | |
| Division | I_SupDmndOvwTotalSupplyCube | Division | Internal Division ID | |
| ShippingPoint | ShippingPoint | Shipping Point | ||
| SupAssgmtSource | SupAssgmtSource | SDO Source | ||
| SupAssgmtSourceName | SupAssgmtSourceName | SDO Source | ||
| SalesDistrict | I_SupDmndOvwTotalSupplyCube | SalesDistrict | Sales District | |
| PurchasingDocument | PurchasingDocument | Purchase Order | ||
| MaterialName | I_MaterialText | MaterialName | Material Description | |
| MaterialGroupName | I_MaterialGroupText | MaterialGroupName | prod Grp Desc. | |
| DistributionChannelName | I_DistributionChannelText | DistributionChannelName | ||
| DivisionName | I_DivisionText | DivisionName | Division Description | |
| SalesDistrictName | I_SalesDistrictText | SalesDistrictName | District Name | |
| PlantName | I_Plant | PlantName | Plant Name | |
| CompanyCodeName | I_CompanyCode | CompanyCodeName | Company Name | |
| PurchasingOrganizationName | I_PurchasingOrganization | PurchasingOrganizationName | Purch. Org. Name |
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_SupDmndOvwTotSupQuery.
-- 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 C_SupDmndOvwTotSupQuery AS
SELECT
Supply.Material AS Material,
Supply.Plant AS Plant,
StorageLocation,
Batch,
SupplyNumber,
SupplyItem,
SupplyScheduleLine,
AssignedSupplyType,
TotalQuantity,
OpenSupplyQuantity,
SupplyDeliveryDate,
RequestedDeliveryDate,
StockSegment,
Supply.MaterialGroup AS MaterialGroup,
BaseUnit,
AssignedSupplyTypeName,
FreeDefinedProductAttribute01,
FreeDefinedProductAttribute02,
FreeDefinedProductAttribute03,
RetailArticleColor,
RetailArticleMainSize,
RetailArticleSecondSize,
RoughGoodsReceiptQty,
ProductCharacteristic1,
ProductCharacteristic2,
ProductCharacteristic3,
Supply.CompanyCode AS CompanyCode,
NetPriceAmount,
NetPriceQuantity,
NetAmount,
Customer,
ItemIsRejectedBySupplier,
PurchasingDocumentCategory,
CrossPlantConfigurableProduct,
PurchasingOrderReason,
OrderType,
PaymentTerms,
Supply.PurchasingOrganization AS PurchasingOrganization,
PurchasingGroup,
DocumentCurrency,
SupplyingPlant,
Supplier,
DeliveryDocument,
ProductSeason,
ProductSeasonYear,
ProductCollection,
ProductTheme,
InventorySpecialStockType,
SalesOrder,
SalesOrderItem,
ItemQuantity,
MfgOrderItemGoodsReceiptQty,
MfgOrderItemActualDeviationQty,
MfgOrderItemPlannedScrapQty,
DeliveredQuantity,
CalendarMonth,
CalendarWeek,
CalendarYear,
CalendarMonthName,
AssignedQuantityInBaseUnit,
NormalAssignedQuantityInBsUnt,
FixedQuantityInBaseUnit,
SupAssgmtReservedQtyInBaseUnit,
OnHoldQuantityInBaseUnit,
ReadyForReleaseQtyInBaseUnit,
InboundAssignedQuantityInBsUnt,
PreviewFixedAssignedQtyInBsUnt,
PreviewReservedAssgdQtyInBsUnt,
PreviewOnHoldAssgdQtyInBsUnt,
PreviewRdyForReleaseQtyInBsUnt,
PreviewAssignedQuantityInBsUnt,
SupAssgmtCategory,
SupAssgmtCategoryName,
ShippingGroupRule,
ShippingGroupNumber,
Supply.SalesOrganization AS SalesOrganization,
Supply.DistributionChannel AS DistributionChannel,
Supply.PlantCustomer AS PlantCustomer,
Supply.PlantSupplier AS PlantSupplier,
Supply.Division AS Division,
ShippingPoint,
SupAssgmtSource,
SupAssgmtSourceName,
Supply.SalesDistrict AS SalesDistrict,
PurchasingDocument,
MaterialText.MaterialName AS MaterialName,
MatGrpText.MaterialGroupName AS MaterialGroupName,
DistChl.DistributionChannelName AS DistributionChannelName,
Div.DivisionName AS DivisionName,
SalesDist.SalesDistrictName AS SalesDistrictName,
Plant.PlantName AS PlantName,
CompanyCode.CompanyCodeName AS CompanyCodeName,
PurchOrg.PurchasingOrganizationName AS PurchasingOrganizationName
FROM I_SupDmndOvwTotalSupplyCube AS Supply
LEFT OUTER JOIN I_SalesOrganizationText AS SalesOrgText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialText AS MaterialText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialGroupText AS MatGrpText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DistributionChannelText AS DistChl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DivisionText AS Div ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SalesDistrictText AS SalesDist ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS Plant ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS CompanyCode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PurchasingOrganization AS PurchOrg ON /* join condition not captured in parsed metadata */
;
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