I_ManageOperationsTP

DDL: I_MANAGEOPERATIONSTP SQL: IMPEMANOPERTP Type: view TRANSACTIONAL Package: ODATA_MPE_MFGORDER

Production Operations Transactional BOPF

I_ManageOperationsTP is a Transactional CDS View that provides data about "Production Operations Transactional BOPF" in SAP S/4HANA. It reads from 2 data sources (P_MfgOperationsList, I_MfgOrderOperationDelay) and exposes 99 fields with key fields OrderInternalBillOfOperations, OrderIntBillOfOperationsItem. It has 4 associations to related views. Part of development package ODATA_MPE_MFGORDER.

Data Sources (2)

SourceAliasJoin Type
P_MfgOperationsList _AORListDistinct inner
I_MfgOrderOperationDelay _OrderOperation from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_ProductionRoutingVersion _ProductionRoutingVersion $projection.BillOfOperationsType = _ProductionRoutingVersion.BillOfOperationsType and $projection.BillOfOperationsGroup = _ProductionRoutingVersion.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _ProductionRoutingVersion.BillOfOperationsVariant and $projection.BillOfOperationsVersion = _ProductionRoutingVersion.BillOfOperationsVersion
[1..1] I_ManufacturingOrder _MfgOrderBasic _MfgOrderBasic.ManufacturingOrderCategory = '10' and _AORListDistinct.OrderInternalID = _MfgOrderBasic.MfgOrderInternalID
[0..1] P_ProdnProcgIsFlexible _IsFlexible _AORListDistinct.OrderInternalID = _IsFlexible.MfgOrderInternalID
[1..1] E_OrderOperation _Extension OrderInternalBillOfOperations = _Extension.OrderInternalID and OrderIntBillOfOperationsItem = _Extension.OrderOperationInternalID

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IMPEMANOPERTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.writeActivePersistence IMPEMANOPERTP view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view
EndUserText.label Production Operations Transactional BOPF view

