P_ProcOrdMgmtOpComponents
P_ProcOrdMgmtOpComponents is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ProcOrdMgmtOpCompWithSts2) and exposes 46 fields with key fields Reservation, ReservationItem, RecordType. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProcOrdMgmtOpCompWithSts2 | comp | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPORMGMTOPCOMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | 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_ProcOrdMgmtOpCompWithSts2 | Reservation | Reservation |
| KEY | ReservationItem | P_ProcOrdMgmtOpCompWithSts2 | ReservationItem | Reservation Item |
| KEY | RecordType | P_ProcOrdMgmtOpCompWithSts2 | RecordType | Reservation Record Type |
| ProcessOrder | P_ProcOrdMgmtOpCompWithSts2 | ManufacturingOrder | Order | |
| Material | P_ProcOrdMgmtOpCompWithSts2 | Material | Vehicle Model | |
| ManufacturingOrderCategory | P_ProcOrdMgmtOpCompWithSts2 | ManufacturingOrderCategory | ||
| ManufacturingOrderType | P_ProcOrdMgmtOpCompWithSts2 | ManufacturingOrderType | ||
| ProductionPlant | P_ProcOrdMgmtOpCompWithSts2 | ProductionPlant | Prod plnt | |
| ProductionPlantName | _ProductionPlant | PlantName | Plant Name | |
| PlantTimeZone | ||||
| ProductionSupervisor | P_ProcOrdMgmtOpCompWithSts2 | ProductionSupervisor | Prodn Supervisor | |
| OrderInternalBillOfOperations | OrderInternalBillOfOperations | Order Internal Bill of Operations | ||
| ManufacturingOrderOperation | ManufacturingOrderOperation | Activity | ||
| ManufacturingOrderSequence | P_ProcOrdMgmtOpCompWithSts2 | ManufacturingOrderSequence | ||
| BOMItemDescription | P_ProcOrdMgmtOpCompWithSts2 | BOMItemDescription | Item Text | |
| MaterialNameendasMaterialName | ||||
| BaseUnit | P_ProcOrdMgmtOpCompWithSts2 | BaseUnit | Unit of Measure | |
| RequiredQuantity | P_ProcOrdMgmtOpCompWithSts2 | RequiredQuantity | Requirement qty | |
| EntryUnit | P_ProcOrdMgmtOpCompWithSts2 | EntryUnit | Unit of Entry | |
| GoodsMovementEntryQty | P_ProcOrdMgmtOpCompWithSts2 | GoodsMovementEntryQty | ||
| WithdrawnQuantity | P_ProcOrdMgmtOpCompWithSts2 | WithdrawnQuantity | Withdrawn Quantity | |
| MatlCompRequirementDate | MatlCompRequirementDate | Reqmts date | ||
| MatlCompRequirementTime | MatlCompRequirementTime | |||
| StorageLocation | StorageLocation | StorageLocation | ||
| StorageLocationName | StorageLocationName | Storage Loc. Name | ||
| MaterialIsCoProduct | MaterialIsCoProduct | Co-product | ||
| BillOfMaterialItemCategory | BillOfMaterialItemCategory | Item Category | ||
| BillOfMaterialItemCategoryDesc | _BOMItemCategory | BillOfMaterialItemCategoryDesc | Item Category | |
| MaterialAvailyIsNotChecked | P_ProcOrdMgmtOpCompWithSts2 | MaterialAvailyIsNotChecked | ||
| MaterialComponentIsMissing | MaterialComponentIsMissing | |||
| ReservationIsFinallyIssued | ReservationIsFinallyIssued | Res Final Issue | ||
| MatlCompIsMarkedForDeletion | P_ProcOrdMgmtOpCompWithSts2 | MatlCompIsMarkedForDeletion | ||
| Batch | Batch | Lot No. | ||
| BatchSplitType | BatchSplitType | |||
| IsBatchManagementRequired | IsBatchManagementRequired | Batch Mgmt Rqt(Plnt) | ||
| LeadingReservationItem | LeadingReservationItem | |||
| PlanningPlant | Plant | Valuation Area | ||
| StockSegment | StockSegment | Stock Segment | ||
| RequirementSegment | RequirementSegment | Req. Segment | ||
| _Reservation | _Reservation | |||
| _MfgOrderSequence | _MfgOrderSequence | |||
| _Material | _Material | |||
| _ProductionPlant | _ProductionPlant | |||
| _ReservationDocRecordType | _ReservationDocRecordType | |||
| _MfgOrderCategory | _MfgOrderCategory | |||
| _MfgOrderType | _MfgOrderType |
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_ProcOrdMgmtOpComponents.
-- 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: PPORMGMTOPCOMP
CREATE VIEW P_ProcOrdMgmtOpComponents AS
SELECT
comp.Reservation AS Reservation,
comp.ReservationItem AS ReservationItem,
comp.RecordType AS RecordType,
comp.ManufacturingOrder AS ProcessOrder,
comp.Material AS Material,
comp.ManufacturingOrderCategory AS ManufacturingOrderCategory,
comp.ManufacturingOrderType AS ManufacturingOrderType,
comp.ProductionPlant AS ProductionPlant,
_ProductionPlant.PlantName AS ProductionPlantName,
cast( _ProductionPlant._OrganizationAddress[AddressRepresentationCode = ''].AddressTimeZone as co_plant_timezone ) AS PlantTimeZone,
comp.ProductionSupervisor AS ProductionSupervisor,
OrderInternalBillOfOperations,
ManufacturingOrderOperation,
comp.ManufacturingOrderSequence AS ManufacturingOrderSequence,
comp.BOMItemDescription AS BOMItemDescription,
case when _MaterialText.MaterialName is null or _MaterialText.MaterialName = '' then comp.BOMItemDescription else _MaterialText.MaterialName end as MaterialName AS MaterialNameendasMaterialName,
comp.BaseUnit AS BaseUnit,
comp.RequiredQuantity AS RequiredQuantity,
comp.EntryUnit AS EntryUnit,
comp.GoodsMovementEntryQty AS GoodsMovementEntryQty,
comp.WithdrawnQuantity AS WithdrawnQuantity,
MatlCompRequirementDate,
MatlCompRequirementTime,
StorageLocation,
StorageLocationName,
MaterialIsCoProduct,
BillOfMaterialItemCategory,
_BOMItemCategory.BillOfMaterialItemCategoryDesc AS BillOfMaterialItemCategoryDesc,
comp.MaterialAvailyIsNotChecked AS MaterialAvailyIsNotChecked,
MaterialComponentIsMissing,
ReservationIsFinallyIssued,
comp.MatlCompIsMarkedForDeletion AS MatlCompIsMarkedForDeletion,
Batch,
BatchSplitType,
IsBatchManagementRequired,
LeadingReservationItem,
Plant AS PlanningPlant,
StockSegment,
RequirementSegment
FROM P_ProcOrdMgmtOpCompWithSts2 AS comp
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material AND _MaterialText.Language = $session.system_language -- 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