P_MfgOrderItemAmount

DDL: P_MFGORDERITEMAMOUNT SQL: PMFGORDITEMAMT Type: view COMPOSITE

P_MfgOrderItemAmount is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_MfgOrderItemCost, I_ManufacturingOrderItem) and exposes 74 fields with key fields ManufacturingOrder, ManufacturingOrderItem.

Data Sources (2)

SourceAliasJoin Type
P_MfgOrderItemCost cost inner
I_ManufacturingOrderItem item from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PMFGORDITEMAMT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (74)

KeyFieldSource TableSource FieldDescription
KEY ManufacturingOrder I_ManufacturingOrderItem ManufacturingOrder Order
KEY ManufacturingOrderItem I_ManufacturingOrderItem ManufacturingOrderItem Manufacturing Order Item
ManufacturingOrderCategory I_ManufacturingOrderItem ManufacturingOrderCategory
ManufacturingOrderType I_ManufacturingOrderItem ManufacturingOrderType
Material I_ManufacturingOrderItem Material Vehicle Model
ProductionPlant I_ManufacturingOrderItem ProductionPlant Prod plnt
MRPPlant I_ManufacturingOrderItem PlanningPlant
MRPController I_ManufacturingOrderItem MRPController MRP Controller
ProductionSupervisor I_ManufacturingOrderItem ProductionSupervisor Prodn Supervisor
ProductionVersion I_ManufacturingOrderItem ProductionVersion Version ID
MRPArea I_ManufacturingOrderItem MRPArea MRP Area
SalesOrder I_ManufacturingOrderItem SalesOrder SD Document
SalesOrderItem I_ManufacturingOrderItem SalesOrderItem Sales Order Item
WBSElementInternalID I_ManufacturingOrderItem WBSElementInternalID WBS Internal ID
WBSElementInternalID_2 I_ManufacturingOrderItem WBSElementInternalID_2
MfgOrderIsToBeDeleted I_ManufacturingOrderItem IsMarkedForDeletion Purch.org. data
MfgOrderItemIsFinallyDelivered I_ManufacturingOrderItem IsCompletelyDelivered Is completely delivered
MaterialGoodsReceiptDuration I_ManufacturingOrderItem MaterialGoodsReceiptDuration GR proc. time
StorageLocation I_ManufacturingOrderItem StorageLocation StorageLocation
Batch I_ManufacturingOrderItem Batch Lot No.
InventoryValuationType I_ManufacturingOrderItem InventoryValuationType Valuation Type
GoodsRecipientName I_ManufacturingOrderItem GoodsRecipientName Recipient Name
UnloadingPointName I_ManufacturingOrderItem UnloadingPointName Unloading Point Name
MfgOrderPlannedStartDate I_ManufacturingOrderItem MfgOrderPlannedStartDate
MfgOrderPlannedStartTime I_ManufacturingOrderItem MfgOrderPlannedStartTime
MfgOrderScheduledStartDate I_ManufacturingOrderItem MfgOrderScheduledStartDate
MfgOrderScheduledStartTime I_ManufacturingOrderItem MfgOrderScheduledStartTime
MfgOrderActualStartDate I_ManufacturingOrderItem MfgOrderActualStartDate
MfgOrderActualStartTime I_ManufacturingOrderItem MfgOrderActualStartTime
MfgOrderPlannedEndDate I_ManufacturingOrderItem MfgOrderPlannedEndDate
MfgOrderPlannedEndTime I_ManufacturingOrderItem MfgOrderPlannedEndTime
MfgOrderScheduledEndDate I_ManufacturingOrderItem MfgOrderScheduledEndDate
MfgOrderScheduledEndTime I_ManufacturingOrderItem MfgOrderScheduledEndTime
MfgOrderConfirmedEndDate I_ManufacturingOrderItem MfgOrderConfirmedEndDate
MfgOrderConfirmedEndTime I_ManufacturingOrderItem MfgOrderConfirmedEndTime
MfgOrderActualEndDate I_ManufacturingOrderItem MfgOrderActualEndDate
MfgOrderScheduledReleaseDate I_ManufacturingOrderItem MfgOrderScheduledReleaseDate
MfgOrderActualReleaseDate I_ManufacturingOrderItem MfgOrderActualReleaseDate
MfgOrderItemPlannedEndDate I_ManufacturingOrderItem MfgOrderItemPlannedEndDate
MfgOrderItemScheduledEndDate I_ManufacturingOrderItem MfgOrderItemScheduledEndDate
MfgOrderItemActualDeliveryDate I_ManufacturingOrderItem MfgOrderItemActualDeliveryDate Delivery Date
BaseUnit I_ManufacturingOrderItem BaseUnit Unit of Measure
ProductionUnit I_ManufacturingOrderItem ProductionUnit
MfgOrderItemPlannedTotalQty I_ManufacturingOrderItem MfgOrderItemPlannedTotalQty
MfgOrderItemPlannedScrapQty I_ManufacturingOrderItem MfgOrderItemPlannedScrapQty
MfgOrderItemPlannedYieldQty I_ManufacturingOrderItem MfgOrderItemPlannedYieldQty
MfgOrderItemGoodsReceiptQty I_ManufacturingOrderItem MfgOrderItemGoodsReceiptQty
MfgOrderItemActualDeviationQty I_ManufacturingOrderItem MfgOrderItemActualDeviationQty
MfgOrderConfirmedYieldQty I_ManufacturingOrderItem MfgOrderConfirmedYieldQty
MfgOrderConfirmedScrapQty I_ManufacturingOrderItem MfgOrderConfirmedScrapQty
MfgOrderConfirmedReworkQty I_ManufacturingOrderItem MfgOrderConfirmedReworkQty
MfgOrderConfirmedTotalQty I_ManufacturingOrderItem MfgOrderConfirmedTotalQty
BusinessArea I_ManufacturingOrderItem BusinessArea Business Area
CostEstimate P_MfgOrderItemCost CostEstimate Cost EstimateNo
_MfgOrder I_ManufacturingOrderItem _MfgOrder
_MfgOrderCategory I_ManufacturingOrderItem _MfgOrderCategory
_MfgOrderType I_ManufacturingOrderItem _MfgOrderType
_ProductionPlant I_ManufacturingOrderItem _ProductionPlant
_ProductionSupervisor I_ManufacturingOrderItem _ProductionSupervisor
_ProductionVersion I_ManufacturingOrderItem _ProductionVersion
_MRPController I_ManufacturingOrderItem _MRPController
_MRPPlant I_ManufacturingOrderItem _MRPPlant
_MRPArea I_ManufacturingOrderItem _MRPArea
_Material I_ManufacturingOrderItem _Material
_BaseUnit I_ManufacturingOrderItem _BaseUnit
_ProductionUnit I_ManufacturingOrderItem _ProductionUnit
_DeliveryCompletedIndicator I_ManufacturingOrderItem _DeliveryCompletedIndicator
_StorageLocation I_ManufacturingOrderItem _StorageLocation
_InventoryValuationType I_ManufacturingOrderItem _InventoryValuationType
_SalesOrder I_ManufacturingOrderItem _SalesOrder
_SalesOrderItem I_ManufacturingOrderItem _SalesOrderItem
_WBSElement I_ManufacturingOrderItem _WBSElement
_WBSElementBasicData2 I_ManufacturingOrderItem _WBSElementBasicData2
_BusinessArea I_ManufacturingOrderItem _BusinessArea

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_MfgOrderItemAmount.
-- 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: PMFGORDITEMAMT

