I_SupDmndAllDocNonBatStkBsc
Basic View for Non Batch Stock
I_SupDmndAllDocNonBatStkBsc is a Composite CDS View that provides data about "Basic View for Non Batch Stock" in SAP S/4HANA. It reads from 2 data sources (P_SupDmndAllDocOpenDeliveries, P_SupDmndAllDocNonBatStkBsc) and exposes 36 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_SupDmndAllDocOpenDeliveries | Deliv | left_outer |
| P_SupDmndAllDocNonBatStkBsc | 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 | ISUPDMNDADNBSTKB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| EndUserText.label | Basic View for Non Batch Stock | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SupplyNumber | ||||
| SupplyItem | ||||
| SupplyScheduleLine | ||||
| Material | P_SupDmndAllDocNonBatStkBsc | Material | Vehicle Model | |
| Plant | P_SupDmndAllDocNonBatStkBsc | Plant | Valuation Area | |
| Batch | ||||
| StorageLocation | P_SupDmndAllDocNonBatStkBsc | StorageLocation | StorageLocation | |
| SupAssgmtSource | ||||
| SupplyDeliveryDate | SupplyDeliveryDate | |||
| ProductAvailabilityDate | SupplyDeliveryDate | |||
| RequestedDeliveryDate | SupplyDeliveryDate | |||
| InventorySpecialStockType | P_SupDmndAllDocNonBatStkBsc | InventorySpecialStockType | Special Stock Type | |
| SalesOrder | P_SupDmndAllDocNonBatStkBsc | SalesOrder | SD Document | |
| SalesOrderItem | P_SupDmndAllDocNonBatStkBsc | SalesOrderItem | Sales Order Item | |
| MaterialGroup | P_SupDmndAllDocNonBatStkBsc | MaterialGroup | Product Group | |
| Customer | P_SupDmndAllDocNonBatStkBsc | Customer | Sold-to Party | |
| Supplier | P_SupDmndAllDocNonBatStkBsc | Supplier | Supplier | |
| MaterialType | P_SupDmndAllDocNonBatStkBsc | MaterialType | Material Type | |
| StockSegment | ||||
| CrossPlantConfigurableProduct | P_SupDmndAllDocNonBatStkBsc | CrossPlantConfigurableProduct | Cross-plant CP | |
| IsInternalBatchManaged | P_SupDmndAllDocNonBatStkBsc | IsInternalBatchManaged | Batches | |
| TotalQuantity | P_SupDmndAllDocNonBatStkBsc | 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 | ||
| DeliveredQuantity0asOpenSupplyQuantity | ||||
| BaseUnit | P_SupDmndAllDocNonBatStkBsc | BaseUnit | Unit of Measure | |
| NetPriceAmount | P_SupDmndAllDocNonBatStkBsc | NetPriceAmount | Net Price | |
| DocumentCurrency | P_SupDmndAllDocNonBatStkBsc | DocumentCurrency | Document Currency | |
| DeliveredQuantity | P_SupDmndAllDocOpenDeliveries | DeliveredQuantity | Qty. in OPUn |
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_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 I_SupDmndAllDocNonBatStkBsc AS
SELECT
cast('' as abap.char( 12 )) AS SupplyNumber,
cast('000000' as abap.char(6)) AS SupplyItem,
cast('0000' as abap.char(4)) AS SupplyScheduleLine,
Stock.Material AS Material,
Stock.Plant AS Plant,
cast('' as charg_d ) AS Batch,
Stock.StorageLocation AS StorageLocation,
'S' AS SupAssgmtSource,
SupplyDeliveryDate,
SupplyDeliveryDate AS ProductAvailabilityDate,
SupplyDeliveryDate AS RequestedDeliveryDate,
Stock.InventorySpecialStockType AS InventorySpecialStockType,
Stock.SalesOrder AS SalesOrder,
Stock.SalesOrderItem AS SalesOrderItem,
Stock.MaterialGroup AS MaterialGroup,
Stock.Customer AS Customer,
Stock.Supplier AS Supplier,
Stock.MaterialType AS MaterialType,
cast('' as sgt_scat) AS StockSegment,
Stock.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
Stock.IsInternalBatchManaged AS IsInternalBatchManaged,
Stock.TotalQuantity AS TotalQuantity,
UnrestrictedStkInStkUnit,
QualityInspectionStockQuantity,
TransferStockStorageLocQty,
TransferStockPlantQuantity,
StockInTransitQuantity,
BlockedStockQuantity,
RestrictedStockQuantity,
TiedEmptiesStockQuantity,
GoodsReceiptBlockedStockQty,
( Stock.TotalQuantity - coalesce( Deliv.DeliveredQuantity, 0 ) ) as OpenSupplyQuantity AS DeliveredQuantity0asOpenSupplyQuantity,
Stock.BaseUnit AS BaseUnit,
Stock.NetPriceAmount AS NetPriceAmount,
Stock.DocumentCurrency AS DocumentCurrency,
Deliv.DeliveredQuantity AS DeliveredQuantity
FROM P_SupDmndAllDocNonBatStkBsc AS Stock
LEFT OUTER JOIN P_SupDmndAllDocOpenDeliveries AS Deliv 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