P_SupDmndAllDocNonBatStkBsc

DDL: P_SUPDMNDALLDOCNONBATSTKBSC Type: view COMPOSITE Package: VDM_ARUN_ANALYTICS_ALL

Basic View for Non Batch Stock

P_SupDmndAllDocNonBatStkBsc is a Composite CDS View that provides data about "Basic View for Non Batch Stock" in SAP S/4HANA. It reads from 1 data source (I_SupDmndAllDocPhysStk) and exposes 26 fields. Part of development package VDM_ARUN_ANALYTICS_ALL.

Data Sources (1)

SourceAliasJoin Type
I_SupDmndAllDocPhysStk I_SupDmndAllDocPhysStk from

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName PSUPDMNDADNBSTKB 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

Fields (26)

KeyFieldSource TableSource FieldDescription
Material Material Vehicle Model
Plant Plant Valuation Area
StorageLocation StorageLocation StorageLocation
InventorySpecialStockType InventorySpecialStockType Special Stock Type
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
Customer Customer Sold-to Party
Supplier Supplier Supplier
MaterialGroup MaterialGroup Product Group
MaterialType MaterialType Material Type
CrossPlantConfigurableProduct CrossPlantConfigurableProduct Cross-plant CP
IsInternalBatchManaged IsInternalBatchManaged Batches
UnrestrictedStkInStkUnit
QualityInspectionStockQuantity
TransferStockStorageLocQty
TransferStockPlantQuantity
StockInTransitQuantity
BlockedStockQuantity
RestrictedStockQuantity
TiedEmptiesStockQuantity
GoodsReceiptBlockedStockQty
TotalQuantity
BaseUnit BaseUnit Unit of Measure
NetPriceAmount NetPriceAmount Net Price
DocumentCurrency DocumentCurrency Document Currency
SupplyDeliveryDate SupplyDeliveryDate

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 P_SupDmndAllDocNonBatStkBsc.
-- 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 P_SupDmndAllDocNonBatStkBsc AS
SELECT
  Material,
  Plant,
  StorageLocation,
  InventorySpecialStockType,
  SalesOrder,
  SalesOrderItem,
  Customer,
  Supplier,
  MaterialGroup,
  MaterialType,
  CrossPlantConfigurableProduct,
  IsInternalBatchManaged,
  sum(UnrestrictedStkInStkUnit) AS UnrestrictedStkInStkUnit,
  sum(QualityInspectionStockQuantity) AS QualityInspectionStockQuantity,
  sum(TransferStockStorageLocQty) AS TransferStockStorageLocQty,
  sum(TransferStockPlantQuantity) AS TransferStockPlantQuantity,
  sum(StockInTransitQuantity) AS StockInTransitQuantity,
  sum(BlockedStockQuantity) AS BlockedStockQuantity,
  sum(RestrictedStockQuantity) AS RestrictedStockQuantity,
  sum(TiedEmptiesStockQuantity) AS TiedEmptiesStockQuantity,
  sum(GoodsReceiptBlockedStockQty) AS GoodsReceiptBlockedStockQty,
  sum(TotalQuantity) AS TotalQuantity,
  BaseUnit,
  NetPriceAmount,
  DocumentCurrency,
  SupplyDeliveryDate
FROM I_SupDmndAllDocPhysStk
;