C_SupDmndTotPOQuery
Query View for Total Supply
C_SupDmndTotPOQuery is a Consumption CDS View that provides data about "Query View for Total Supply" in SAP S/4HANA. It reads from 1 data source (I_SupDmndOvwTotalSupplyCube) and exposes 75 fields with key fields Material, Plant, StorageLocation, Batch, SupplyNumber. Part of development package VDM_ARUN_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupDmndOvwTotalSupplyCube | I_SupDmndOvwTotalSupplyCube | from |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSDOSUPPOQRY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.query | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Query View for Total Supply | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| OData.publish | true | view |
Fields (75)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | StorageLocation | StorageLocation | StorageLocation | |
| KEY | Batch | Batch | Lot No. | |
| KEY | SupplyNumber | SupplyNumber | ||
| KEY | SupplyItem | SupplyItem | ||
| KEY | SupplyScheduleLine | SupplyScheduleLine | ||
| KEY | AssignedSupplyType | AssignedSupplyType | ||
| TotalQuantity | TotalQuantity | Total Supply Quantity | ||
| OpenSupplyQuantity | OpenSupplyQuantity | Open Supply Quantity | ||
| SupplyDeliveryDate | SupplyDeliveryDate | |||
| StockSegment | StockSegment | Stock Segment | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| AssignedSupplyTypeName | AssignedSupplyTypeName | Supply Source | ||
| 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 | CompanyCode | Receiver 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 | Order Type | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| PurchasingOrganization | 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 | Qty. in OPUn | ||
| CalendarMonth | CalendarMonth | Calendar Month | ||
| CalendarWeek | CalendarWeek | Calendar Week | ||
| CalendarYear | CalendarYear | Year | ||
| CalendarMonthName | CalendarMonthName | |||
| 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 | |||
| SupAssgmtCategoryName | SupAssgmtCategoryName | |||
| ShippingGroupRule | ShippingGroupRule | PSST Grouping Rule | ||
| ShippingGroupNumber | ShippingGroupNumber | PSST Group | ||
| PurchasingDocument | SupplyNumber |
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_SupDmndTotPOQuery.
-- 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_SupDmndTotPOQuery AS
SELECT
Material,
Plant,
StorageLocation,
Batch,
SupplyNumber,
SupplyItem,
SupplyScheduleLine,
AssignedSupplyType,
TotalQuantity,
OpenSupplyQuantity,
SupplyDeliveryDate,
StockSegment,
MaterialGroup,
BaseUnit,
AssignedSupplyTypeName,
FreeDefinedProductAttribute01,
FreeDefinedProductAttribute02,
FreeDefinedProductAttribute03,
RetailArticleColor,
RetailArticleMainSize,
RetailArticleSecondSize,
RoughGoodsReceiptQty,
ProductCharacteristic1,
ProductCharacteristic2,
ProductCharacteristic3,
CompanyCode,
NetPriceAmount,
NetPriceQuantity,
NetAmount,
Customer,
ItemIsRejectedBySupplier,
PurchasingDocumentCategory,
CrossPlantConfigurableProduct,
PurchasingOrderReason,
OrderType,
PaymentTerms,
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,
SupplyNumber AS PurchasingDocument
FROM 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