P_SupDmndAllDocPhysStk

DDL: P_SUPDMNDALLDOCPHYSSTK Type: view COMPOSITE

P_SupDmndAllDocPhysStk is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_SupDmndAllDocBatStkC, I_SupDmndAllDocNonBatStkC) and exposes 88 fields with key fields Material, Plant, Batch, StorageLocation, SupplyNumber.

Data Sources (2)

SourceAliasJoin Type
I_SupDmndAllDocBatStkC I_SupDmndAllDocBatStkC from
I_SupDmndAllDocNonBatStkC I_SupDmndAllDocNonBatStkC union_all

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 PSUPDMNDADSTK 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 (88)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY Batch Batch Lot No.
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
TotalQuantity TotalQuantity Activity Quantity
UnrestrictedStkInStkUnit UnrestrictedStkInStkUnit
QualityInspectionStockQuantity QualityInspectionStockQuantity
TransferStockStorageLocQty TransferStockStorageLocQty
TransferStockPlantQuantity TransferStockPlantQuantity
StockInTransitQuantity StockInTransitQuantity Stk in Transit
BlockedStockQuantity BlockedStockQuantity
RestrictedStockQuantity RestrictedStockQuantity
TiedEmptiesStockQuantity TiedEmptiesStockQuantity
GoodsReceiptBlockedStockQty GoodsReceiptBlockedStockQty Val. GR Blocked Stck
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
SupAssgmtSource SupAssgmtSource
CrossPlantConfigurableProduct CrossPlantConfigurableProduct Cross-plant CP
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesDistrict SalesDistrict Sales District
Customer Customer Sold-to Party
CompanyCode CompanyCode Receiver Company Code
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
NetPriceAmount NetPriceAmount Net Price
KEY Plant Plant Valuation Area
KEY Batch Batch Lot No.
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
TotalQuantity TotalQuantity Activity Quantity
UnrestrictedStkInStkUnit UnrestrictedStkInStkUnit
QualityInspectionStockQuantity QualityInspectionStockQuantity
TransferStockStorageLocQty TransferStockStorageLocQty
TransferStockPlantQuantity TransferStockPlantQuantity
StockInTransitQuantity StockInTransitQuantity Stk in Transit
BlockedStockQuantity BlockedStockQuantity
RestrictedStockQuantity RestrictedStockQuantity
TiedEmptiesStockQuantity TiedEmptiesStockQuantity
GoodsReceiptBlockedStockQty GoodsReceiptBlockedStockQty Val. GR Blocked Stck
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
SupAssgmtSource SupAssgmtSource
CrossPlantConfigurableProduct CrossPlantConfigurableProduct Cross-plant CP
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesDistrict SalesDistrict Sales District
Customer Customer Sold-to Party
CompanyCode CompanyCode Receiver Company Code
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
NetPriceAmount NetPriceAmount Net Price
DocumentCurrency DocumentCurrency Document Currency

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_SupDmndAllDocPhysStk.
-- 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_SupDmndAllDocPhysStk AS
SELECT
  Material,
  Plant,
  Batch,
  StorageLocation,
  SupplyNumber,
  SupplyItem,
  SupplyScheduleLine,
  ProductAvailabilityDate,
  AssignedSupplyType,
  RequestedDeliveryDate,
  TotalQuantity,
  UnrestrictedStkInStkUnit,
  QualityInspectionStockQuantity,
  TransferStockStorageLocQty,
  TransferStockPlantQuantity,
  StockInTransitQuantity,
  BlockedStockQuantity,
  RestrictedStockQuantity,
  TiedEmptiesStockQuantity,
  GoodsReceiptBlockedStockQty,
  OpenSupplyQuantity,
  AssignedQuantityInBaseUnit,
  NormalAssignedQuantityInBsUnt,
  PreviewAssignedQuantityInBsUnt,
  ARunTmpAssignedQuantityInBsUnt,
  BaseUnit,
  CalendarYear,
  CalendarMonth,
  CalendarMonthName,
  CalendarWeek,
  CalendarDay,
  MaterialGroup,
  MaterialType,
  SupAssgmtSource,
  CrossPlantConfigurableProduct,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesDistrict,
  Customer,
  CompanyCode,
  PurchasingOrganization,
  PurchasingGroup,
  NetPriceAmount,
  DocumentCurrency
FROM I_SupDmndAllDocBatStkC
-- UNION ALL with additional select branch(es): I_SupDmndAllDocNonBatStkC
;