Fields (99)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalBillOfOperations I_MfgOrderOperationDelay OrderInternalBillOfOperations Order Internal Bill of Operations
KEY OrderIntBillOfOperationsItem I_MfgOrderOperationDelay OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
ManufacturingOrder
MfgOrderOperationText I_MfgOrderOperationDelay MfgOrderOperationText
SerialNmbrAssgmtProfileIsAssgd
MaterialName
Material _MfgOrderBasic Material Vehicle Model
Batch _MfgOrderBasic Batch Lot No.
SalesOrder _MfgOrderBasic SalesOrder SD Document
SalesOrderItem _MfgOrderBasic SalesOrderItem Sales Order Item
ProdnProcgIsFlexible _IsFlexible ProdnProcgIsFlexible
ProdnProcgFlexibilityIndName
ManufacturingOrderSequence I_MfgOrderOperationDelay ManufacturingOrderSequence
ProductionPlant I_MfgOrderOperationDelay ProductionPlant Prod plnt
WorkCenterInternalID I_MfgOrderOperationDelay WorkCenterInternalID Work Center
WorkCenter I_MfgOrderOperationDelay WorkCenter Work Center
WorkCenterTypeCode I_MfgOrderOperationDelay WorkCenterTypeCode Object Type
ManufacturingOrderCategory I_MfgOrderOperationDelay ManufacturingOrderCategory
ManufacturingOrderType I_MfgOrderOperationDelay ManufacturingOrderType
ProductionSupervisor I_MfgOrderOperationDelay ProductionSupervisor Prodn Supervisor
MRPController I_MfgOrderOperationDelay MRPController MRP Controller
MRPControllerName _MRPController MRPControllerName Controller name
NumberOfConfirmationSlips I_MfgOrderOperationDelay NumberOfConfirmationSlips No. of Conf. Slips
OperationImportance I_MfgOrderOperationDelay OperationImportance
NumberOfTimeTickets I_MfgOrderOperationDelay NumberOfTimeTickets No.TimeTickets
OperationControlProfile
OperationIsClosed I_MfgOrderOperationDelay OperationIsClosed
OperationIsTechlyCompleted I_MfgOrderOperationDelay OperationIsTechlyCompleted
OperationIsDelivered I_MfgOrderOperationDelay OperationIsDelivered
OperationIsPartiallyDelivered I_MfgOrderOperationDelay OperationIsPartiallyDelivered
OperationIsPartiallyConfirmed I_MfgOrderOperationDelay OperationIsPartiallyConfirmed
OperationIsPrinted I_MfgOrderOperationDelay OperationIsPrinted
OperationIsReleased I_MfgOrderOperationDelay OperationIsReleased
OperationIsCreated I_MfgOrderOperationDelay OperationIsCreated
OperationIsScheduled I_MfgOrderOperationDelay OperationIsScheduled
OperationIsConfirmed I_MfgOrderOperationDelay OperationIsConfirmed
OperationIsDeleted I_MfgOrderOperationDelay OperationIsDeleted
OpPlannedTotalQuantity I_MfgOrderOperationDelay OpPlannedTotalQuantity
OpTotalConfirmedYieldQty I_MfgOrderOperationDelay OpTotalConfirmedYieldQty
OperationReferenceQuantity I_MfgOrderOperationDelay OperationReferenceQuantity Base Quantity
OpPlannedScrapQuantity I_MfgOrderOperationDelay OpPlannedScrapQuantity
OperationConfirmedReworkQty I_MfgOrderOperationDelay OperationConfirmedReworkQty
OpTotalConfirmedScrapQty I_MfgOrderOperationDelay OpTotalConfirmedScrapQty
OperationUnit I_MfgOrderOperationDelay OperationUnit Act/op UoM
GoodsRecipientName I_MfgOrderOperationDelay GoodsRecipientName Recipient Name
UnloadingPointName I_MfgOrderOperationDelay UnloadingPointName Unloading Point Name
OpLtstSchedldExecStrtDte I_MfgOrderOperationDelay OpLtstSchedldExecStrtDte Latest start
OpLtstSchedldExecStrtTme I_MfgOrderOperationDelay OpLtstSchedldExecStrtTme
OpLtstSchedldExecEndDte I_MfgOrderOperationDelay OpLtstSchedldExecEndDte Lat.finish date
OpLtstSchedldExecEndTme I_MfgOrderOperationDelay OpLtstSchedldExecEndTme
OpActualExecutionStartDate I_MfgOrderOperationDelay OpActualExecutionStartDate Execution Start Date
OpActualExecutionStartTime I_MfgOrderOperationDelay OpActualExecutionStartTime
OpActualExecutionEndDate I_MfgOrderOperationDelay OpActualExecutionEndDate Execution End Date
OpActualExecutionEndTime I_MfgOrderOperationDelay OpActualExecutionEndTime
OperationExecutionEndIsLate I_MfgOrderOperationDelay OperationExecutionEndIsLate
OperationExecutionStartIsLate I_MfgOrderOperationDelay OperationExecutionStartIsLate
OperationYieldDeviationQty I_MfgOrderOperationDelay OperationYieldDeviationQty
PlannedCurrentStrtDateDvtnDurn I_MfgOrderOperationDelay PlannedCurrentStrtDateDvtnDurn
PlannedActualStartDateDvtnDurn I_MfgOrderOperationDelay PlannedActualStartDateDvtnDurn
PlannedCurrentEndDateDvtnDurn I_MfgOrderOperationDelay PlannedCurrentEndDateDvtnDurn
PlannedActualEndDateDvtnDurn I_MfgOrderOperationDelay PlannedActualEndDateDvtnDurn
00else0endasExecutionEndLatenessInHours
00else0endasExecutionStartLatenessInMins
OperationStartDeviationDays
PlannedEndDateDvtnInDays
ProductConfiguration I_MfgOrderOperationDelay ProductConfiguration
BillOfOperationsType I_MfgOrderOperationDelay BillOfOperationsType Task List Type
BillOfOperationsGroup I_MfgOrderOperationDelay BillOfOperationsGroup Group
BillOfOperationsVariant I_MfgOrderOperationDelay BillOfOperationsVariant Group Counter
BillOfOperationsVersion I_MfgOrderOperationDelay BillOfOperationsVersion Routing Version
SetupOpActyNtwkInstance I_MfgOrderOperationDelay SetupOpActyNtwkInstance
ProduceOpActyNtwkInstance I_MfgOrderOperationDelay ProduceOpActyNtwkInstance
TeardownOpActyNtwkInstance I_MfgOrderOperationDelay TeardownOpActyNtwkInstance
ManufacturingObject _MfgOrderBasic ObjectInternalID Object number
InspectionLotelseendasInspectionLot
EffectivityParameterVariant _MfgOrderBasic EffectivityParameterVariant
BOOVersionChangeRecordIsRqd
MasterProductionOrder _MfgOrderBasic MasterProductionOrder
ProductSeasonYear _MfgOrderBasic ProductSeasonYear Season Year
ProductSeason _MfgOrderBasic ProductSeason Season
ProductCollection _MfgOrderBasic ProductCollection Collection
ProductTheme _MfgOrderBasic ProductTheme Theme
StockSegment _MfgOrderBasic StockSegment Stock Segment
Reservation _MfgOrderBasic Reservation Reservation
ProductionUnit _MfgOrderBasic ProductionUnit
OrderInternalID P_MfgOperationsList OrderInternalID Plan No.f.Oper.
_MfgOrder _MfgOrderBasic
_WorkCenterBySemanticKey I_MfgOrderOperationDelay _WorkCenterBySemanticKey
_ProductionPlant I_MfgOrderOperationDelay _ProductionPlant
_OperationUnit I_MfgOrderOperationDelay _OperationUnit
_Material _MfgOrderBasic _Material
_OrdInternalBillOfOperations I_MfgOrderOperationDelay _OrdInternalBillOfOperations
_MfgOrderSequence I_MfgOrderOperationDelay _MfgOrderSequence
_MfgOrderCategory I_MfgOrderOperationDelay _MfgOrderCategory
_MfgOrderType I_MfgOrderOperationDelay _MfgOrderType
_ProductionSupervisor I_MfgOrderOperationDelay _ProductionSupervisor
_WorkCenter I_MfgOrderOperationDelay _WorkCenter
_WorkCenterType I_MfgOrderOperationDelay _WorkCenterType
_MRPController I_MfgOrderOperationDelay _MRPController

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_ManageOperationsTP.
-- 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: IMPEMANOPERTP

