C_SupDmndAllDocTotSupQry
Query View for Total Supply of All Document Types
C_SupDmndAllDocTotSupQry is a Consumption CDS View that provides data about "Query View for Total Supply of All Document Types" in SAP S/4HANA. It reads from 1 data source (I_SupDmndAllDocTotSupCube) and exposes 52 fields with key fields Material, Plant, Batch, StorageLocation, SupplyNumber. Part of development package VDM_ARUN_ANALYTICS_ALL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupDmndAllDocTotSupCube | I_SupDmndAllDocTotSupCube | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.sqlViewName | CSUPDMNDADSUPQ | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| EndUserText.label | Query View for Total Supply of All Document Types | view |
Fields (52)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | Batch | Batch | Batch | |
| KEY | StorageLocation | StorageLocation | StorageLocation | |
| KEY | SupplyNumber | SupplyNumber | ||
| KEY | SupplyItem | SupplyItem | ||
| KEY | SupplyScheduleLine | SupplyScheduleLine | ||
| KEY | ProductAvailabilityDate | ProductAvailabilityDate | Mat.Avail.Date | |
| KEY | AssignedSupplyType | AssignedSupplyType | ||
| RequestedDeliveryDate | RequestedDeliveryDate | Requested Delivery Date | ||
| SupAssgmtSource | SupAssgmtSource | |||
| TotalQuantity | TotalQuantity | Activity Quantity | ||
| OpenSupplyQuantity | OpenSupplyQuantity | |||
| AssignedQuantityInBaseUnit | AssignedQuantityInBaseUnit | |||
| NormalAssignedQuantityInBsUnt | NormalAssignedQuantityInBsUnt | |||
| PreviewAssignedQuantityInBsUnt | PreviewAssignedQuantityInBsUnt | |||
| ARunTmpAssignedQuantityInBsUnt | ARunTmpAssignedQuantityInBsUnt | |||
| BaseUnit | BaseUnit | Unit of Measure | ||
| CalendarYear | CalendarYear | Year | ||
| CalendarMonth | CalendarMonth | Calendar Month | ||
| CalendarMonthName | CalendarMonthName | |||
| CalendarWeek | CalendarWeek | Calendar Week | ||
| CalendarDay | CalendarDay | Occur Day in a Month | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| MaterialType | MaterialType | Material Type | ||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | Cross-plant CP | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Customer | Customer | Sold-to Party | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| StockSegment | StockSegment | Stock Segment | ||
| _BaseUnit | _BaseUnit | |||
| _CompanyCode | _CompanyCode | |||
| _Customer | _Customer | |||
| _DistrChnl | _DistrChnl | |||
| _Divn | _Divn | |||
| _Plant | _Plant | |||
| _ProductGroupText | _ProductGroupText | |||
| _ProductTypeText | _ProductTypeText | |||
| _SupSrceText | _SupSrceText | |||
| _ProductText | _ProductText | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _SalesDist | _SalesDist | |||
| _SalesOrgText | _SalesOrgText | |||
| _SupText | _SupText |
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_SupDmndAllDocTotSupQry.
-- 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_SupDmndAllDocTotSupQry AS
SELECT
Material,
Plant,
Batch,
StorageLocation,
SupplyNumber,
SupplyItem,
SupplyScheduleLine,
ProductAvailabilityDate,
AssignedSupplyType,
RequestedDeliveryDate,
SupAssgmtSource,
TotalQuantity,
OpenSupplyQuantity,
AssignedQuantityInBaseUnit,
NormalAssignedQuantityInBsUnt,
PreviewAssignedQuantityInBsUnt,
ARunTmpAssignedQuantityInBsUnt,
BaseUnit,
CalendarYear,
CalendarMonth,
CalendarMonthName,
CalendarWeek,
CalendarDay,
MaterialGroup,
MaterialType,
CrossPlantConfigurableProduct,
PurchasingOrganization,
PurchasingGroup,
SalesOrganization,
DistributionChannel,
Division,
SalesDistrict,
CompanyCode,
Customer,
NetPriceAmount,
DocumentCurrency,
StockSegment
FROM I_SupDmndAllDocTotSupCube
;
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