CREATE VIEW P_MfgOrderItemAmount AS
SELECT
  item.ManufacturingOrder AS ManufacturingOrder,
  item.ManufacturingOrderItem AS ManufacturingOrderItem,
  item.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  item.ManufacturingOrderType AS ManufacturingOrderType,
  item.Material AS Material,
  item.ProductionPlant AS ProductionPlant,
  item.PlanningPlant AS MRPPlant,
  item.MRPController AS MRPController,
  item.ProductionSupervisor AS ProductionSupervisor,
  item.ProductionVersion AS ProductionVersion,
  item.MRPArea AS MRPArea,
  item.SalesOrder AS SalesOrder,
  item.SalesOrderItem AS SalesOrderItem,
  item.WBSElementInternalID AS WBSElementInternalID,
  item.WBSElementInternalID_2 AS WBSElementInternalID_2,
  item.IsMarkedForDeletion AS MfgOrderIsToBeDeleted,
  item.IsCompletelyDelivered AS MfgOrderItemIsFinallyDelivered,
  item.MaterialGoodsReceiptDuration AS MaterialGoodsReceiptDuration,
  item.StorageLocation AS StorageLocation,
  item.Batch AS Batch,
  item.InventoryValuationType AS InventoryValuationType,
  item.GoodsRecipientName AS GoodsRecipientName,
  item.UnloadingPointName AS UnloadingPointName,
  item.MfgOrderPlannedStartDate AS MfgOrderPlannedStartDate,
  item.MfgOrderPlannedStartTime AS MfgOrderPlannedStartTime,
  item.MfgOrderScheduledStartDate AS MfgOrderScheduledStartDate,
  item.MfgOrderScheduledStartTime AS MfgOrderScheduledStartTime,
  item.MfgOrderActualStartDate AS MfgOrderActualStartDate,
  item.MfgOrderActualStartTime AS MfgOrderActualStartTime,
  item.MfgOrderPlannedEndDate AS MfgOrderPlannedEndDate,
  item.MfgOrderPlannedEndTime AS MfgOrderPlannedEndTime,
  item.MfgOrderScheduledEndDate AS MfgOrderScheduledEndDate,
  item.MfgOrderScheduledEndTime AS MfgOrderScheduledEndTime,
  item.MfgOrderConfirmedEndDate AS MfgOrderConfirmedEndDate,
  item.MfgOrderConfirmedEndTime AS MfgOrderConfirmedEndTime,
  item.MfgOrderActualEndDate AS MfgOrderActualEndDate,
  item.MfgOrderScheduledReleaseDate AS MfgOrderScheduledReleaseDate,
  item.MfgOrderActualReleaseDate AS MfgOrderActualReleaseDate,
  item.MfgOrderItemPlannedEndDate AS MfgOrderItemPlannedEndDate,
  item.MfgOrderItemScheduledEndDate AS MfgOrderItemScheduledEndDate,
  item.MfgOrderItemActualDeliveryDate AS MfgOrderItemActualDeliveryDate,
  item.BaseUnit AS BaseUnit,
  item.ProductionUnit AS ProductionUnit,
  item.MfgOrderItemPlannedTotalQty AS MfgOrderItemPlannedTotalQty,
  item.MfgOrderItemPlannedScrapQty AS MfgOrderItemPlannedScrapQty,
  item.MfgOrderItemPlannedYieldQty AS MfgOrderItemPlannedYieldQty,
  item.MfgOrderItemGoodsReceiptQty AS MfgOrderItemGoodsReceiptQty,
  item.MfgOrderItemActualDeviationQty AS MfgOrderItemActualDeviationQty,
  item.MfgOrderConfirmedYieldQty AS MfgOrderConfirmedYieldQty,
  item.MfgOrderConfirmedScrapQty AS MfgOrderConfirmedScrapQty,
  item.MfgOrderConfirmedReworkQty AS MfgOrderConfirmedReworkQty,
  item.MfgOrderConfirmedTotalQty AS MfgOrderConfirmedTotalQty,
  item.BusinessArea AS BusinessArea,
  cost.CostEstimate AS CostEstimate,
  item._MfgOrder AS _MfgOrder,
  item._MfgOrderCategory AS _MfgOrderCategory,
  item._MfgOrderType AS _MfgOrderType,
  item._ProductionPlant AS _ProductionPlant,
  item._ProductionSupervisor AS _ProductionSupervisor,
  item._ProductionVersion AS _ProductionVersion,
  item._MRPController AS _MRPController,
  item._MRPPlant AS _MRPPlant,
  item._MRPArea AS _MRPArea,
  item._Material AS _Material,
  item._BaseUnit AS _BaseUnit,
  item._ProductionUnit AS _ProductionUnit,
  item._DeliveryCompletedIndicator AS _DeliveryCompletedIndicator,
  item._StorageLocation AS _StorageLocation,
  item._InventoryValuationType AS _InventoryValuationType,
  item._SalesOrder AS _SalesOrder,
  item._SalesOrderItem AS _SalesOrderItem,
  item._WBSElement AS _WBSElement,
  item._WBSElementBasicData2 AS _WBSElementBasicData2,
  item._BusinessArea AS _BusinessArea
FROM I_ManufacturingOrderItem AS item
INNER JOIN P_MfgOrderItemCost AS cost ON /* join condition not captured in parsed metadata */
;