CREATE VIEW I_ManageOperationsTP AS
SELECT
  _OrderOperation.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
  _OrderOperation.OrderIntBillOfOperationsItem AS OrderIntBillOfOperationsItem,
  cast(_OrderOperation.ManufacturingOrder as aufnr preserving type) AS ManufacturingOrder,
  _OrderOperation.MfgOrderOperationText AS MfgOrderOperationText,
  cast (case _MfgOrderBasic.SerialNumberProfile when '' then '' else 'X' end as boolean preserving type ) AS SerialNmbrAssgmtProfileIsAssgd,
  _MfgOrderBasic._Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
  _MfgOrderBasic.Material AS Material,
  _MfgOrderBasic.Batch AS Batch,
  _MfgOrderBasic.SalesOrder AS SalesOrder,
  _MfgOrderBasic.SalesOrderItem AS SalesOrderItem,
  _IsFlexible.ProdnProcgIsFlexible AS ProdnProcgIsFlexible,
  _IsFlexible._ProdnProcgFlexibilityIndTxt.ProdnProcgFlexibilityIndName AS ProdnProcgFlexibilityIndName,
  _OrderOperation.ManufacturingOrderSequence AS ManufacturingOrderSequence,
  _OrderOperation.ProductionPlant AS ProductionPlant,
  _OrderOperation.WorkCenterInternalID AS WorkCenterInternalID,
  _OrderOperation.WorkCenter AS WorkCenter,
  _OrderOperation.WorkCenterTypeCode AS WorkCenterTypeCode,
  _OrderOperation.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  _OrderOperation.ManufacturingOrderType AS ManufacturingOrderType,
  _OrderOperation.ProductionSupervisor AS ProductionSupervisor,
  _OrderOperation.MRPController AS MRPController,
  _MRPController.MRPControllerName AS MRPControllerName,
  _OrderOperation.NumberOfConfirmationSlips AS NumberOfConfirmationSlips,
  _OrderOperation.OperationImportance AS OperationImportance,
  _OrderOperation.NumberOfTimeTickets AS NumberOfTimeTickets,
  cast(_OrderOperation.OperationControlProfile as steus preserving type) AS OperationControlProfile,
  _OrderOperation.OperationIsClosed AS OperationIsClosed,
  _OrderOperation.OperationIsTechlyCompleted AS OperationIsTechlyCompleted,
  _OrderOperation.OperationIsDelivered AS OperationIsDelivered,
  _OrderOperation.OperationIsPartiallyDelivered AS OperationIsPartiallyDelivered,
  _OrderOperation.OperationIsPartiallyConfirmed AS OperationIsPartiallyConfirmed,
  _OrderOperation.OperationIsPrinted AS OperationIsPrinted,
  _OrderOperation.OperationIsReleased AS OperationIsReleased,
  _OrderOperation.OperationIsCreated AS OperationIsCreated,
  _OrderOperation.OperationIsScheduled AS OperationIsScheduled,
  _OrderOperation.OperationIsConfirmed AS OperationIsConfirmed,
  _OrderOperation.OperationIsDeleted AS OperationIsDeleted,
  _OrderOperation.OpPlannedTotalQuantity AS OpPlannedTotalQuantity,
  _OrderOperation.OpTotalConfirmedYieldQty AS OpTotalConfirmedYieldQty,
  _OrderOperation.OperationReferenceQuantity AS OperationReferenceQuantity,
  _OrderOperation.OpPlannedScrapQuantity AS OpPlannedScrapQuantity,
  _OrderOperation.OperationConfirmedReworkQty AS OperationConfirmedReworkQty,
  _OrderOperation.OpTotalConfirmedScrapQty AS OpTotalConfirmedScrapQty,
  _OrderOperation.OperationUnit AS OperationUnit,
  _OrderOperation.GoodsRecipientName AS GoodsRecipientName,
  _OrderOperation.UnloadingPointName AS UnloadingPointName,
  _OrderOperation.OpLtstSchedldExecStrtDte AS OpLtstSchedldExecStrtDte,
  _OrderOperation.OpLtstSchedldExecStrtTme AS OpLtstSchedldExecStrtTme,
  _OrderOperation.OpLtstSchedldExecEndDte AS OpLtstSchedldExecEndDte,
  _OrderOperation.OpLtstSchedldExecEndTme AS OpLtstSchedldExecEndTme,
  _OrderOperation.OpActualExecutionStartDate AS OpActualExecutionStartDate,
  _OrderOperation.OpActualExecutionStartTime AS OpActualExecutionStartTime,
  _OrderOperation.OpActualExecutionEndDate AS OpActualExecutionEndDate,
  _OrderOperation.OpActualExecutionEndTime AS OpActualExecutionEndTime,
  _OrderOperation.OperationExecutionEndIsLate AS OperationExecutionEndIsLate,
  _OrderOperation.OperationExecutionStartIsLate AS OperationExecutionStartIsLate,
  _OrderOperation.OperationYieldDeviationQty AS OperationYieldDeviationQty,
  _OrderOperation.PlannedCurrentStrtDateDvtnDurn AS PlannedCurrentStrtDateDvtnDurn,
  _OrderOperation.PlannedActualStartDateDvtnDurn AS PlannedActualStartDateDvtnDurn,
  _OrderOperation.PlannedCurrentEndDateDvtnDurn AS PlannedCurrentEndDateDvtnDurn,
  _OrderOperation.PlannedActualEndDateDvtnDurn AS PlannedActualEndDateDvtnDurn,
  case when _OrderOperation.OperationExecutionEndIsLate = 'X' and _OrderOperation.OperationIsConfirmed = '' and _OrderOperation.OperationIsPartiallyConfirmed = 'X' and _OrderOperation.PlannedCurrentEndDateDvtnDurn > 0 then cast(_OrderOperation.PlannedCurrentEndDateDvtnDurn as abap.fltp) / 3600.00 when _OrderOperation.OperationExecutionEndIsLate = 'X' then cast(_OrderOperation.PlannedActualEndDateDvtnDurn as abap.fltp) / 3600.00 else 0 end as ExecutionEndLatenessInHours AS 00else0endasExecutionEndLatenessInHours,
  case when _OrderOperation.OperationExecutionStartIsLate = 'X' and _OrderOperation.OperationIsPartiallyConfirmed = '' and _OrderOperation.OperationIsReleased = 'X' and _OrderOperation.OperationIsConfirmed = '' and _OrderOperation.PlannedCurrentStrtDateDvtnDurn > 0 then (cast(_OrderOperation.PlannedCurrentStrtDateDvtnDurn as abap.fltp) / 60.00) when _OrderOperation.OperationExecutionStartIsLate = 'X' then (cast(_OrderOperation.PlannedActualStartDateDvtnDurn as abap.fltp) / 60.00) else 0 end as ExecutionStartLatenessInMins AS 00else0endasExecutionStartLatenessInMins,
  cast(_OrderOperation.PlannedCurrentStrtDateDvtnDurn as abap.fltp)/ 86400.00 AS OperationStartDeviationDays,
  cast(_OrderOperation.PlannedCurrentEndDateDvtnDurn as abap.fltp)/ 86400.00 AS PlannedEndDateDvtnInDays,
  _OrderOperation.ProductConfiguration AS ProductConfiguration,
  _OrderOperation.BillOfOperationsType AS BillOfOperationsType,
  _OrderOperation.BillOfOperationsGroup AS BillOfOperationsGroup,
  _OrderOperation.BillOfOperationsVariant AS BillOfOperationsVariant,
  _OrderOperation.BillOfOperationsVersion AS BillOfOperationsVersion,
  _OrderOperation.SetupOpActyNtwkInstance AS SetupOpActyNtwkInstance,
  _OrderOperation.ProduceOpActyNtwkInstance AS ProduceOpActyNtwkInstance,
  _OrderOperation.TeardownOpActyNtwkInstance AS TeardownOpActyNtwkInstance,
  _MfgOrderBasic.ObjectInternalID AS ManufacturingObject,
  case _MfgOrderBasic._InspectionLot.InspectionLotType when '03' then _MfgOrderBasic.InspectionLot else ' ' end as InspectionLot AS InspectionLotelseendasInspectionLot,
  _MfgOrderBasic.EffectivityParameterVariant AS EffectivityParameterVariant,
  _MfgOrderBasic._BillOfOperations._BillOfOperationsVersionType.BOOVersionChangeRecordIsRqd AS BOOVersionChangeRecordIsRqd,
  _MfgOrderBasic.MasterProductionOrder AS MasterProductionOrder,
  _MfgOrderBasic.ProductSeasonYear AS ProductSeasonYear,
  _MfgOrderBasic.ProductSeason AS ProductSeason,
  _MfgOrderBasic.ProductCollection AS ProductCollection,
  _MfgOrderBasic.ProductTheme AS ProductTheme,
  _MfgOrderBasic.StockSegment AS StockSegment,
  _MfgOrderBasic.Reservation AS Reservation,
  _MfgOrderBasic.ProductionUnit AS ProductionUnit,
  _AORListDistinct.OrderInternalID AS OrderInternalID,
  _OrderOperation._WorkCenterBySemanticKey AS _WorkCenterBySemanticKey,
  _OrderOperation._ProductionPlant AS _ProductionPlant,
  _OrderOperation._OperationUnit AS _OperationUnit,
  _MfgOrderBasic._Material AS _Material,
  _OrderOperation._OrdInternalBillOfOperations AS _OrdInternalBillOfOperations,
  _OrderOperation._MfgOrderSequence AS _MfgOrderSequence,
  _OrderOperation._MfgOrderCategory AS _MfgOrderCategory,
  _OrderOperation._MfgOrderType AS _MfgOrderType,
  _OrderOperation._ProductionSupervisor AS _ProductionSupervisor,
  _OrderOperation._WorkCenter AS _WorkCenter,
  _OrderOperation._WorkCenterType AS _WorkCenterType,
  _OrderOperation._MRPController AS _MRPController
FROM I_MfgOrderOperationDelay AS _OrderOperation
INNER JOIN P_MfgOperationsList AS _AORListDistinct ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProductionRoutingVersion AS _ProductionRoutingVersion ON BillOfOperationsType = _ProductionRoutingVersion.BillOfOperationsType AND BillOfOperationsGroup = _ProductionRoutingVersion.BillOfOperationsGroup AND BillOfOperationsVariant = _ProductionRoutingVersion.BillOfOperationsVariant AND BillOfOperationsVersion = _ProductionRoutingVersion.BillOfOperationsVersion  -- association [0..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _MfgOrderBasic ON _MfgOrderBasic.ManufacturingOrderCategory = '10' AND _AORListDistinct.OrderInternalID = _MfgOrderBasic.MfgOrderInternalID  -- association [1..1]
LEFT OUTER JOIN P_ProdnProcgIsFlexible AS _IsFlexible ON _AORListDistinct.OrderInternalID = _IsFlexible.MfgOrderInternalID  -- association [0..1]
LEFT OUTER JOIN E_OrderOperation AS _Extension ON OrderInternalBillOfOperations = _Extension.OrderInternalID AND OrderIntBillOfOperationsItem = _Extension.OrderOperationInternalID  -- association [1..1]
;