P_ProcOrdOperationWithStatus

DDL: P_PROCORDOPERATIONWITHSTATUS SQL: PPOROPWITHSTS Type: view COMPOSITE

P_ProcOrdOperationWithStatus is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_ProcOrdOpSystemStatusAggr, P_ProcOrderOperationDurn) and exposes 360 fields with key fields MfgOrderInternalID, OrderOperationInternalID. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
P_ProcOrdOpSystemStatusAggr _systemStatus inner
P_ProcOrderOperationDurn afvg from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_WorkCenterAllCapacity _AllCapacity $projection.WorkCenterInternalID = _AllCapacity.WorkCenterInternalID and $projection.WorkCenterTypeCode = _AllCapacity.WorkCenterTypeCode and $projection.CapacityInternalID = _AllCapacity.CapacityInternalID
[1..1] I_OperationControlProfile _OperationControlProfile $projection.OperationControlProfile = _OperationControlProfile.OperationControlProfile

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PPOROPWITHSTS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (360)

KeyFieldSource TableSource FieldDescription
ManufacturingOrderOperation
ManufacturingOrderSubOperation
WorkCenter
WorkCenterText
PurchaseRequisition
PurchaseRequisitionItem
PurchaseOrder
PurchaseOrderItem
PurchasingInfoRecord
ProfitCenter
RequestingCostCenter
OverlapMinimumDurationUnit
StartDateOffsetReferenceCode
EndDateOffsetReferenceCode
OpWorkQuantityUnit1
OpConfirmedWorkQuantity1
OpWorkQuantityUnit2
OpConfirmedWorkQuantity2
OpWorkQuantityUnit3
OpConfirmedWorkQuantity3
OpWorkQuantityUnit4
OpConfirmedWorkQuantity4
OpWorkQuantityUnit5
OpConfirmedWorkQuantity5
OpWorkQuantityUnit6
OpConfirmedWorkQuantity6
WorkCenterStandardWorkQtyUnit1
WorkCenterStandardWorkQty1
CostCtrActivityType1
WorkCenterStandardWorkQtyUnit2
WorkCenterStandardWorkQty2
CostCtrActivityType2
WorkCenterStandardWorkQtyUnit3
WorkCenterStandardWorkQty3
CostCtrActivityType3
WorkCenterStandardWorkQtyUnit4
WorkCenterStandardWorkQty4
CostCtrActivityType4
WorkCenterStandardWorkQtyUnit5
WorkCenterStandardWorkQty5
CostCtrActivityType5
WorkCenterStandardWorkQtyUnit6
WorkCenterStandardWorkQty6
CostCtrActivityType6
BusinessProcess
SetupOpActyNtwkInstance
ProduceOpActyNtwkInstance
TeardownOpActyNtwkInstance
OrderIntBillOfOpItemOfPhase OrderIntBillOfOpItemOfPhase
ConfirmationIsNotPossible ConfirmationIsNotPossible
Material Material Vehicle Model
MaterialName
ProcessOrderHasNoLongText ProcessOrderHasNoLongText
OperationControlProfileName OperationControlProfileName
ProductionPlantName ProductionPlantName Plant Name
ProductionSupervisorName ProductionSupervisorName
MRPControllerName MRPControllerName Controller name
ManufacturingOrderTypeName ManufacturingOrderTypeName
PlantTimeZone PlantTimeZone Time Zone
_OrderInternalID _OrderInternalID
_ManufacturingOrder _ManufacturingOrder
_MfgOrderSequence _MfgOrderSequence
_MfgOrderOpComponent _MfgOrderOpComponent
_MfgOrderOperationPRT _MfgOrderOperationPRT
_MfgOrderOpTriggerPoint _MfgOrderOpTriggerPoint
_MfgOrderOpDocInfoRecord _MfgOrderOpDocInfoRecord
_MfgOrderOperationConf _MfgOrderOperationConf
_MfgOrderCategory _MfgOrderCategory
_MfgOrderType _MfgOrderType
_SuperiorOperation _SuperiorOperation
_OperationStandardTextCode _OperationStandardTextCode
_Plant _Plant
_MRPController _MRPController
_ResponsiblePlannerGroup _ResponsiblePlannerGroup
_ProductionSupervisor _ProductionSupervisor
_ProductionUnit _ProductionUnit
_OperationUnit _OperationUnit
_WorkCenter _WorkCenter
_WorkCenterType _WorkCenterType
_OperationControlProfile _OperationControlProfile
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsVariant _BillOfOperationsVariant
_BillOfOperationsSequence _BillOfOperationsSequence
_BOOOperationInternalID _BOOOperationInternalID
_OperationConfirmation _OperationConfirmation
_FactoryCalendar _FactoryCalendar
_CapacityRequirement _CapacityRequirement
_CapacityRequirementItem _CapacityRequirementItem
_ControlRecipeDestination _ControlRecipeDestination
_ChangeNumber _ChangeNumber
_PurchasingOrganization _PurchasingOrganization
_PurchasingGroup _PurchasingGroup
_PurchaseOrder _PurchaseOrder
_PurchaseOrderItem _PurchaseOrderItem
_PurchaseRequisition _PurchaseRequisition
_PurchaseRequisitionItem _PurchaseRequisitionItem
_PurchaseRequisitionItem2 _PurchaseRequisitionItem2
_PurchasingInfoRecord _PurchasingInfoRecord
_Supplier _Supplier
_SupplierCompanyByPlant _SupplierCompanyByPlant
_OpExternalProcessingCurrency _OpExternalProcessingCurrency
_EmployeeWageGroup _EmployeeWageGroup
_EmployeeSuitability _EmployeeSuitability
_Employee _Employee
_CompanyCode _CompanyCode
_ProfitCenter _ProfitCenter
_RequestingCostCenter _RequestingCostCenter
_ControllingArea _ControllingArea
_ControllingObjectClass _ControllingObjectClass
_ControllingObjectCurrency _ControllingObjectCurrency
_CostElement _CostElement
_CostingVariant _CostingVariant
_FunctionalArea _FunctionalArea
_BusinessArea _BusinessArea
_BusinessProcess _BusinessProcess
_BusinessProcessEntryUnit _BusinessProcessEntryUnit
_OperationSetupGroupCategory _OperationSetupGroupCategory
_OperationSetupGroup _OperationSetupGroup
_OperationSetupType _OperationSetupType
_LeadTimeReductionStrategy _LeadTimeReductionStrategy
_StartDateOffsetReferenceCode _StartDateOffsetReferenceCode
_EndDateOffsetReferenceCode _EndDateOffsetReferenceCode
_StandardWorkFmlaParamGroup _StandardWorkFmlaParamGroup
_Language _Language
_SetupOpActyNtwkInstance _SetupOpActyNtwkInstance
_ProduceOpActyNtwkInstance _ProduceOpActyNtwkInstance
_TeardownOpActyNtwkInstance _TeardownOpActyNtwkInstance
_LongText _LongText
_FreeDefinedQuantity1Unit _FreeDefinedQuantity1Unit
_FreeDefinedQuantity2Unit _FreeDefinedQuantity2Unit
_FreeDefinedAmount1Currency _FreeDefinedAmount1Currency
_FreeDefinedAmount2Currency _FreeDefinedAmount2Currency
_Material _Material
KEY MfgOrderInternalID P_ProcOrderOperationDurn MfgOrderInternalID
KEY OrderOperationInternalID P_ProcOrderOperationDurn OrderOperationInternalID
ManufacturingOrder P_ProcOrderOperationDurn ManufacturingOrder Order
ManufacturingOrderSequence P_ProcOrderOperationDurn ManufacturingOrderSequence
ManufacturingOrderCategory P_ProcOrderOperationDurn ManufacturingOrderCategory
ManufacturingOrderType P_ProcOrderOperationDurn ManufacturingOrderType
ProductionPlant P_ProcOrderOperationDurn ProductionPlant Prod plnt
ProductionSupervisor P_ProcOrderOperationDurn ProductionSupervisor Prodn Supervisor
MRPController P_ProcOrderOperationDurn MRPController MRP Controller
ResponsiblePlannerGroup P_ProcOrderOperationDurn ResponsiblePlannerGroup
ProductConfiguration P_ProcOrderOperationDurn ProductConfiguration
InspectionLot P_ProcOrderOperationDurn InspectionLot Inspection Lot
ManufacturingOrderImportance P_ProcOrderOperationDurn ManufacturingOrderImportance
MfgOrderOperationText P_ProcOrderOperationDurn MfgOrderOperationText
OperationHasLongText P_ProcOrderOperationDurn OperationHasLongText
LongTextLanguageCode P_ProcOrderOperationDurn Language Report Text Language
OperationStandardTextCode P_ProcOrderOperationDurn OperationStandardTextCode Std Text Key
OperationIsToBeDeleted P_ProcOrderOperationDurn OperationIsToBeDeleted
MfgOrderOperationIsPhase P_ProcOrderOperationDurn MfgOrderOperationIsPhase
MfgOrderPhaseSuperiorOperation P_ProcOrderOperationDurn MfgOrderPhaseSuperiorOperation
NumberOfCapacities P_ProcOrderOperationDurn NumberOfCapacities Number
NumberOfConfirmationSlips P_ProcOrderOperationDurn NumberOfConfirmationSlips No. of Conf. Slips
OperationImportance P_ProcOrderOperationDurn OperationImportance
SuperiorOperationInternalID P_ProcOrderOperationDurn SuperiorOperationInternalID Sup. Op. Node
Plant P_ProcOrderOperationDurn Plant Valuation Area
WorkCenterInternalID P_ProcOrderOperationDurn WorkCenterInternalID Work Center
WorkCenterTypeCode P_ProcOrderOperationDurn WorkCenterTypeCode Object Type
OperationControlProfile P_ProcOrderOperationDurn OperationControlProfile Control Key
ControlRecipeDestination P_ProcOrderOperationDurn ControlRecipeDestination
OperationConfirmation P_ProcOrderOperationDurn OperationConfirmation
NumberOfOperationConfirmations P_ProcOrderOperationDurn NumberOfOperationConfirmations
FactoryCalendar P_ProcOrderOperationDurn FactoryCalendar Factory Calendar
CapacityRequirement P_ProcOrderOperationDurn CapacityRequirement
CapacityRequirementItem P_ProcOrderOperationDurn CapacityRequirementItem
ChangeNumber P_ProcOrderOperationDurn ChangeNumber Change Number
ObjectInternalID P_ProcOrderOperationDurn ObjectInternalID Object number
OperationTrackingNumber P_ProcOrderOperationDurn OperationTrackingNumber Tracking Number
BillOfOperationsType P_ProcOrderOperationDurn BillOfOperationsType Task List Type
BillOfOperationsGroup P_ProcOrderOperationDurn BillOfOperationsGroup Group
BillOfOperationsVariant P_ProcOrderOperationDurn BillOfOperationsVariant Group Counter
BillOfOperationsSequence P_ProcOrderOperationDurn BillOfOperationsSequence Sequence
BOOOperationInternalID P_ProcOrderOperationDurn BOOOperationInternalID Task list node
BillOfOperationsVersion P_ProcOrderOperationDurn BillOfOperationsVersion Routing Version
BillOfMaterialCategory P_ProcOrderOperationDurn BillOfMaterialCategory BOM category
BillOfMaterialInternalID P_ProcOrderOperationDurn BillOfMaterialInternalID
BillOfMaterialItemNodeNumber P_ProcOrderOperationDurn BillOfMaterialItemNodeNumber Item node
BOMItemNodeCount P_ProcOrderOperationDurn BOMItemNodeCount Counter
ExtProcgOperationHasSubcontrg P_ProcOrderOperationDurn ExtProcgOperationHasSubcontrg Subcontracting
PurchasingOrganization P_ProcOrderOperationDurn PurchasingOrganization Purchasing Organization
PurchasingGroup P_ProcOrderOperationDurn PurchasingGroup Purchasing Group
PurgInfoRecdDataIsFixed P_ProcOrderOperationDurn PurgInfoRecdDataIsFixed
PurchasingInfoRecordCategory P_ProcOrderOperationDurn PurchasingInfoRecordCategory Infotype
Supplier P_ProcOrderOperationDurn Supplier Supplier
GoodsRecipientName P_ProcOrderOperationDurn GoodsRecipientName Recipient Name
UnloadingPointName P_ProcOrderOperationDurn UnloadingPointName Unloading Point Name
OpExternalProcessingCurrency P_ProcOrderOperationDurn OpExternalProcessingCurrency Currency
OpExternalProcessingPrice P_ProcOrderOperationDurn OpExternalProcessingPrice Price
NumberOfOperationPriceUnits P_ProcOrderOperationDurn NumberOfOperationPriceUnits Price Unit
CompanyCode P_ProcOrderOperationDurn CompanyCode Receiver Company Code
BusinessArea P_ProcOrderOperationDurn BusinessArea Business Area
ControllingArea P_ProcOrderOperationDurn ControllingArea Controlling Area
CostElement P_ProcOrderOperationDurn CostElement G/L Account
CostingVariant P_ProcOrderOperationDurn CostingVariant
CostingSheet P_ProcOrderOperationDurn CostingSheet Costing Sheet
CostEstimate P_ProcOrderOperationDurn CostEstimate Cost EstimateNo
ControllingObjectCurrency P_ProcOrderOperationDurn ControllingObjectCurrency CO Object Currency
ControllingObjectClass P_ProcOrderOperationDurn ControllingObjectClass Object Class
FunctionalArea P_ProcOrderOperationDurn FunctionalArea Sendr Fctl Area
TaxJurisdiction P_ProcOrderOperationDurn TaxJurisdiction Tax Jurisdiction
EmployeeWageType P_ProcOrderOperationDurn EmployeeWageType Wage type
EmployeeWageGroup P_ProcOrderOperationDurn EmployeeWageGroup Wage Group
EmployeeSuitability P_ProcOrderOperationDurn EmployeeSuitability
NumberOfTimeTickets P_ProcOrderOperationDurn NumberOfTimeTickets No.TimeTickets
Personnel P_ProcOrderOperationDurn Personnel Personnel No.
NumberOfEmployees P_ProcOrderOperationDurn NumberOfEmployees No. employees
OperationSetupGroupCategory P_ProcOrderOperationDurn OperationSetupGroupCategory Setup group cat
OperationSetupGroup P_ProcOrderOperationDurn OperationSetupGroup Setup group key
OperationSetupType P_ProcOrderOperationDurn OperationSetupType Setup Type Key
OperationOverlappingIsRequired P_ProcOrderOperationDurn OperationOverlappingIsRequired
OperationOverlappingIsPossible P_ProcOrderOperationDurn OperationOverlappingIsPossible
OperationsIsAlwaysOverlapping P_ProcOrderOperationDurn OperationsIsAlwaysOverlapping
OperationSplitIsRequired P_ProcOrderOperationDurn OperationSplitIsRequired Splitting Reqd
MaximumNumberOfSplits P_ProcOrderOperationDurn MaximumNumberOfSplits Maximum Splits
LeadTimeReductionStrategy P_ProcOrderOperationDurn LeadTimeReductionStrategy Red. Strategy
OpSchedldReductionLevel P_ProcOrderOperationDurn OpSchedldReductionLevel
OpErlstSchedldExecStrtDte P_ProcOrderOperationDurn OpErlstSchedldExecStrtDte Earl.start date
OpErlstSchedldExecStrtTme P_ProcOrderOperationDurn OpErlstSchedldExecStrtTme
OpErlstSchedldProcgStrtDte P_ProcOrderOperationDurn OpErlstSchedldProcgStrtDte
OpErlstSchedldProcgStrtTme P_ProcOrderOperationDurn OpErlstSchedldProcgStrtTme
OpErlstSchedldTrdwnStrtDte P_ProcOrderOperationDurn OpErlstSchedldTrdwnStrtDte
OpErlstSchedldTrdwnStrtTme P_ProcOrderOperationDurn OpErlstSchedldTrdwnStrtTme
OpErlstSchedldExecEndDte P_ProcOrderOperationDurn OpErlstSchedldExecEndDte EarliestEndDate
OpErlstSchedldExecEndTme P_ProcOrderOperationDurn OpErlstSchedldExecEndTme
OpLtstSchedldExecStrtDte P_ProcOrderOperationDurn OpLtstSchedldExecStrtDte Latest start
OpLtstSchedldExecStrtTme P_ProcOrderOperationDurn OpLtstSchedldExecStrtTme
OpLtstSchedldProcgStrtDte P_ProcOrderOperationDurn OpLtstSchedldProcgStrtDte
OpLtstSchedldProcgStrtTme P_ProcOrderOperationDurn OpLtstSchedldProcgStrtTme
OpLtstSchedldTrdwnStrtDte P_ProcOrderOperationDurn OpLtstSchedldTrdwnStrtDte
OpLtstSchedldTrdwnStrtTme P_ProcOrderOperationDurn OpLtstSchedldTrdwnStrtTme
OpLtstSchedldExecEndDte P_ProcOrderOperationDurn OpLtstSchedldExecEndDte Lat.finish date
OpLtstSchedldExecEndTme P_ProcOrderOperationDurn OpLtstSchedldExecEndTme
SchedldFcstdEarliestStartDate P_ProcOrderOperationDurn SchedldFcstdEarliestStartDate
SchedldFcstdEarliestStartTime P_ProcOrderOperationDurn SchedldFcstdEarliestStartTime
SchedldFcstdEarliestEndDate P_ProcOrderOperationDurn SchedldFcstdEarliestEndDate
SchedldFcstdEarliestEndTime P_ProcOrderOperationDurn SchedldFcstdEarliestEndTime
LatestSchedldFcstdStartDate P_ProcOrderOperationDurn LatestSchedldFcstdStartDate
SchedldFcstdLatestStartTime P_ProcOrderOperationDurn SchedldFcstdLatestStartTime
LatestSchedldFcstdEndDate P_ProcOrderOperationDurn LatestSchedldFcstdEndDate
SchedldFcstdLatestEndTime P_ProcOrderOperationDurn SchedldFcstdLatestEndTime
OperationConfirmedStartDate P_ProcOrderOperationDurn OperationConfirmedStartDate
OperationConfirmedEndDate P_ProcOrderOperationDurn OperationConfirmedEndDate
OpActualExecutionStartDate P_ProcOrderOperationDurn OpActualExecutionStartDate Execution Start Date
OpActualExecutionStartTime P_ProcOrderOperationDurn OpActualExecutionStartTime
OpActualSetupEndDate P_ProcOrderOperationDurn OpActualSetupEndDate
OpActualSetupEndTime P_ProcOrderOperationDurn OpActualSetupEndTime
OpActualProcessingStartDate P_ProcOrderOperationDurn OpActualProcessingStartDate
OpActualProcessingStartTime P_ProcOrderOperationDurn OpActualProcessingStartTime
OpActualProcessingEndDate P_ProcOrderOperationDurn OpActualProcessingEndDate
OpActualProcessingEndTime P_ProcOrderOperationDurn OpActualProcessingEndTime
OpActualTeardownStartDate P_ProcOrderOperationDurn OpActualTeardownStartDate
OpActualTeardownStartTme P_ProcOrderOperationDurn OpActualTeardownStartTme
OpActualExecutionEndDate P_ProcOrderOperationDurn OpActualExecutionEndDate Execution End Date
OpActualExecutionEndTime P_ProcOrderOperationDurn OpActualExecutionEndTime
EarliestScheduledWaitStartDate P_ProcOrderOperationDurn EarliestScheduledWaitStartDate
EarliestScheduledWaitStartTime P_ProcOrderOperationDurn EarliestScheduledWaitStartTime
EarliestScheduledWaitEndDate P_ProcOrderOperationDurn EarliestScheduledWaitEndDate
EarliestScheduledWaitEndTime P_ProcOrderOperationDurn EarliestScheduledWaitEndTime
LatestScheduledWaitStartDate P_ProcOrderOperationDurn LatestScheduledWaitStartDate
LatestScheduledWaitStartTime P_ProcOrderOperationDurn LatestScheduledWaitStartTime
LatestScheduledWaitEndDate P_ProcOrderOperationDurn LatestScheduledWaitEndDate
LatestScheduledWaitEndTime P_ProcOrderOperationDurn LatestScheduledWaitEndTime
BreakDurationUnit P_ProcOrderOperationDurn BreakDurationUnit
PlannedBreakDuration P_ProcOrderOperationDurn PlannedBreakDuration
ConfirmedBreakDuration P_ProcOrderOperationDurn ConfirmedBreakDuration
OverlapMinimumDuration P_ProcOrderOperationDurn OverlapMinimumDuration Minimum Overlap
MaximumWaitDurationUnit P_ProcOrderOperationDurn MaximumWaitDurationUnit Max. Wait Unit
MaximumWaitDuration P_ProcOrderOperationDurn MaximumWaitDuration Max. Wait Time
MinimumWaitDurationUnit P_ProcOrderOperationDurn MinimumWaitDurationUnit Req. Wait Unit
MinimumWaitDuration P_ProcOrderOperationDurn MinimumWaitDuration Min. Wait Time
StandardMoveDurationUnit P_ProcOrderOperationDurn StandardMoveDurationUnit StdMoveTime Un
StandardMoveDuration P_ProcOrderOperationDurn StandardMoveDuration Std Move Time
StandardQueueDurationUnit P_ProcOrderOperationDurn StandardQueueDurationUnit Std Queue Unit
StandardQueueDuration P_ProcOrderOperationDurn StandardQueueDuration Std Queue Time
MinimumQueueDurationUnit P_ProcOrderOperationDurn MinimumQueueDurationUnit Min. Queue Unit
MinimumQueueDuration P_ProcOrderOperationDurn MinimumQueueDuration Min. Queue Time
MinimumMoveDurationUnit P_ProcOrderOperationDurn MinimumMoveDurationUnit MinMoveTime Un
MinimumMoveDuration P_ProcOrderOperationDurn MinimumMoveDuration Min. Move Time
OperationStandardDuration P_ProcOrderOperationDurn OperationStandardDuration
OperationStandardDurationUnit P_ProcOrderOperationDurn OperationStandardDurationUnit
MinimumDuration P_ProcOrderOperationDurn MinimumDuration
MinimumDurationUnit P_ProcOrderOperationDurn MinimumDurationUnit
ScheduledMoveDuration P_ProcOrderOperationDurn ScheduledMoveDuration
ScheduledMoveDurationUnit P_ProcOrderOperationDurn ScheduledMoveDurationUnit
ScheduledQueueDuration P_ProcOrderOperationDurn ScheduledQueueDuration
ScheduledQueueDurationUnit P_ProcOrderOperationDurn ScheduledQueueDurationUnit
ScheduledWaitDuration P_ProcOrderOperationDurn ScheduledWaitDuration
ScheduledWaitDurationUnit P_ProcOrderOperationDurn ScheduledWaitDurationUnit
PlannedDeliveryDuration P_ProcOrderOperationDurn PlannedDeliveryDuration Pl. Deliv. Time
OpPlannedSetupDurn P_ProcOrderOperationDurn OpPlannedSetupDurn
OpPlannedSetupDurnUnit P_ProcOrderOperationDurn OpPlannedSetupDurnUnit
OpPlannedProcessingDurn P_ProcOrderOperationDurn OpPlannedProcessingDurn
OpPlannedProcessingDurnUnit P_ProcOrderOperationDurn OpPlannedProcessingDurnUnit
OpPlannedTeardownDurn P_ProcOrderOperationDurn OpPlannedTeardownDurn
OpPlannedTeardownDurnUnit P_ProcOrderOperationDurn OpPlannedTeardownDurnUnit
StartDateOffsetDurationUnit P_ProcOrderOperationDurn StartDateOffsetDurationUnit
StartDateOffsetDuration P_ProcOrderOperationDurn StartDateOffsetDuration
EndDateOffsetDurationUnit P_ProcOrderOperationDurn EndDateOffsetDurationUnit
EndDateOffsetDuration P_ProcOrderOperationDurn EndDateOffsetDuration
StandardWorkFormulaParamGroup P_ProcOrderOperationDurn StandardWorkFormulaParamGroup
OperationUnit P_ProcOrderOperationDurn OperationUnit Act/op UoM
OpQtyToBaseQtyDnmntr P_ProcOrderOperationDurn OpQtyToBaseQtyDnmntr
OpQtyToBaseQtyNmrtr P_ProcOrderOperationDurn OpQtyToBaseQtyNmrtr
OperationScrapPercent P_ProcOrderOperationDurn OperationScrapPercent Scrap
OperationReferenceQuantity P_ProcOrderOperationDurn OperationReferenceQuantity Base Quantity
OpPlannedTotalQuantity P_ProcOrderOperationDurn OpPlannedTotalQuantity
OpPlannedScrapQuantity P_ProcOrderOperationDurn OpPlannedScrapQuantity
OpPlannedYieldQuantity P_ProcOrderOperationDurn OpPlannedYieldQuantity
OpTotalConfirmedYieldQty P_ProcOrderOperationDurn OpTotalConfirmedYieldQty
OpTotalConfirmedScrapQty P_ProcOrderOperationDurn OpTotalConfirmedScrapQty
OperationConfirmedReworkQty P_ProcOrderOperationDurn OperationConfirmedReworkQty
ProductionUnit P_ProcOrderOperationDurn ProductionUnit
OpTotConfdYieldQtyInOrdQtyUnit P_ProcOrderOperationDurn OpTotConfdYieldQtyInOrdQtyUnit
NoFurtherOpWorkQuantity1IsExpd P_ProcOrderOperationDurn NoFurtherOpWorkQuantity1IsExpd
NoFurtherOpWorkQuantity2IsExpd P_ProcOrderOperationDurn NoFurtherOpWorkQuantity2IsExpd
NoFurtherOpWorkQuantity3IsExpd P_ProcOrderOperationDurn NoFurtherOpWorkQuantity3IsExpd
NoFurtherOpWorkQuantity4IsExpd P_ProcOrderOperationDurn NoFurtherOpWorkQuantity4IsExpd
NoFurtherOpWorkQuantity5IsExpd P_ProcOrderOperationDurn NoFurtherOpWorkQuantity5IsExpd
NoFurtherOpWorkQuantity6IsExpd P_ProcOrderOperationDurn NoFurtherOpWorkQuantity6IsExpd
BusinessProcessEntryUnit P_ProcOrderOperationDurn BusinessProcessEntryUnit
BusinessProcessConfirmedQty P_ProcOrderOperationDurn BusinessProcessConfirmedQty
NoFurtherBusinessProcQtyIsExpd P_ProcOrderOperationDurn NoFurtherBusinessProcQtyIsExpd
BusinessProcRemainingQtyUnit P_ProcOrderOperationDurn BusinessProcRemainingQtyUnit
BusinessProcessRemainingQty P_ProcOrderOperationDurn BusinessProcessRemainingQty
FreeDefinedTableFieldSemantic P_ProcOrderOperationDurn FreeDefinedTableFieldSemantic
FreeDefinedAttribute01 P_ProcOrderOperationDurn FreeDefinedAttribute01 Attribute 1
FreeDefinedAttribute02 P_ProcOrderOperationDurn FreeDefinedAttribute02 Attribute 2
FreeDefinedAttribute03 P_ProcOrderOperationDurn FreeDefinedAttribute03 Attribute 3
FreeDefinedAttribute04 P_ProcOrderOperationDurn FreeDefinedAttribute04 Attribute 4
FreeDefinedQuantity1Unit P_ProcOrderOperationDurn FreeDefinedQuantity1Unit
FreeDefinedQuantity1 P_ProcOrderOperationDurn FreeDefinedQuantity1
FreeDefinedQuantity2Unit P_ProcOrderOperationDurn FreeDefinedQuantity2Unit
FreeDefinedQuantity2 P_ProcOrderOperationDurn FreeDefinedQuantity2
FreeDefinedAmount1Currency P_ProcOrderOperationDurn FreeDefinedAmount1Currency
FreeDefinedAmount1 P_ProcOrderOperationDurn FreeDefinedAmount1
FreeDefinedAmount2Currency P_ProcOrderOperationDurn FreeDefinedAmount2Currency
FreeDefinedAmount2 P_ProcOrderOperationDurn FreeDefinedAmount2
FreeDefinedDate1 P_ProcOrderOperationDurn FreeDefinedDate1
FreeDefinedDate2 P_ProcOrderOperationDurn FreeDefinedDate2
FreeDefinedIndicator1 P_ProcOrderOperationDurn FreeDefinedIndicator1
FreeDefinedIndicator2 P_ProcOrderOperationDurn FreeDefinedIndicator2
OperationIsCreated P_ProcOrdOpSystemStatusAggr OperationIsCreated
OperationIsReleased P_ProcOrdOpSystemStatusAggr OperationIsReleased
OperationIsPrinted P_ProcOrdOpSystemStatusAggr OperationIsPrinted
OperationIsConfirmed P_ProcOrdOpSystemStatusAggr OperationIsConfirmed
OperationIsPartiallyConfirmed P_ProcOrdOpSystemStatusAggr OperationIsPartiallyConfirmed
OperationIsPartiallyDelivered P_ProcOrdOpSystemStatusAggr OperationIsPartiallyDelivered
OperationIsDelivered P_ProcOrdOpSystemStatusAggr OperationIsDelivered
OperationIsDeleted P_ProcOrdOpSystemStatusAggr OperationIsDeleted
OperationIsTechlyCompleted P_ProcOrdOpSystemStatusAggr OperationIsTechlyCompleted
OperationIsClosed P_ProcOrdOpSystemStatusAggr OperationIsClosed
OperationIsScheduled P_ProcOrdOpSystemStatusAggr OperationIsScheduled
OperationIsInterrupted P_ProcOrdOpSystemStatusAggr OperationIsInterrupted
ProcOrdConfIsAtHeader P_ProcOrdOpSystemStatusAggr ProcOrdConfIsAtHeader
CapacityCategoryAllocation _AllCapacity CapacityCategoryAllocation
MfgOrderSequenceCategory _MfgOrderSequence MfgOrderSequenceCategory
CapacityInternalID _OpWorkCenter CapacityInternalID Capacity ID

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_ProcOrdOperationWithStatus.
-- 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: PPOROPWITHSTS

