C_SupDmndAllDocTotSupQry

DDL: C_SUPDMNDALLDOCTOTSUPQRY Type: view CONSUMPTION Package: VDM_ARUN_ANALYTICS_ALL

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)

SourceAliasJoin Type
I_SupDmndAllDocTotSupCube I_SupDmndAllDocTotSupCube from

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;