P_PlannedOrderQuickView
P_PlannedOrderQuickView is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_PlannedOrder) and exposes 53 fields with key field PlannedOrder. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PlannedOrder | _PlannedOrder | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_MRPElementCategory | delkz |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_DDMRPController | _MRPCtrlr | $projection.MRPPlant = _MRPCtrlr.Plant and $projection.MRPController = _MRPCtrlr.MRPController |
| [0..1] | I_RoundingPrfText | _RoundingProfile | $projection.RoundingProfile = _RoundingProfile.MaterialRoundingProfile and $projection.MRPPlant = _RoundingProfile.Plant |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_ProductionVersion | _ProdVersion | $projection.Material = _ProdVersion.Material and $projection.MRPPlant = _ProdVersion.Plant and $projection.ProductionVersion = _ProdVersion.ProductionVersion |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPPPLNDORDER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.preserveKey | true | view |
Fields (53)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PlannedOrder | PlannedOrder | Planned Order | |
| Material | Material | Vehicle Model | ||
| MRPPlant | MRPPlant | Plant | ||
| Supplier | FixedSupplier | Fixed Vendor | ||
| MaterialProcurementCategory | MaterialProcurementCategory | Procurement | ||
| ProductionSupervisor | ProductionSupervisor | Prodn Supervisor | ||
| ProductionSupervisorName | _ProductionSupervisor | ProductionSupervisorName | ||
| PurchasingGroup | _PurchasingDocument | PurchasingGroup | Purchasing Group | |
| PurchasingGroupName | ||||
| PurchasingGroupPhoneNumber | ||||
| PurchasingGroupEmailAddress | ||||
| MRPController | MRPController | MRP Controller | ||
| MRPControllerName | _MRPCtrlr | MRPControllerName | Controller name | |
| InternalContactPersonName | _MRPCtrlr | InternalContactName | ||
| InternalContactPhoneNumber | _MRPCtrlr | PhoneNumber | Telephone no. | |
| InternalContactEmailAddress | _MRPCtrlr | EmailAddress | E-Mail Address | |
| SupplierName | _Supplier | BPSupplierName | Supplier Name | |
| SupplierFullName | _Supplier | BPSupplierFullName | ||
| ContactPersonPhoneNumber | _Supplier | PhoneNumber1 | Telephone 1 | |
| ContactPersonEmailAddress | ||||
| MaterialProcurementType | MaterialProcurementType | Spec. procuremt | ||
| MaterialProcurementTypeName | ||||
| MaterialProcurementCatName | ||||
| PlannedOrderOpeningDate | PlannedOrderOpeningDate | |||
| PlndOrderPlannedStartDate | PlndOrderPlannedStartDate | |||
| PlndOrderPlannedEndDate | PlndOrderPlannedEndDate | |||
| MaterialGoodsReceiptDuration | MaterialGoodsReceiptDuration | GR proc. time | ||
| PlndOrderPlannedTotalQty | PlannedTotalQtyInBaseUnit | |||
| PlannedOrderType | PlannedOrderType | |||
| PlannedOrderTypeName | ||||
| PlndOrderPlannedScrapQty | PlannedScrapQtyInBaseUnit | |||
| GoodsReceiptQty | GoodsReceiptQtyInBaseUnit | |||
| BaseUnit | I_PlannedOrder | BaseUnit | Unit of Measure | |
| ProductionPlant | ProductionPlant | Prod plnt | ||
| ProductionPlantName | _ProductionPlant | PlantName | Plant Name | |
| ProductionVersion | ProductionVersion | Version ID | ||
| ProductionVersionText | _ProductionVersion | ProductionVersionText | ||
| ProductionLine | _ProdVersion | ProductionLine | Production Line | |
| OpenQuantity | ||||
| MaterialPlannedDeliveryDurn | MaterialPlannedDeliveryDurn | Pl. Deliv. Time | ||
| FixedLotSizeQuantity | _ProductSupplyPlanning | FixedLotSizeQuantity | Fixed lot size | |
| MinimumLotSizeQuantity | _ProductSupplyPlanning | MinimumLotSizeQuantity | Min. Lot Size | |
| MaximumLotSizeQuantity | _ProductSupplyPlanning | MaximumLotSizeQuantity | Max. Lot Size | |
| LotSizeRoundingQuantity | _ProductSupplyPlanning | LotSizeRoundingQuantity | Rounding value | |
| RoundingProfile | _ProductSupplyPlanning | RoundingProfile | Rnding Profile | |
| MaterialRoundingProfileName | ||||
| MaterialPlannedProductionDurn | _ProductSupplyPlanning | InHouseProductionTime | InhseProdTime | |
| TotalReplenishmentLeadDuration | _ProductSupplyPlanning | TotalReplenishmentLeadTime | Total RL time | |
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| Customer | Customer | Sold-to Party | ||
| _Customer | _Customer | |||
| WBSElement | _WBSElement | WBSElement | WBS Internal ID |
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_PlannedOrderQuickView.
-- 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.
-- SQL view name: PPPPLNDORDER
-- Parameters: P_MRPElementCategory : delkz
CREATE VIEW P_PlannedOrderQuickView AS
SELECT
PlannedOrder,
Material,
MRPPlant,
FixedSupplier AS Supplier,
MaterialProcurementCategory,
ProductionSupervisor,
_ProductionSupervisor.ProductionSupervisorName AS ProductionSupervisorName,
_PurchasingDocument.PurchasingGroup AS PurchasingGroup,
_PurchasingDocument._PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
concat_with_space(_PurchasingDocument._PurchasingGroup.PhoneNumberExtension, _PurchasingDocument._PurchasingGroup.PhoneNumber, 1) AS PurchasingGroupPhoneNumber,
_PurchasingDocument._PurchasingGroup.EmailAddress AS PurchasingGroupEmailAddress,
MRPController,
_MRPCtrlr.MRPControllerName AS MRPControllerName,
_MRPCtrlr.InternalContactName AS InternalContactPersonName,
_MRPCtrlr.PhoneNumber AS InternalContactPhoneNumber,
_MRPCtrlr.EmailAddress AS InternalContactEmailAddress,
_Supplier.BPSupplierName AS SupplierName,
_Supplier.BPSupplierFullName AS SupplierFullName,
_Supplier.PhoneNumber1 AS ContactPersonPhoneNumber,
_Supplier._CurrentDfltEmailAddress.EmailAddress AS ContactPersonEmailAddress,
MaterialProcurementType,
_MatlProcurementType._Text[1: Language = $session.system_language ].MaterialProcurementTypeName AS MaterialProcurementTypeName,
_MatlProcurementCategory._Text[1: Language = $session.system_language ].MaterialProcurementCatName AS MaterialProcurementCatName,
PlannedOrderOpeningDate,
PlndOrderPlannedStartDate,
PlndOrderPlannedEndDate,
MaterialGoodsReceiptDuration,
PlannedTotalQtyInBaseUnit AS PlndOrderPlannedTotalQty,
PlannedOrderType,
_PlannedOrderType._Text[1: Language = $session.system_language ].PlannedOrderTypeName AS PlannedOrderTypeName,
PlannedScrapQtyInBaseUnit AS PlndOrderPlannedScrapQty,
GoodsReceiptQtyInBaseUnit AS GoodsReceiptQty,
_PlannedOrder.BaseUnit AS BaseUnit,
ProductionPlant,
_ProductionPlant.PlantName AS ProductionPlantName,
ProductionVersion,
_ProductionVersion.ProductionVersionText AS ProductionVersionText,
_ProdVersion.ProductionLine AS ProductionLine,
(PlannedTotalQtyInBaseUnit - PlannedScrapQtyInBaseUnit - GoodsReceiptQtyInBaseUnit) AS OpenQuantity,
MaterialPlannedDeliveryDurn,
_ProductSupplyPlanning.FixedLotSizeQuantity AS FixedLotSizeQuantity,
_ProductSupplyPlanning.MinimumLotSizeQuantity AS MinimumLotSizeQuantity,
_ProductSupplyPlanning.MaximumLotSizeQuantity AS MaximumLotSizeQuantity,
_ProductSupplyPlanning.LotSizeRoundingQuantity AS LotSizeRoundingQuantity,
_ProductSupplyPlanning.RoundingProfile AS RoundingProfile,
_RoundingProfile[1: Language = $session.system_language ].MaterialRoundingProfileName AS MaterialRoundingProfileName,
_ProductSupplyPlanning.InHouseProductionTime AS MaterialPlannedProductionDurn,
_ProductSupplyPlanning.TotalReplenishmentLeadTime AS TotalReplenishmentLeadDuration,
SalesOrder,
SalesOrderItem,
Customer,
_WBSElement.WBSElement AS WBSElement
FROM I_PlannedOrder AS _PlannedOrder
LEFT OUTER JOIN P_DDMRPController AS _MRPCtrlr ON MRPPlant = _MRPCtrlr.Plant AND MRPController = _MRPCtrlr.MRPController -- association [0..1]
LEFT OUTER JOIN I_RoundingPrfText AS _RoundingProfile ON RoundingProfile = _RoundingProfile.MaterialRoundingProfile AND MRPPlant = _RoundingProfile.Plant -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_ProductionVersion AS _ProdVersion ON Material = _ProdVersion.Material AND MRPPlant = _ProdVersion.Plant AND ProductionVersion = _ProdVersion.ProductionVersion -- association [0..1]
;
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