I_SupDmndAllDocProdnOrd
View for Production Order
I_SupDmndAllDocProdnOrd is a Composite CDS View that provides data about "View for Production Order" in SAP S/4HANA. It reads from 2 data sources (P_ARunAssgmtSup, I_SupDmndAllDocProdnOrdBsc) and exposes 25 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_ARunAssgmtSup | Assgmt | left_outer |
| I_SupDmndAllDocProdnOrdBsc | ProdOrd | 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 | ISUPDMNDADPROD | 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 Production Order | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SupplyNumber | I_SupDmndAllDocProdnOrdBsc | SupplyNumber | SettlementOrder | |
| SupplyItem | I_SupDmndAllDocProdnOrdBsc | SupplyItem | ||
| MRPArea | I_SupDmndAllDocProdnOrdBsc | MRPArea | MRP Area | |
| SupplyScheduleLine | I_SupDmndAllDocProdnOrdBsc | SupplyScheduleLine | ||
| AssignedSupplyType | I_SupDmndAllDocProdnOrdBsc | AssignedSupplyType | ||
| SupAssgmtSource | I_SupDmndAllDocProdnOrdBsc | SupAssgmtSource | ||
| SupplyDeliveryDate | I_SupDmndAllDocProdnOrdBsc | SupplyDeliveryDate | Basic fin. date | |
| ProductAvailabilityDate | I_SupDmndAllDocProdnOrdBsc | ProductAvailabilityDate | Mat.Avail.Date | |
| TotalQuantity | I_SupDmndAllDocProdnOrdBsc | TotalQuantity | Activity Quantity | |
| OpenSupplyQuantity | ||||
| AssignedQuantityInBaseUnit | P_ARunAssgmtSup | AssignedQuantityInBaseUnit | ||
| NormalAssignedQuantityInBsUnt | P_ARunAssgmtSup | NormalAssignedQuantityInBsUnt | ||
| PreviewAssignedQuantityInBsUnt | P_ARunAssgmtSup | PreviewAssignedQuantityInBsUnt | ||
| BaseUnit | I_SupDmndAllDocProdnOrdBsc | BaseUnit | Unit of Measure | |
| Material | I_SupDmndAllDocProdnOrdBsc | Material | Vehicle Model | |
| MaterialGroup | I_SupDmndAllDocProdnOrdBsc | MaterialGroup | Product Group | |
| Plant | I_SupDmndAllDocProdnOrdBsc | Plant | Valuation Area | |
| CrossPlantConfigurableProduct | I_SupDmndAllDocProdnOrdBsc | CrossPlantConfigurableProduct | Cross-plant CP | |
| OrderType | I_SupDmndAllDocProdnOrdBsc | OrderType | Order Type | |
| Batch | I_SupDmndAllDocProdnOrdBsc | Batch | Lot No. | |
| StorageLocation | I_SupDmndAllDocProdnOrdBsc | StorageLocation | StorageLocation | |
| SalesOrder | I_SupDmndAllDocProdnOrdBsc | SalesOrder | SD Document | |
| SalesOrderItem | I_SupDmndAllDocProdnOrdBsc | SalesOrderItem | Sales Order Item | |
| StockSegment | I_SupDmndAllDocProdnOrdBsc | StockSegment | Stock Segment | |
| GoodsReceiptDurationInDays | I_SupDmndAllDocProdnOrdBsc | GoodsReceiptDurationInDays | GR proc. time |
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_SupDmndAllDocProdnOrd.
-- 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_SupDmndAllDocProdnOrd AS
SELECT
ProdOrd.SupplyNumber AS SupplyNumber,
ProdOrd.SupplyItem AS SupplyItem,
ProdOrd.MRPArea AS MRPArea,
ProdOrd.SupplyScheduleLine AS SupplyScheduleLine,
ProdOrd.AssignedSupplyType AS AssignedSupplyType,
ProdOrd.SupAssgmtSource AS SupAssgmtSource,
ProdOrd.SupplyDeliveryDate AS SupplyDeliveryDate,
ProdOrd.ProductAvailabilityDate AS ProductAvailabilityDate,
ProdOrd.TotalQuantity AS TotalQuantity,
( ProdOrd.OpenSupplyQuantity - coalesce( Assgmt.AssignedQuantityInBaseUnit, 0 ) ) AS OpenSupplyQuantity,
Assgmt.AssignedQuantityInBaseUnit AS AssignedQuantityInBaseUnit,
Assgmt.NormalAssignedQuantityInBsUnt AS NormalAssignedQuantityInBsUnt,
Assgmt.PreviewAssignedQuantityInBsUnt AS PreviewAssignedQuantityInBsUnt,
ProdOrd.BaseUnit AS BaseUnit,
ProdOrd.Material AS Material,
ProdOrd.MaterialGroup AS MaterialGroup,
ProdOrd.Plant AS Plant,
ProdOrd.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
ProdOrd.OrderType AS OrderType,
ProdOrd.Batch AS Batch,
ProdOrd.StorageLocation AS StorageLocation,
ProdOrd.SalesOrder AS SalesOrder,
ProdOrd.SalesOrderItem AS SalesOrderItem,
ProdOrd.StockSegment AS StockSegment,
ProdOrd.GoodsReceiptDurationInDays AS GoodsReceiptDurationInDays
FROM I_SupDmndAllDocProdnOrdBsc AS ProdOrd
LEFT OUTER JOIN P_ARunAssgmtSup AS Assgmt 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