P_ProcOrdMgmtOpComponents

DDL: P_PROCORDMGMTOPCOMPONENTS SQL: PPORMGMTOPCOMP Type: view COMPOSITE

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)

SourceAliasJoin Type
P_ProcOrdMgmtOpCompWithSts2 comp from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language

Annotations (16)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;