CREATE VIEW P_ProcOrdOperationWithStatus AS
SELECT
  cast(afvg.ManufacturingOrderOperation as pph_vornr preserving type) AS ManufacturingOrderOperation,
  cast(afvg.ManufacturingOrderSubOperation as pph_uvorn preserving type) AS ManufacturingOrderSubOperation,
  cast(_OpWorkCenter.WorkCenter as pph_arbpl preserving type) AS WorkCenter,
  _OpWorkCenter._Text[1: Language=$session.system_language].WorkCenterText AS WorkCenterText,
  afvg. OverlapMinimumDurationUnit AS OverlapMinimumDurationUnit,
  cast(afvg.OpWorkQuantityUnit1 as vdm_ile01 preserving type) AS OpWorkQuantityUnit1,
  cast(afvg.OpConfirmedWorkQuantity1 as vdm_ism01 preserving type) AS OpConfirmedWorkQuantity1,
  cast(afvg.OpWorkQuantityUnit2 as vdm_ile02 preserving type) AS OpWorkQuantityUnit2,
  cast(afvg.OpConfirmedWorkQuantity2 as vdm_ism02 preserving type) AS OpConfirmedWorkQuantity2,
  cast(afvg.OpWorkQuantityUnit3 as vdm_ile03 preserving type) AS OpWorkQuantityUnit3,
  cast(afvg.OpConfirmedWorkQuantity3 as vdm_ism03 preserving type) AS OpConfirmedWorkQuantity3,
  cast(afvg.OpWorkQuantityUnit4 as vdm_ile04 preserving type) AS OpWorkQuantityUnit4,
  cast(afvg.OpConfirmedWorkQuantity4 as vdm_ism04 preserving type) AS OpConfirmedWorkQuantity4,
  cast(afvg.OpWorkQuantityUnit5 as vdm_ile05 preserving type) AS OpWorkQuantityUnit5,
  cast(afvg.OpConfirmedWorkQuantity5 as vdm_ism05 preserving type) AS OpConfirmedWorkQuantity5,
  cast(afvg.OpWorkQuantityUnit6 as vdm_ile06 preserving type) AS OpWorkQuantityUnit6,
  cast(afvg.OpConfirmedWorkQuantity6 as vdm_ism06 preserving type) AS OpConfirmedWorkQuantity6,
  cast(afvg.WorkCenterStandardWorkQtyUnit1 as pph_vge01 preserving type) AS WorkCenterStandardWorkQtyUnit1,
  cast(afvg.WorkCenterStandardWorkQty1 as vdm_vgw01 preserving type) AS WorkCenterStandardWorkQty1,
  cast(afvg.CostCtrActivityType1 as vdm_lar01 preserving type) AS CostCtrActivityType1,
  cast(afvg.WorkCenterStandardWorkQtyUnit2 as pph_vge02 preserving type) AS WorkCenterStandardWorkQtyUnit2,
  cast(afvg.WorkCenterStandardWorkQty2 as vdm_vgw02 preserving type) AS WorkCenterStandardWorkQty2,
  cast(afvg.CostCtrActivityType2 as vdm_lar02 preserving type) AS CostCtrActivityType2,
  cast(afvg.WorkCenterStandardWorkQtyUnit3 as pph_vge03 preserving type) AS WorkCenterStandardWorkQtyUnit3,
  cast(afvg.WorkCenterStandardWorkQty3 as vdm_vgw03 preserving type) AS WorkCenterStandardWorkQty3,
  cast(afvg.CostCtrActivityType3 as vdm_lar03 preserving type) AS CostCtrActivityType3,
  cast(afvg.WorkCenterStandardWorkQtyUnit4 as pph_vge04 preserving type) AS WorkCenterStandardWorkQtyUnit4,
  cast(afvg.WorkCenterStandardWorkQty4 as vdm_vgw04 preserving type) AS WorkCenterStandardWorkQty4,
  cast(afvg.CostCtrActivityType4 as vdm_lar04 preserving type) AS CostCtrActivityType4,
  cast(afvg.WorkCenterStandardWorkQtyUnit5 as pph_vge05 preserving type) AS WorkCenterStandardWorkQtyUnit5,
  cast(afvg.WorkCenterStandardWorkQty5 as vdm_vgw05 preserving type) AS WorkCenterStandardWorkQty5,
  cast(afvg.CostCtrActivityType5 as vdm_lar05 preserving type) AS CostCtrActivityType5,
  cast(afvg.WorkCenterStandardWorkQtyUnit6 as pph_vge06 preserving type) AS WorkCenterStandardWorkQtyUnit6,
  cast(afvg.WorkCenterStandardWorkQty6 as vdm_vgw06 preserving type) AS WorkCenterStandardWorkQty6,
  cast(afvg.CostCtrActivityType6 as vdm_lar06 preserving type) AS CostCtrActivityType6,
  OrderIntBillOfOpItemOfPhase,
  ConfirmationIsNotPossible,
  Material,
  _Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
  ProcessOrderHasNoLongText,
  OperationControlProfileName,
  ProductionPlantName,
  ProductionSupervisorName,
  MRPControllerName,
  ManufacturingOrderTypeName,
  PlantTimeZone,
  afvg.MfgOrderInternalID AS MfgOrderInternalID,
  afvg.OrderOperationInternalID AS OrderOperationInternalID,
  afvg.ManufacturingOrder AS ManufacturingOrder,
  afvg.ManufacturingOrderSequence AS ManufacturingOrderSequence,
  afvg.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  afvg.ManufacturingOrderType AS ManufacturingOrderType,
  afvg.ProductionPlant AS ProductionPlant,
  afvg.ProductionSupervisor AS ProductionSupervisor,
  afvg.MRPController AS MRPController,
  afvg.ResponsiblePlannerGroup AS ResponsiblePlannerGroup,
  afvg.ProductConfiguration AS ProductConfiguration,
  afvg.InspectionLot AS InspectionLot,
  afvg.ManufacturingOrderImportance AS ManufacturingOrderImportance,
  afvg.MfgOrderOperationText AS MfgOrderOperationText,
  afvg.OperationHasLongText AS OperationHasLongText,
  afvg.Language AS LongTextLanguageCode,
  afvg.OperationStandardTextCode AS OperationStandardTextCode,
  afvg.OperationIsToBeDeleted AS OperationIsToBeDeleted,
  afvg.MfgOrderOperationIsPhase AS MfgOrderOperationIsPhase,
  afvg.MfgOrderPhaseSuperiorOperation AS MfgOrderPhaseSuperiorOperation,
  afvg.NumberOfCapacities AS NumberOfCapacities,
  afvg.NumberOfConfirmationSlips AS NumberOfConfirmationSlips,
  afvg.OperationImportance AS OperationImportance,
  afvg.SuperiorOperationInternalID AS SuperiorOperationInternalID,
  afvg.Plant AS Plant,
  afvg.WorkCenterInternalID AS WorkCenterInternalID,
  afvg.WorkCenterTypeCode AS WorkCenterTypeCode,
  afvg.OperationControlProfile AS OperationControlProfile,
  afvg.ControlRecipeDestination AS ControlRecipeDestination,
  afvg.OperationConfirmation AS OperationConfirmation,
  afvg.NumberOfOperationConfirmations AS NumberOfOperationConfirmations,
  afvg.FactoryCalendar AS FactoryCalendar,
  afvg.CapacityRequirement AS CapacityRequirement,
  afvg.CapacityRequirementItem AS CapacityRequirementItem,
  afvg.ChangeNumber AS ChangeNumber,
  afvg.ObjectInternalID AS ObjectInternalID,
  afvg.OperationTrackingNumber AS OperationTrackingNumber,
  afvg.BillOfOperationsType AS BillOfOperationsType,
  afvg.BillOfOperationsGroup AS BillOfOperationsGroup,
  afvg.BillOfOperationsVariant AS BillOfOperationsVariant,
  afvg.BillOfOperationsSequence AS BillOfOperationsSequence,
  afvg.BOOOperationInternalID AS BOOOperationInternalID,
  afvg.BillOfOperationsVersion AS BillOfOperationsVersion,
  afvg.BillOfMaterialCategory AS BillOfMaterialCategory,
  afvg.BillOfMaterialInternalID AS BillOfMaterialInternalID,
  afvg.BillOfMaterialItemNodeNumber AS BillOfMaterialItemNodeNumber,
  afvg.BOMItemNodeCount AS BOMItemNodeCount,
  afvg.ExtProcgOperationHasSubcontrg AS ExtProcgOperationHasSubcontrg,
  afvg.PurchasingOrganization AS PurchasingOrganization,
  afvg.PurchasingGroup AS PurchasingGroup,
  afvg.PurgInfoRecdDataIsFixed AS PurgInfoRecdDataIsFixed,
  afvg.PurchasingInfoRecordCategory AS PurchasingInfoRecordCategory,
  afvg.Supplier AS Supplier,
  afvg.GoodsRecipientName AS GoodsRecipientName,
  afvg.UnloadingPointName AS UnloadingPointName,
  afvg.OpExternalProcessingCurrency AS OpExternalProcessingCurrency,
  afvg.OpExternalProcessingPrice AS OpExternalProcessingPrice,
  afvg.NumberOfOperationPriceUnits AS NumberOfOperationPriceUnits,
  afvg.CompanyCode AS CompanyCode,
  afvg.BusinessArea AS BusinessArea,
  afvg.ControllingArea AS ControllingArea,
  afvg.CostElement AS CostElement,
  afvg.CostingVariant AS CostingVariant,
  afvg.CostingSheet AS CostingSheet,
  afvg.CostEstimate AS CostEstimate,
  afvg.ControllingObjectCurrency AS ControllingObjectCurrency,
  afvg.ControllingObjectClass AS ControllingObjectClass,
  afvg.FunctionalArea AS FunctionalArea,
  afvg.TaxJurisdiction AS TaxJurisdiction,
  afvg.EmployeeWageType AS EmployeeWageType,
  afvg.EmployeeWageGroup AS EmployeeWageGroup,
  afvg.EmployeeSuitability AS EmployeeSuitability,
  afvg.NumberOfTimeTickets AS NumberOfTimeTickets,
  afvg.Personnel AS Personnel,
  afvg.NumberOfEmployees AS NumberOfEmployees,
  afvg.OperationSetupGroupCategory AS OperationSetupGroupCategory,
  afvg.OperationSetupGroup AS OperationSetupGroup,
  afvg.OperationSetupType AS OperationSetupType,
  afvg.OperationOverlappingIsRequired AS OperationOverlappingIsRequired,
  afvg.OperationOverlappingIsPossible AS OperationOverlappingIsPossible,
  afvg.OperationsIsAlwaysOverlapping AS OperationsIsAlwaysOverlapping,
  afvg.OperationSplitIsRequired AS OperationSplitIsRequired,
  afvg.MaximumNumberOfSplits AS MaximumNumberOfSplits,
  afvg.LeadTimeReductionStrategy AS LeadTimeReductionStrategy,
  afvg.OpSchedldReductionLevel AS OpSchedldReductionLevel,
  afvg.OpErlstSchedldExecStrtDte AS OpErlstSchedldExecStrtDte,
  afvg.OpErlstSchedldExecStrtTme AS OpErlstSchedldExecStrtTme,
  afvg.OpErlstSchedldProcgStrtDte AS OpErlstSchedldProcgStrtDte,
  afvg.OpErlstSchedldProcgStrtTme AS OpErlstSchedldProcgStrtTme,
  afvg.OpErlstSchedldTrdwnStrtDte AS OpErlstSchedldTrdwnStrtDte,
  afvg.OpErlstSchedldTrdwnStrtTme AS OpErlstSchedldTrdwnStrtTme,
  afvg.OpErlstSchedldExecEndDte AS OpErlstSchedldExecEndDte,
  afvg.OpErlstSchedldExecEndTme AS OpErlstSchedldExecEndTme,
  afvg.OpLtstSchedldExecStrtDte AS OpLtstSchedldExecStrtDte,
  afvg.OpLtstSchedldExecStrtTme AS OpLtstSchedldExecStrtTme,
  afvg.OpLtstSchedldProcgStrtDte AS OpLtstSchedldProcgStrtDte,
  afvg.OpLtstSchedldProcgStrtTme AS OpLtstSchedldProcgStrtTme,
  afvg.OpLtstSchedldTrdwnStrtDte AS OpLtstSchedldTrdwnStrtDte,
  afvg.OpLtstSchedldTrdwnStrtTme AS OpLtstSchedldTrdwnStrtTme,
  afvg.OpLtstSchedldExecEndDte AS OpLtstSchedldExecEndDte,
  afvg.OpLtstSchedldExecEndTme AS OpLtstSchedldExecEndTme,
  afvg.SchedldFcstdEarliestStartDate AS SchedldFcstdEarliestStartDate,
  afvg.SchedldFcstdEarliestStartTime AS SchedldFcstdEarliestStartTime,
  afvg.SchedldFcstdEarliestEndDate AS SchedldFcstdEarliestEndDate,
  afvg.SchedldFcstdEarliestEndTime AS SchedldFcstdEarliestEndTime,
  afvg.LatestSchedldFcstdStartDate AS LatestSchedldFcstdStartDate,
  afvg.SchedldFcstdLatestStartTime AS SchedldFcstdLatestStartTime,
  afvg.LatestSchedldFcstdEndDate AS LatestSchedldFcstdEndDate,
  afvg.SchedldFcstdLatestEndTime AS SchedldFcstdLatestEndTime,
  afvg.OperationConfirmedStartDate AS OperationConfirmedStartDate,
  afvg.OperationConfirmedEndDate AS OperationConfirmedEndDate,
  afvg.OpActualExecutionStartDate AS OpActualExecutionStartDate,
  afvg.OpActualExecutionStartTime AS OpActualExecutionStartTime,
  afvg.OpActualSetupEndDate AS OpActualSetupEndDate,
  afvg.OpActualSetupEndTime AS OpActualSetupEndTime,
  afvg.OpActualProcessingStartDate AS OpActualProcessingStartDate,
  afvg.OpActualProcessingStartTime AS OpActualProcessingStartTime,
  afvg.OpActualProcessingEndDate AS OpActualProcessingEndDate,
  afvg.OpActualProcessingEndTime AS OpActualProcessingEndTime,
  afvg.OpActualTeardownStartDate AS OpActualTeardownStartDate,
  afvg.OpActualTeardownStartTme AS OpActualTeardownStartTme,
  afvg.OpActualExecutionEndDate AS OpActualExecutionEndDate,
  afvg.OpActualExecutionEndTime AS OpActualExecutionEndTime,
  afvg.EarliestScheduledWaitStartDate AS EarliestScheduledWaitStartDate,
  afvg.EarliestScheduledWaitStartTime AS EarliestScheduledWaitStartTime,
  afvg.EarliestScheduledWaitEndDate AS EarliestScheduledWaitEndDate,
  afvg.EarliestScheduledWaitEndTime AS EarliestScheduledWaitEndTime,
  afvg.LatestScheduledWaitStartDate AS LatestScheduledWaitStartDate,
  afvg.LatestScheduledWaitStartTime AS LatestScheduledWaitStartTime,
  afvg.LatestScheduledWaitEndDate AS LatestScheduledWaitEndDate,
  afvg.LatestScheduledWaitEndTime AS LatestScheduledWaitEndTime,
  afvg.BreakDurationUnit AS BreakDurationUnit,
  afvg.PlannedBreakDuration AS PlannedBreakDuration,
  afvg.ConfirmedBreakDuration AS ConfirmedBreakDuration,
  afvg.OverlapMinimumDuration AS OverlapMinimumDuration,
  afvg.MaximumWaitDurationUnit AS MaximumWaitDurationUnit,
  afvg.MaximumWaitDuration AS MaximumWaitDuration,
  afvg.MinimumWaitDurationUnit AS MinimumWaitDurationUnit,
  afvg.MinimumWaitDuration AS MinimumWaitDuration,
  afvg.StandardMoveDurationUnit AS StandardMoveDurationUnit,
  afvg.StandardMoveDuration AS StandardMoveDuration,
  afvg.StandardQueueDurationUnit AS StandardQueueDurationUnit,
  afvg.StandardQueueDuration AS StandardQueueDuration,
  afvg.MinimumQueueDurationUnit AS MinimumQueueDurationUnit,
  afvg.MinimumQueueDuration AS MinimumQueueDuration,
  afvg.MinimumMoveDurationUnit AS MinimumMoveDurationUnit,
  afvg.MinimumMoveDuration AS MinimumMoveDuration,
  afvg.OperationStandardDuration AS OperationStandardDuration,
  afvg.OperationStandardDurationUnit AS OperationStandardDurationUnit,
  afvg.MinimumDuration AS MinimumDuration,
  afvg.MinimumDurationUnit AS MinimumDurationUnit,
  afvg.ScheduledMoveDuration AS ScheduledMoveDuration,
  afvg.ScheduledMoveDurationUnit AS ScheduledMoveDurationUnit,
  afvg.ScheduledQueueDuration AS ScheduledQueueDuration,
  afvg.ScheduledQueueDurationUnit AS ScheduledQueueDurationUnit,
  afvg.ScheduledWaitDuration AS ScheduledWaitDuration,
  afvg.ScheduledWaitDurationUnit AS ScheduledWaitDurationUnit,
  afvg.PlannedDeliveryDuration AS PlannedDeliveryDuration,
  afvg.OpPlannedSetupDurn AS OpPlannedSetupDurn,
  afvg.OpPlannedSetupDurnUnit AS OpPlannedSetupDurnUnit,
  afvg.OpPlannedProcessingDurn AS OpPlannedProcessingDurn,
  afvg.OpPlannedProcessingDurnUnit AS OpPlannedProcessingDurnUnit,
  afvg.OpPlannedTeardownDurn AS OpPlannedTeardownDurn,
  afvg.OpPlannedTeardownDurnUnit AS OpPlannedTeardownDurnUnit,
  afvg.StartDateOffsetDurationUnit AS StartDateOffsetDurationUnit,
  afvg.StartDateOffsetDuration AS StartDateOffsetDuration,
  afvg.EndDateOffsetDurationUnit AS EndDateOffsetDurationUnit,
  afvg.EndDateOffsetDuration AS EndDateOffsetDuration,
  afvg.StandardWorkFormulaParamGroup AS StandardWorkFormulaParamGroup,
  afvg.OperationUnit AS OperationUnit,
  afvg.OpQtyToBaseQtyDnmntr AS OpQtyToBaseQtyDnmntr,
  afvg.OpQtyToBaseQtyNmrtr AS OpQtyToBaseQtyNmrtr,
  afvg.OperationScrapPercent AS OperationScrapPercent,
  afvg.OperationReferenceQuantity AS OperationReferenceQuantity,
  afvg.OpPlannedTotalQuantity AS OpPlannedTotalQuantity,
  afvg.OpPlannedScrapQuantity AS OpPlannedScrapQuantity,
  afvg.OpPlannedYieldQuantity AS OpPlannedYieldQuantity,
  afvg.OpTotalConfirmedYieldQty AS OpTotalConfirmedYieldQty,
  afvg.OpTotalConfirmedScrapQty AS OpTotalConfirmedScrapQty,
  afvg.OperationConfirmedReworkQty AS OperationConfirmedReworkQty,
  afvg.ProductionUnit AS ProductionUnit,
  afvg.OpTotConfdYieldQtyInOrdQtyUnit AS OpTotConfdYieldQtyInOrdQtyUnit,
  afvg.NoFurtherOpWorkQuantity1IsExpd AS NoFurtherOpWorkQuantity1IsExpd,
  afvg.NoFurtherOpWorkQuantity2IsExpd AS NoFurtherOpWorkQuantity2IsExpd,
  afvg.NoFurtherOpWorkQuantity3IsExpd AS NoFurtherOpWorkQuantity3IsExpd,
  afvg.NoFurtherOpWorkQuantity4IsExpd AS NoFurtherOpWorkQuantity4IsExpd,
  afvg.NoFurtherOpWorkQuantity5IsExpd AS NoFurtherOpWorkQuantity5IsExpd,
  afvg.NoFurtherOpWorkQuantity6IsExpd AS NoFurtherOpWorkQuantity6IsExpd,
  afvg.BusinessProcessEntryUnit AS BusinessProcessEntryUnit,
  afvg.BusinessProcessConfirmedQty AS BusinessProcessConfirmedQty,
  afvg.NoFurtherBusinessProcQtyIsExpd AS NoFurtherBusinessProcQtyIsExpd,
  afvg.BusinessProcRemainingQtyUnit AS BusinessProcRemainingQtyUnit,
  afvg.BusinessProcessRemainingQty AS BusinessProcessRemainingQty,
  afvg.FreeDefinedTableFieldSemantic AS FreeDefinedTableFieldSemantic,
  afvg.FreeDefinedAttribute01 AS FreeDefinedAttribute01,
  afvg.FreeDefinedAttribute02 AS FreeDefinedAttribute02,
  afvg.FreeDefinedAttribute03 AS FreeDefinedAttribute03,
  afvg.FreeDefinedAttribute04 AS FreeDefinedAttribute04,
  afvg.FreeDefinedQuantity1Unit AS FreeDefinedQuantity1Unit,
  afvg.FreeDefinedQuantity1 AS FreeDefinedQuantity1,
  afvg.FreeDefinedQuantity2Unit AS FreeDefinedQuantity2Unit,
  afvg.FreeDefinedQuantity2 AS FreeDefinedQuantity2,
  afvg.FreeDefinedAmount1Currency AS FreeDefinedAmount1Currency,
  afvg.FreeDefinedAmount1 AS FreeDefinedAmount1,
  afvg.FreeDefinedAmount2Currency AS FreeDefinedAmount2Currency,
  afvg.FreeDefinedAmount2 AS FreeDefinedAmount2,
  afvg.FreeDefinedDate1 AS FreeDefinedDate1,
  afvg.FreeDefinedDate2 AS FreeDefinedDate2,
  afvg.FreeDefinedIndicator1 AS FreeDefinedIndicator1,
  afvg.FreeDefinedIndicator2 AS FreeDefinedIndicator2,
  _systemStatus.OperationIsCreated AS OperationIsCreated,
  _systemStatus.OperationIsReleased AS OperationIsReleased,
  _systemStatus.OperationIsPrinted AS OperationIsPrinted,
  _systemStatus.OperationIsConfirmed AS OperationIsConfirmed,
  _systemStatus.OperationIsPartiallyConfirmed AS OperationIsPartiallyConfirmed,
  _systemStatus.OperationIsPartiallyDelivered AS OperationIsPartiallyDelivered,
  _systemStatus.OperationIsDelivered AS OperationIsDelivered,
  _systemStatus.OperationIsDeleted AS OperationIsDeleted,
  _systemStatus.OperationIsTechlyCompleted AS OperationIsTechlyCompleted,
  _systemStatus.OperationIsClosed AS OperationIsClosed,
  _systemStatus.OperationIsScheduled AS OperationIsScheduled,
  _systemStatus.OperationIsInterrupted AS OperationIsInterrupted,
  _systemStatus.ProcOrdConfIsAtHeader AS ProcOrdConfIsAtHeader,
  _AllCapacity.CapacityCategoryAllocation AS CapacityCategoryAllocation,
  _MfgOrderSequence.MfgOrderSequenceCategory AS MfgOrderSequenceCategory,
  _OpWorkCenter.CapacityInternalID AS CapacityInternalID
FROM P_ProcOrderOperationDurn AS afvg
INNER JOIN P_ProcOrdOpSystemStatusAggr AS _systemStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WorkCenterAllCapacity AS _AllCapacity ON WorkCenterInternalID = _AllCapacity.WorkCenterInternalID AND WorkCenterTypeCode = _AllCapacity.WorkCenterTypeCode AND CapacityInternalID = _AllCapacity.CapacityInternalID  -- association [0..1]
LEFT OUTER JOIN I_OperationControlProfile AS _OperationControlProfile ON OperationControlProfile = _OperationControlProfile.OperationControlProfile  -- association [1..1]
;