I_ProcOrdOpsMgmtComponents

DDL: I_PROCORDOPSMGMTCOMPONENTS SQL: IPRCORDOPCOMPS Type: view COMPOSITE

Process Order Operation Components

I_ProcOrdOpsMgmtComponents is a Composite CDS View that provides data about "Process Order Operation Components" in SAP S/4HANA. It reads from 1 data source (P_ProcOrdMgmtOpComponents) and exposes 48 fields with key fields Reservation, ReservationItem, RecordType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_ProcOrdMgmtOpComponents comp from

Associations (1)

CardinalityTargetAliasCondition
[0..1] P_ProcOrdMgmtOpCompSpltBat_2 _spiltCompBatch comp.Reservation = _spiltCompBatch.Reservation and comp.ProcessOrder = _spiltCompBatch.ProcessOrder and comp.ReservationItem = _spiltCompBatch.LeadingReservationItem --to parent

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IPRCORDOPCOMPS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value Reservation view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value ReservationItem view
UI.headerInfo.typeName Component view
UI.headerInfo.typeNamePlural Components view
EndUserText.label Process Order Operation Components view

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY Reservation P_ProcOrdMgmtOpComponents Reservation Reservation
KEY ReservationItem P_ProcOrdMgmtOpComponents ReservationItem Reservation Item
KEY RecordType RecordType Reservation Record Type
OrderInternalBillOfOperations OrderInternalBillOfOperations Order Internal Bill of Operations
OrderIntBillOfOperationsItem OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
ProcessOrder P_ProcOrdMgmtOpComponents ProcessOrder Order
ManufacturingOrderCategory ManufacturingOrderCategory
ManufacturingOrderType ManufacturingOrderType
ManufacturingOrderOperation ManufacturingOrderOperation Activity
ManufacturingOrderSequence ManufacturingOrderSequence
Material Material Vehicle Model
MaterialName MaterialName Material Description
PlanningPlant PlanningPlant Valuation Area
MatlCompIsMarkedForBackflush MatlCompIsMarkedForBackflush Backflush
ProductionPlant ProductionPlant Prod plnt
PlantTimeZone PlantTimeZone Time Zone
BaseUnit BaseUnit Unit of Measure
EntryUnit EntryUnit Unit of Entry
RequiredQuantityendasRequiredQuantity
WithdrawnQuantityendasWithdrawnQuantity
CommittedQuantity
RequirementDateTime RequirementDateTime Time Stamp
MatlCompRequirementDate MatlCompRequirementDate Reqmts date
MatlCompRequirementTime MatlCompRequirementTime
StorageLocation StorageLocation StorageLocation
BatchendasBatch
NumberOfBatcheselse0endasNumberOfBatches
BatchSplitType BatchSplitType
MaterialComponentIsMissing MaterialComponentIsMissing
ReservationIsFinallyIssued ReservationIsFinallyIssued Res Final Issue
MatlCompIsMarkedForDeletion MatlCompIsMarkedForDeletion
LeadingReservationItem P_ProcOrdMgmtOpComponents LeadingReservationItem
IsBatchManagementRequired P_ProcOrdMgmtOpComponents IsBatchManagementRequired Batch Mgmt Rqt(Plnt)
MaterialIsCoProduct P_ProcOrdMgmtOpComponents MaterialIsCoProduct Co-product
BillOfMaterialItemCategory P_ProcOrdMgmtOpComponents BillOfMaterialItemCategory Item Category
BillOfMaterialItemCategoryDesc P_ProcOrdMgmtOpComponents BillOfMaterialItemCategoryDesc Item Category
StorageLocationName P_ProcOrdMgmtOpComponents StorageLocationName Storage Loc. Name
ProcOrdCompAvailabilityStsCode ProcOrdCompAvailabilityStsCode
StockSegment P_ProcOrdMgmtOpComponents StockSegment Stock Segment
RequirementSegment P_ProcOrdMgmtOpComponents RequirementSegment Req. Segment
_Material _Material
_MfgOrderCategory _MfgOrderCategory
_MfgOrderSequence _MfgOrderSequence
_MfgOrderType _MfgOrderType
_ProductionPlant _ProductionPlant
_Reservation _Reservation
_ReservationDocRecordType _ReservationDocRecordType
toparent_ProcOrdOps

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_ProcOrdOpsMgmtComponents.
-- 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: IPRCORDOPCOMPS

CREATE VIEW I_ProcOrdOpsMgmtComponents AS
SELECT
  comp.Reservation AS Reservation,
  comp.ReservationItem AS ReservationItem,
  RecordType,
  OrderInternalBillOfOperations,
  OrderIntBillOfOperationsItem,
  comp.ProcessOrder AS ProcessOrder,
  ManufacturingOrderCategory,
  ManufacturingOrderType,
  ManufacturingOrderOperation,
  ManufacturingOrderSequence,
  Material,
  MaterialName,
  PlanningPlant,
  MatlCompIsMarkedForBackflush,
  ProductionPlant,
  PlantTimeZone,
  BaseUnit,
  EntryUnit,
  case when aggrComp.RequiredQuantity > 0 then (aggrComp.RequiredQuantity + comp.RequiredQuantity) else comp.RequiredQuantity end as RequiredQuantity AS RequiredQuantityendasRequiredQuantity,
  case when aggrComp.WithdrawnQuantity > 0 then (aggrComp.WithdrawnQuantity + comp.WithdrawnQuantity) else comp.WithdrawnQuantity end as WithdrawnQuantity AS WithdrawnQuantityendasWithdrawnQuantity,
  comp.ConfirmedAvailableQuantity + comp.WithdrawnQuantity AS CommittedQuantity,
  RequirementDateTime,
  MatlCompRequirementDate,
  MatlCompRequirementTime,
  StorageLocation,
  case when aggrComp.NumberOfBatches = 1 and comp.Batch is initial then _spiltCompBatch.Batch else comp.Batch end as Batch AS BatchendasBatch,
  case when aggrComp.NumberOfBatches > 0 then aggrComp.NumberOfBatches else 0 end as NumberOfBatches AS NumberOfBatcheselse0endasNumberOfBatches,
  BatchSplitType,
  MaterialComponentIsMissing,
  ReservationIsFinallyIssued,
  MatlCompIsMarkedForDeletion,
  comp.LeadingReservationItem AS LeadingReservationItem,
  comp.IsBatchManagementRequired AS IsBatchManagementRequired,
  comp.MaterialIsCoProduct AS MaterialIsCoProduct,
  comp.BillOfMaterialItemCategory AS BillOfMaterialItemCategory,
  comp.BillOfMaterialItemCategoryDesc AS BillOfMaterialItemCategoryDesc,
  comp.StorageLocationName AS StorageLocationName,
  ProcOrdCompAvailabilityStsCode,
  comp.StockSegment AS StockSegment,
  comp.RequirementSegment AS RequirementSegment
FROM P_ProcOrdMgmtOpComponents AS comp
LEFT OUTER JOIN P_ProcOrdMgmtOpCompSpltBat_2 AS _spiltCompBatch ON comp.Reservation = _spiltCompBatch.Reservation AND comp.ProcessOrder = _spiltCompBatch.ProcessOrder AND comp.ReservationItem = _spiltCompBatch.LeadingReservationItem  -- association [0..1]
;