I_ProcOrdMgmtOpCompAggrgn
Process ord op components aggregation
I_ProcOrdMgmtOpCompAggrgn is a Composite CDS View that provides data about "Process ord op components aggregation" in SAP S/4HANA. It reads from 1 data source (P_ProcOrdMgmtOpComponents) and exposes 46 fields with key fields Reservation, ReservationItem, RecordType. It has 1 association to related views. Part of development package VDM_PP_PROC_ORD_MNG.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProcOrdMgmtOpComponents | comp | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_ProcOrdMgmtOpCompSpltBat_2 | _spiltCompBatch | comp.Reservation = _spiltCompBatch.Reservation and comp.ProcessOrder = _spiltCompBatch.ProcessOrder and comp.ReservationItem = _spiltCompBatch.LeadingReservationItem --to parent |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPOROPCOMPAGGRGN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Process ord op components aggregation | 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 |
Fields (46)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Reservation | P_ProcOrdMgmtOpComponents | Reservation | Reservation |
| KEY | ReservationItem | P_ProcOrdMgmtOpComponents | ReservationItem | Reservation Item |
| KEY | RecordType | P_ProcOrdMgmtOpComponents | RecordType | Reservation Record Type |
| ProcessOrder | P_ProcOrdMgmtOpComponents | ProcessOrder | Order | |
| ManufacturingOrderCategory | P_ProcOrdMgmtOpComponents | ManufacturingOrderCategory | ||
| ManufacturingOrderType | P_ProcOrdMgmtOpComponents | ManufacturingOrderType | ||
| ManufacturingOrderOperation | ||||
| ManufacturingOrderSequence | P_ProcOrdMgmtOpComponents | ManufacturingOrderSequence | ||
| Material | P_ProcOrdMgmtOpComponents | Material | Vehicle Model | |
| MaterialName | P_ProcOrdMgmtOpComponents | MaterialName | Material Description | |
| PlanningPlant | P_ProcOrdMgmtOpComponents | PlanningPlant | Valuation Area | |
| MatlCompIsMarkedForBackflush | P_ProcOrdMgmtOpComponents | MatlCompIsMarkedForBackflush | Backflush | |
| ProductionPlant | P_ProcOrdMgmtOpComponents | ProductionPlant | Prod plnt | |
| ProductionPlantName | P_ProcOrdMgmtOpComponents | ProductionPlantName | Plant Name | |
| PlantTimeZone | P_ProcOrdMgmtOpComponents | PlantTimeZone | Time Zone | |
| BaseUnit | P_ProcOrdMgmtOpComponents | BaseUnit | Unit of Measure | |
| EntryUnit | P_ProcOrdMgmtOpComponents | EntryUnit | Unit of Entry | |
| RequiredQuantityendasRequiredQuantity | ||||
| MatlCompRequirementDate | P_ProcOrdMgmtOpComponents | MatlCompRequirementDate | Reqmts date | |
| MatlCompRequirementTime | P_ProcOrdMgmtOpComponents | MatlCompRequirementTime | ||
| ProcOrdCompAvailabilityStsCode | P_ProcOrdMgmtOpComponents | ProcOrdCompAvailabilityStsCode | ||
| BillOfMaterialItemCategory | P_ProcOrdMgmtOpComponents | BillOfMaterialItemCategory | Item Category | |
| BillOfMaterialItemCategoryDesc | P_ProcOrdMgmtOpComponents | BillOfMaterialItemCategoryDesc | Item Category | |
| StorageLocation | P_ProcOrdMgmtOpComponents | StorageLocation | StorageLocation | |
| StorageLocationName | P_ProcOrdMgmtOpComponents | StorageLocationName | Storage Loc. Name | |
| MaterialIsCoProduct | P_ProcOrdMgmtOpComponents | MaterialIsCoProduct | Co-product | |
| StockSegment | P_ProcOrdMgmtOpComponents | StockSegment | Stock Segment | |
| RequirementSegment | P_ProcOrdMgmtOpComponents | RequirementSegment | Req. Segment | |
| BatchendasBatch | ||||
| BatchSplitType | P_ProcOrdMgmtOpComponents | BatchSplitType | ||
| IsBatchManagementRequired | P_ProcOrdMgmtOpComponents | IsBatchManagementRequired | Batch Mgmt Rqt(Plnt) | |
| LeadingReservationItem | P_ProcOrdMgmtOpComponents | LeadingReservationItem | ||
| NumberOfBatcheselse0endasNumberOfBatches | ||||
| MaterialAvailyIsNotChecked | P_ProcOrdMgmtOpComponents | MaterialAvailyIsNotChecked | ||
| MaterialComponentIsMissing | P_ProcOrdMgmtOpComponents | MaterialComponentIsMissing | ||
| ReservationIsFinallyIssued | P_ProcOrdMgmtOpComponents | ReservationIsFinallyIssued | Res Final Issue | |
| MatlCompIsMarkedForDeletion | P_ProcOrdMgmtOpComponents | MatlCompIsMarkedForDeletion | ||
| BillOfMaterialItemNumber | P_ProcOrdMgmtOpComponents | BillOfMaterialItemNumber | Item | |
| _Material | _Material | |||
| _MfgOrderCategory | _MfgOrderCategory | |||
| _MfgOrderSequence | _MfgOrderSequence | |||
| _MfgOrderType | _MfgOrderType | |||
| _ProductionPlant | _ProductionPlant | |||
| _Reservation | _Reservation | |||
| _ReservationDocRecordType | _ReservationDocRecordType | |||
| toparent_ProcOrdMgmt |
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_ProcOrdMgmtOpCompAggrgn.
-- 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: IPOROPCOMPAGGRGN
CREATE VIEW I_ProcOrdMgmtOpCompAggrgn AS
SELECT
comp.Reservation AS Reservation,
comp.ReservationItem AS ReservationItem,
comp.RecordType AS RecordType,
comp.ProcessOrder AS ProcessOrder,
comp.ManufacturingOrderCategory AS ManufacturingOrderCategory,
comp.ManufacturingOrderType AS ManufacturingOrderType,
cast(comp.ManufacturingOrderOperation as processorderoperation preserving type) AS ManufacturingOrderOperation,
comp.ManufacturingOrderSequence AS ManufacturingOrderSequence,
comp.Material AS Material,
comp.MaterialName AS MaterialName,
comp.PlanningPlant AS PlanningPlant,
comp.MatlCompIsMarkedForBackflush AS MatlCompIsMarkedForBackflush,
comp.ProductionPlant AS ProductionPlant,
comp.ProductionPlantName AS ProductionPlantName,
comp.PlantTimeZone AS PlantTimeZone,
comp.BaseUnit AS BaseUnit,
comp.EntryUnit AS EntryUnit,
case when aggrComp.RequiredQuantity > 0 then (aggrComp.RequiredQuantity + comp.RequiredQuantity) else comp.RequiredQuantity end as RequiredQuantity AS RequiredQuantityendasRequiredQuantity,
comp.MatlCompRequirementDate AS MatlCompRequirementDate,
comp.MatlCompRequirementTime AS MatlCompRequirementTime,
comp.ProcOrdCompAvailabilityStsCode AS ProcOrdCompAvailabilityStsCode,
comp.BillOfMaterialItemCategory AS BillOfMaterialItemCategory,
comp.BillOfMaterialItemCategoryDesc AS BillOfMaterialItemCategoryDesc,
comp.StorageLocation AS StorageLocation,
comp.StorageLocationName AS StorageLocationName,
comp.MaterialIsCoProduct AS MaterialIsCoProduct,
comp.StockSegment AS StockSegment,
comp.RequirementSegment AS RequirementSegment,
case when aggrComp.NumberOfBatches = 1 and comp.Batch is initial then _spiltCompBatch.Batch else comp.Batch end as Batch AS BatchendasBatch,
comp.BatchSplitType AS BatchSplitType,
comp.IsBatchManagementRequired AS IsBatchManagementRequired,
comp.LeadingReservationItem AS LeadingReservationItem,
case when aggrComp.NumberOfBatches > 0 then aggrComp.NumberOfBatches else 0 end as NumberOfBatches AS NumberOfBatcheselse0endasNumberOfBatches,
comp.MaterialAvailyIsNotChecked AS MaterialAvailyIsNotChecked,
comp.MaterialComponentIsMissing AS MaterialComponentIsMissing,
comp.ReservationIsFinallyIssued AS ReservationIsFinallyIssued,
comp.MatlCompIsMarkedForDeletion AS MatlCompIsMarkedForDeletion,
comp.BillOfMaterialItemNumber AS BillOfMaterialItemNumber
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]
;
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