I_SupDmndAllDocPhysStk
View for Physical Stock
I_SupDmndAllDocPhysStk is a Composite CDS View that provides data about "View for Physical Stock" in SAP S/4HANA. It reads from 3 data sources (I_SupDmndMaterialPlant, I_SupDmndOvwBatchSelection, P_SupDmndAllDocMatlStkAggrgd) and exposes 28 fields.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_SupDmndMaterialPlant | Marc | inner |
| I_SupDmndOvwBatchSelection | mcha | left_outer |
| P_SupDmndAllDocMatlStkAggrgd | Stock | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | ISUPDMNDADSTK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| EndUserText.label | View for Physical Stock | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Material | P_SupDmndAllDocMatlStkAggrgd | Material | Vehicle Model | |
| Plant | P_SupDmndAllDocMatlStkAggrgd | Plant | Valuation Area | |
| Batch | P_SupDmndAllDocMatlStkAggrgd | Batch | Lot No. | |
| StorageLocation | P_SupDmndAllDocMatlStkAggrgd | StorageLocation | StorageLocation | |
| InventorySpecialStockType | P_SupDmndAllDocMatlStkAggrgd | InventorySpecialStockType | Special Stock Type | |
| SalesOrder | P_SupDmndAllDocMatlStkAggrgd | SalesOrder | SD Document | |
| SalesOrderItem | P_SupDmndAllDocMatlStkAggrgd | SalesOrderItem | Sales Order Item | |
| Customer | P_SupDmndAllDocMatlStkAggrgd | Customer | Sold-to Party | |
| Supplier | P_SupDmndAllDocMatlStkAggrgd | Supplier | Supplier | |
| MaterialGroup | I_SupDmndMaterialPlant | MaterialGroup | Product Group | |
| CrossPlantConfigurableProduct | I_SupDmndMaterialPlant | CrossPlantConfigurableProduct | Cross-plant CP | |
| MaterialType | I_SupDmndMaterialPlant | MaterialType | Material Type | |
| StockSegment | I_SupDmndOvwBatchSelection | StockSegment | Stock Segment | |
| IsInternalBatchManaged | I_SupDmndMaterialPlant | IsInternalBatchManaged | Batches | |
| 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 | ||
| TotalQuantity | TotalQuantity | Activity Quantity | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| 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 I_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 I_SupDmndAllDocPhysStk AS
SELECT
Stock.Material AS Material,
Stock.Plant AS Plant,
Stock.Batch AS Batch,
Stock.StorageLocation AS StorageLocation,
Stock.InventorySpecialStockType AS InventorySpecialStockType,
Stock.SalesOrder AS SalesOrder,
Stock.SalesOrderItem AS SalesOrderItem,
Stock.Customer AS Customer,
Stock.Supplier AS Supplier,
Marc.MaterialGroup AS MaterialGroup,
Marc.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
Marc.MaterialType AS MaterialType,
mcha.StockSegment AS StockSegment,
Marc.IsInternalBatchManaged AS IsInternalBatchManaged,
UnrestrictedStkInStkUnit,
QualityInspectionStockQuantity,
TransferStockStorageLocQty,
TransferStockPlantQuantity,
StockInTransitQuantity,
BlockedStockQuantity,
RestrictedStockQuantity,
TiedEmptiesStockQuantity,
GoodsReceiptBlockedStockQty,
TotalQuantity,
BaseUnit,
DocumentCurrency,
NetPriceAmount,
SupplyDeliveryDate
FROM P_SupDmndAllDocMatlStkAggrgd AS Stock
INNER JOIN I_SupDmndMaterialPlant AS Marc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SupDmndOvwBatchSelection AS mcha ON /* join condition not captured in parsed metadata */
;
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