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 | |
| KEY | Plant | I_SupDmndOvwTotalSupplyCube | Plant | |
| KEY | StorageLocation | StorageLocation | ||
| KEY | Batch | Batch | ||
| 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 | |||
| MaterialGroup | I_SupDmndOvwTotalSupplyCube | MaterialGroup | ||
| BaseUnit | BaseUnit | |||
| AssignedSupplyTypeName | AssignedSupplyTypeName | Supply Type | ||
| FreeDefinedProductAttribute01 | FreeDefinedProductAttribute01 | |||
| FreeDefinedProductAttribute02 | FreeDefinedProductAttribute02 | |||
| FreeDefinedProductAttribute03 | FreeDefinedProductAttribute03 | |||
| RetailArticleColor | RetailArticleColor | |||
| RetailArticleMainSize | RetailArticleMainSize | |||
| RetailArticleSecondSize | RetailArticleSecondSize | |||
| RoughGoodsReceiptQty | RoughGoodsReceiptQty | Goods Received Quantity | ||
| ProductCharacteristic1 | ProductCharacteristic1 | |||
| ProductCharacteristic2 | ProductCharacteristic2 | |||
| ProductCharacteristic3 | ProductCharacteristic3 | |||
| CompanyCode | I_SupDmndOvwTotalSupplyCube | CompanyCode | Company Code | |
| NetPriceAmount | NetPriceAmount | |||
| NetPriceQuantity | NetPriceQuantity | |||
| NetAmount | NetAmount | |||
| Customer | Customer | |||
| ItemIsRejectedBySupplier | ItemIsRejectedBySupplier | |||
| PurchasingDocumentCategory | PurchasingDocumentCategory | |||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | |||
| PurchasingOrderReason | PurchasingOrderReason | |||
| OrderType | OrderType | Document Type | ||
| PaymentTerms | PaymentTerms | |||
| PurchasingOrganization | I_SupDmndOvwTotalSupplyCube | PurchasingOrganization | ||
| PurchasingGroup | PurchasingGroup | |||
| DocumentCurrency | DocumentCurrency | |||
| SupplyingPlant | SupplyingPlant | |||
| Supplier | Supplier | |||
| DeliveryDocument | DeliveryDocument | |||
| ProductSeason | ProductSeason | |||
| ProductSeasonYear | ProductSeasonYear | |||
| ProductCollection | ProductCollection | |||
| ProductTheme | ProductTheme | |||
| InventorySpecialStockType | InventorySpecialStockType | |||
| SalesOrder | SalesOrder | |||
| SalesOrderItem | SalesOrderItem | |||
| 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 | |||
| ShippingGroupNumber | ShippingGroupNumber | |||
| SalesOrganization | I_SupDmndOvwTotalSupplyCube | SalesOrganization | ||
| DistributionChannel | I_SupDmndOvwTotalSupplyCube | DistributionChannel | ||
| PlantCustomer | I_SupDmndOvwTotalSupplyCube | PlantCustomer | ||
| PlantSupplier | I_SupDmndOvwTotalSupplyCube | PlantSupplier | ||
| Division | I_SupDmndOvwTotalSupplyCube | Division | ||
| ShippingPoint | ShippingPoint | |||
| SupAssgmtSource | SupAssgmtSource | SDO Source | ||
| SupAssgmtSourceName | SupAssgmtSourceName | SDO Source | ||
| SalesDistrict | I_SupDmndOvwTotalSupplyCube | SalesDistrict | ||
| PurchasingDocument | PurchasingDocument | Purchase Order | ||
| MaterialName | I_MaterialText | MaterialName | ||
| MaterialGroupName | I_MaterialGroupText | MaterialGroupName | ||
| DistributionChannelName | I_DistributionChannelText | DistributionChannelName | ||
| DivisionName | I_DivisionText | DivisionName | ||
| SalesDistrictName | I_SalesDistrictText | SalesDistrictName | ||
| PlantName | I_Plant | PlantName | ||
| CompanyCodeName | I_CompanyCode | CompanyCodeName | ||
| PurchasingOrganizationName | I_PurchasingOrganization | PurchasingOrganizationName |
@AbapCatalog: {
sqlViewName: 'CSDOSUPPLYQUERY',
compiler.compareFilter: true
}
@ObjectModel:{
usageType.serviceQuality: #D,
usageType.sizeCategory: #XXL
}
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.type: #INHERITED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
//@Analytics.query: true
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Query View for Total Supply'
@AccessControl.authorizationCheck: #CHECK
//@Metadata.ignorePropagatedAnnotations:true
//@OData.publish: true
define view C_SupDmndOvwTotSupQuery
as select from I_SupDmndOvwTotalSupplyCube as Supply
left outer join I_SalesOrganizationText as SalesOrgText on Supply.SalesOrganization = SalesOrgText.SalesOrganization
and SalesOrgText.Language = $session.system_language
left outer join I_MaterialText as MaterialText on Supply.Material = MaterialText.Material
and MaterialText.Language = $session.system_language
left outer join I_MaterialGroupText as MatGrpText on Supply.MaterialGroup = MatGrpText.MaterialGroup
and MatGrpText.Language = $session.system_language
and MaterialText.Language = $session.system_language
left outer join I_DistributionChannelText as DistChl on Supply.DistributionChannel = DistChl.DistributionChannel
and DistChl.Language = $session.system_language
left outer join I_DivisionText as Div on Supply.Division = Div.Division
and Div.Language = $session.system_language
left outer join I_SalesDistrictText as SalesDist on Supply.SalesDistrict = SalesDist.SalesDistrict
and SalesDist.Language = $session.system_language
left outer join I_Plant as Plant on Supply.Plant = Plant.Plant
left outer join I_CompanyCode as CompanyCode on Supply.CompanyCode = CompanyCode.CompanyCode
left outer join I_PurchasingOrganization as PurchOrg on Supply.PurchasingOrganization = PurchOrg.PurchasingOrganization
{
key Supply.Material,
key Supply.Plant,
key StorageLocation,
key Batch,
@EndUserText.label: 'Supply Document No.'
key SupplyNumber,
@EndUserText.label: 'Supply Document Item'
key SupplyItem,
@EndUserText.label: 'Supply Schedule Line'
key SupplyScheduleLine,
@EndUserText.label: 'Supply Type'
key AssignedSupplyType,
@EndUserText.label: 'Total Quantity'
@DefaultAggregation: #SUM
TotalQuantity,
@EndUserText.label: 'Open Supply Quantity'
@DefaultAggregation: #SUM
OpenSupplyQuantity,
@EndUserText.label: 'Supply Delivery Date'
SupplyDeliveryDate,
@EndUserText.label: 'Requested Delivery Date'
RequestedDeliveryDate,
@Feature:'SW:RFM_SEGMTN_UI'
StockSegment,
Supply.MaterialGroup,
BaseUnit,
@EndUserText.label: 'Supply Type'
AssignedSupplyTypeName,
FreeDefinedProductAttribute01,
FreeDefinedProductAttribute02,
FreeDefinedProductAttribute03,
RetailArticleColor,
RetailArticleMainSize,
RetailArticleSecondSize,
@EndUserText.label: 'Goods Received Quantity'
@DefaultAggregation: #SUM
RoughGoodsReceiptQty,
// @DefaultAggregation: #SUM
// MRPReducedQuantity,
@Feature:'SW:RFM_CHARC_VALS_UI'
ProductCharacteristic1,
@Feature:'SW:RFM_CHARC_VALS_UI'
ProductCharacteristic2,
@Feature:'SW:RFM_CHARC_VALS_UI'
ProductCharacteristic3,
@EndUserText.label: 'Company Code'
Supply.CompanyCode,
@DefaultAggregation: #SUM
NetPriceAmount,
@DefaultAggregation: #SUM
NetPriceQuantity,
@DefaultAggregation: #SUM
NetAmount,
Customer,
ItemIsRejectedBySupplier,
PurchasingDocumentCategory,
CrossPlantConfigurableProduct,
PurchasingOrderReason,
// SupplyAssignmentRelevant,
@EndUserText.label: 'Document Type'
OrderType,
PaymentTerms,
Supply.PurchasingOrganization,
PurchasingGroup,
DocumentCurrency,
SupplyingPlant,
Supplier,
DeliveryDocument,
@Feature:'SW:RFM_SEASON_UI'
ProductSeason,
@Feature:'SW:RFM_SEASON_UI'
ProductSeasonYear,
@Feature:'SW:RFM_SEASON_UI'
ProductCollection,
@Feature:'SW:RFM_SEASON_UI'
ProductTheme,
InventorySpecialStockType,
SalesOrder,
SalesOrderItem,
@DefaultAggregation: #SUM
ItemQuantity,
@DefaultAggregation: #SUM
MfgOrderItemGoodsReceiptQty,
@DefaultAggregation: #SUM
MfgOrderItemActualDeviationQty,
@DefaultAggregation: #SUM
MfgOrderItemPlannedScrapQty,
@EndUserText.label: 'Open Delivery Quantity'
@DefaultAggregation: #SUM
DeliveredQuantity,
@EndUserText.label: 'Month'
CalendarMonth,
@EndUserText.label: 'Week'
CalendarWeek,
@EndUserText.label: 'Year'
CalendarYear,
@EndUserText.label: 'Month'
CalendarMonthName,
@EndUserText.label: 'Total Assigned Quantity'
@DefaultAggregation: #SUM
AssignedQuantityInBaseUnit,
@EndUserText.label: 'Normal Assigned Quantity'
@DefaultAggregation: #SUM
NormalAssignedQuantityInBsUnt,
@EndUserText.label: 'Ready for Delivery Quantity'
@DefaultAggregation: #SUM
FixedQuantityInBaseUnit,
@EndUserText.label: 'Reserved Quantity'
@DefaultAggregation: #SUM
SupAssgmtReservedQtyInBaseUnit,
@EndUserText.label: 'On Hold Quantity'
@DefaultAggregation: #SUM
OnHoldQuantityInBaseUnit,
@EndUserText.label: 'Open for Release Check Quantity'
@DefaultAggregation: #SUM
ReadyForReleaseQtyInBaseUnit,
@EndUserText.label: 'IFO Assigned Quantity'
@DefaultAggregation: #SUM
InboundAssignedQuantityInBsUnt,
@EndUserText.label: 'Ready for Delivery (Preview)'
@DefaultAggregation: #SUM
PreviewFixedAssignedQtyInBsUnt,
@EndUserText.label: 'Reserved (Preview)'
@DefaultAggregation: #SUM
PreviewReservedAssgdQtyInBsUnt,
@EndUserText.label: 'On Hold (Preview)'
@DefaultAggregation: #SUM
PreviewOnHoldAssgdQtyInBsUnt,
@EndUserText.label: 'Open for Release Check (Preview)'
@DefaultAggregation: #SUM
PreviewRdyForReleaseQtyInBsUnt,
@EndUserText.label: 'Preview Assigned Quantity'
@DefaultAggregation: #SUM
PreviewAssignedQuantityInBsUnt,
@EndUserText.label: 'SDO Category'
SupAssgmtCategory,
@EndUserText.label: 'SDO Category'
SupAssgmtCategoryName,
ShippingGroupRule,
ShippingGroupNumber,
Supply.SalesOrganization,
Supply.DistributionChannel,
Supply.PlantCustomer,
Supply.PlantSupplier,
Supply.Division,
ShippingPoint,
@EndUserText.label: 'SDO Source'
SupAssgmtSource,
@EndUserText.label: 'SDO Source'
SupAssgmtSourceName,
Supply.SalesDistrict,
@EndUserText.label: 'Purchase Order'
PurchasingDocument,
MaterialText.MaterialName,
MatGrpText.MaterialGroupName,
DistChl.DistributionChannelName,
Div.DivisionName,
SalesDist.SalesDistrictName,
Plant.PlantName,
CompanyCode.CompanyCodeName,
PurchOrg.PurchasingOrganizationName
// SupAssgmtStockType
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_DISTRIBUTIONCHANNELTEXT",
"I_DIVISIONTEXT",
"I_MATERIALGROUPTEXT",
"I_MATERIALTEXT",
"I_PLANT",
"I_PURCHASINGORGANIZATION",
"I_SALESDISTRICTTEXT",
"I_SALESORGANIZATIONTEXT",
"I_SUPDMNDOVWTOTALSUPPLYCUBE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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