I_ORDEROPERATIONBASIC

CDS View

Order Operation Basic

I_ORDEROPERATIONBASIC is a CDS View in S/4HANA. Order Operation Basic. It contains 46 fields. 76 CDS views read from this table.

CDS Views using this table (76)

ViewTypeJoinVDMDescription
A_ProcOrdConfirmation_2 view_entity left_outer COMPOSITE Process Order Confirmation
A_ProductionOrderConf_2 view_entity left_outer COMPOSITE Production Order Confirmation
C_HCMTimeShtOpActivity view_entity from CONSUMPTION HCM Timesheet Operation Activity Number
C_HCMTimeShtSubop view_entity from CONSUMPTION HCM Timesheet Suboperation
C_HCMTimeShtSubop view_entity inner CONSUMPTION HCM Timesheet Suboperation
C_MfgOrdOpForReworkInsertion view inner CONSUMPTION Order operation for rework insertion
C_MfgQualifnOpActyAssgmt view inner CONSUMPTION Qualification Assignment to OA
C_OpActyInstancePlannedData view_entity inner CONSUMPTION OperationActivityInstance
C_OpActyProcessingStatus view inner CONSUMPTION
C_SFIAtOpActyPlndMatlRet view inner CONSUMPTION Shop Floor Item At OA Planned Material Return
C_SFIOpActyNonTrcblUsedPRT view_entity inner CONSUMPTION SFI used non traceable PRT
C_SFOOpActyNonTrcblUsedPRT view_entity inner CONSUMPTION Shop floor order used non traceable PRT
C_ShopFloorItemAtOpActyComp view inner CONSUMPTION Shop Floor Item At OA Component
C_ShopFloorItemOperationActy view inner CONSUMPTION Shop Floor Item Operation Activity
C_ShopFloorItemSkippedOpActy view inner CONSUMPTION Shop Floor Item Skipped OA
C_ShopFloorOrderOperationActy view inner CONSUMPTION Shop Floor Order Operation Activity
C_WrkCtrMntrOperationSequence view left_outer CONSUMPTION Sequence of Order Operations
FAC_AUDIT_Z3_OperationOrder view from Operation Order
I_ActvShopFloorItemAtOpActyVH view inner COMPOSITE Active shop floor items at operation activity
I_MfgOpActyAssgdToOptr view inner COMPOSITE Activities assigned to Operator
I_MfgOrderOperationBasic view from BASIC Manufacturing Order Operation Basic
I_MfgOrderOperationCompWithSts view inner COMPOSITE Manufacturing Order Component with Header Status
I_MfgOrderOperationPRT view inner COMPOSITE Mfg Order Operation Production Resource Tool
I_OpActyInstanceBasic view_entity inner COMPOSITE Basic data of an Operation Activity Instance
I_OrderOperationBySemKey view_entity from BASIC Order Operation Basic
I_OrderOperationStatusBasic view_entity from COMPOSITE Order Operation Status Basic
I_RSHMaintOperationAssgmtTP view from TRANSACTIONAL Maintenance Operation Assignment TP
I_RSHMaintSchedSmltdOp view inner COMPOSITE Maint Scheduling Simulation Operations
I_RSHOperationAndSubOperation view from COMPOSITE Maintenance Order Operation and Suboperation
I_ShopFloorItemAtOpActy view inner COMPOSITE Shop Floor Item At Operation Activity
I_TrackToolUsageOpActyEquip view inner COMPOSITE List of OAs for Equipment
P_MfgExecEventHistOperation view from COMPOSITE
P_MfgExecEventHistOperation view inner COMPOSITE
P_MfgInspCharcHistory view inner COMPOSITE
P_MfgOperationsList view_entity inner COMPOSITE Operations matching the assigned AORs
P_MfgOrderAORList view_entity inner COMPOSITE Orders matching the assigned _AORs
P_MfgOrderNmbrOfWrkCtrHolds view from CONSUMPTION
P_MfgOrderOperationHold view from CONSUMPTION
P_MfgOrderOperationStatus view_entity from COMPOSITE
P_MfgOrderOperHoldUnionBasic view inner CONSUMPTION
P_MfgOrderOperNumberOfHolds view from CONSUMPTION
P_MfgOrdOpActiveInQueueSFI view from COMPOSITE
P_MfgOrdOpActyPlanInspChar view inner CONSUMPTION
P_MfgOrdOpNotInitialSFI view from COMPOSITE
P_MfgOrdOpSerialNumberForSplit view inner CONSUMPTION Serial Number that can be split at an Order Operation
P_OpActyAffectedByProdnHold view inner COMPOSITE
P_OpActyAllManufacturingUsers view inner COMPOSITE
P_OpActyInstanceAssembledComp2 view inner COMPOSITE
P_OpActyInstceEquipActvRegn view_entity inner CONSUMPTION
P_OperationAffectedByProdnHold view_entity from COMPOSITE
P_OrderOperationStatus view_entity from COMPOSITE
P_ProcOrdAORList view_entity inner COMPOSITE Process Orders for AOR
P_ProcOrdMgmtOp view from COMPOSITE
P_ProcOrdMgmtOperationBasic view from COMPOSITE
P_ProcOrdOpStatus view from COMPOSITE
P_ProdOrdMgmtOp view_entity from COMPOSITE
P_ProductionHoldEnhcd view inner COMPOSITE
P_RSHDueOperForKPIDetails view inner CONSUMPTION Past Order Operation KPI Details
P_RSHMaintCallOrderProcStatus view inner CONSUMPTION Processing Status for Maint. Call Orders
P_RSHMaintSchedAddlConfBase view from CONSUMPTION Confirmations for operations not in schedule
P_RSHMaintSchedAddlDispOp view from CONSUMPTION Additional dispatched operations in frozen schedule
P_RSHMaintSchedOperations view inner CONSUMPTION Operations from frozen schedule
P_RSHMaintSchedSmltdDueStatus view inner CONSUMPTION Processing Status
P_RSHMntSchdOrdOpWOExplRel view inner CONSUMPTION Schedule Operations w/o explicit rel
P_RSHOperationsForKPIDetails view inner CONSUMPTION Order KPI Details
P_RSHOrderProcessingStatus view inner CONSUMPTION Processing Status for Orders
P_RSHOrdOpForImplicitRel view inner CONSUMPTION Schedule Operations w/o explicit rel
P_RSHPastOperForKPIDetails view inner CONSUMPTION Past Order Operation KPI Details
P_SFIAtOperationActivityBasic view_entity inner COMPOSITE
P_SFIOpActyInstceEquipActvRegn view_entity inner CONSUMPTION
P_SFIOpActyPlanInspChar view inner CONSUMPTION
P_SFIOpActyTrcblUsedPRT view_entity inner CONSUMPTION
P_SFOOpActyTrcblUsedPRT view_entity inner CONSUMPTION
P_ShopFloorOrderHoldUnion view inner CONSUMPTION
P_TrackToolUsageSingleOpActy view inner COMPOSITE
R_ProcessOrderComponentTP view_entity inner TRANSACTIONAL Process Order Component - TP

Fields (46)

KeyField CDS FieldsUsed in Views
KEY Operation_2 ManufacturingOrderOperation_2,Operation,OrderOperation,StdNetworkActivity,SubOperation 7
KEY OperationConfirmation MaintOrderConfirmation,OperationConfirmation 4
KEY OrderInternalID MaintOrderRoutingNumber,MfgOrderInternalID,OrderInternalID 26
KEY OrderOperationInternalID MaintOrderOperationCounter,OrderOperationInternalID 27
KEY Sequence ManufacturingOrderSequence,Sequence 7
_OrderInternalID _OrderInternalID 9
_WorkCenterByInternalID _WorkCenterByInternalID 2
ActualNumberOfSplits ActualNumberOfSplits 1
BillOfOperationsGroup BillOfOperationsGroup 5
BillOfOperationsSequence BillOfOperationsSequence 2
BillOfOperationsType BillOfOperationsType 5
BillOfOperationsVariant BillOfOperationsVariant 4
BillOfOperationsVersion BillOfOperationsVersion 4
BOOOperationInternalID BOOOperationInternalID 3
CapacityRequirement CapacityRequirement 1
ChangeNumber ChangeNumber 1
CostCtrActivityType CostCtrActivityType 2
Equipment OperationEquipment 2
FactoryCalendar FactoryCalendar 1
FunctionalLocation OperationFunctionalLocation,RelevantOperationFuncLocation 2
Language Language 4
MaintOperationExecStageCode MaintOperationExecStageCode 2
MaintOrdOpProcessPhaseCode MaintOrdOpProcessPhaseCode 2
MaintOrdOpProcessSubPhaseCode MaintOrdOpProcessSubPhaseCode 2
MfgOrderOperationIsPhase MfgOrderOperationIsPhase 4
NumberOfCapacities NumberOfCapacities 4
NumberOfOperationConfirmations NumberOfOperationConfirmations 1
ObjectInternalID MaintOrderOperationInternalID,ObjectInternalID 11
Operation MaintenanceOrderOperation,ManufacturingOrderOperation,Operation 14
OperationControlProfile OperationControlKey,OperationControlProfile 9
OperationImportance OperationImportance 1
OperationPersonResponsible OperationPersonResponsible,OperationPersonResponsibleID 6
OperationScrapPercent OperationScrapPercent 1
OperationSecondText OperationSecondText 1
OperationSystemCondition OperationSystemCondition 2
OperationText MfgOrderOperationText,OperationDescription,OperationText 21
OrderIntBillOfOpItemOfPhase OrderIntBillOfOpItemOfPhase 1
Plant Plant,ProductionPlant 27
ProduceOpActyNtwkInstance ProduceOpActyNtwkInstance 1
SetupOpActyNtwkInstance SetupOpActyNtwkInstance 1
StandardTextInternalID StandardTextInternalID 1
SuperiorOperationInternalID SuperiorOperationInternalID 6
TeardownOpActyNtwkInstance TeardownOpActyNtwkInstance 1
WorkCenterInternalID WorkCenterInternalID 21
WorkCenterTypeCode WorkCenterTypeCode 11
WorkCenterTypeCode_2 WorkCenterTypeCode,WorkCenterTypeCode_2 2
@AbapCatalog.sqlViewName: 'IORDEROPBASIC'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AccessControl.privilegedAssociations: ['_LongText']
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type: #CLIENT_DEPENDENT
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE]
@ObjectModel.representativeKey: 'OrderOperationInternalID'
@ObjectModel.semanticKey: ['OrderInternalID', 'OrderOperationInternalID']
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API  // status "not to be released - but kept stable"

@VDM.viewType: #BASIC
@EndUserText.label: 'Order Operation Basic'
// Basic reuse view for order operations' main table AFVC 

// For reuse view including joins to AFVV and AFVU refer to CDS I_OrderOperation

// Due to the high number of consumers, this CDS view is protected against incompatible changes


define view I_OrderOperationBasic
  as select from afvc as afvc

  association [1..1] to I_OrderInternalID as _OrderInternalID        on  $projection.OrderInternalID = _OrderInternalID.OrderInternalID
  association [0..1] to I_Currency        as _Currency               on  $projection.Currency = _Currency.Currency
  association [0..1] to I_WorkCenter      as _WorkCenterByInternalID on  _WorkCenterByInternalID.WorkCenterTypeCode = 'A '
                                                                     and $projection.WorkCenterInternalID = _WorkCenterByInternalID.WorkCenterInternalID
  association [0..1] to I_OrderOperationLongText as _LongText        on  $projection.OrderInternalID          = _LongText.OrderInternalID
                                                                     and $projection.OrderOperationInternalID = _LongText.OrderOperationInternalID
{
      // Key

      @ObjectModel.foreignKey.association: '_OrderInternalID'
  key afvc.aufpl as OrderInternalID,
  key afvc.aplzl as OrderOperationInternalID,

      // Semantic key

      afvc.aplfl as Sequence,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: 'Operation_2'
      afvc.vornr as Operation,                                      // with conv. exit NUMCV

      cast(afvc.vornr as vdm_vornr preserving type) as Operation_2, // without conversion exit


      // Text

      afvc.ktsch as StandardTextInternalID,
      @Semantics.text: true
      afvc.ltxa1 as OperationText,
      @Semantics.text: true
      afvc.ltxa2 as OperationSecondText,
      afvc.txtsp as Language,
      cast(case 
             when afvc.txtsp <> '' then 'X'
             else afvc.txtsp
      end as aufltext preserving type)                     as OperationHasLongText,

      // BOO data

      afvc.plnfl as BillOfOperationsSequence,
      afvc.plnty as BillOfOperationsType,
      afvc.plnnr as BillOfOperationsGroup,
      afvc.plnal as BillOfOperationsVariant,
      afvc.plnkn as BOOOperationInternalID,
      afvc.tl_versn as BillOfOperationsVersion,

      // Assignments

      afvc.sumnr as SuperiorOperationInternalID,
      afvc.steus as OperationControlProfile,
      afvc.arbid as WorkCenterInternalID,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: 'WorkCenterTypeCode_2'
      'A'        as WorkCenterTypeCode,  // do not use for associations

      'A '       as WorkCenterTypeCode_2,
      afvc.werks as Plant,
      afvc.kalid as FactoryCalendar,
      afvc.objnr as ObjectInternalID,
      afvc.bedid as CapacityRequirement,
      afvc.bedzl as CapacityRequirementItem,
      afvc.anzzl as NumberOfCapacities,
      afvc.mlstn as UsageCode,
      afvc.istru as Assembly,
      cast(afvc.projn as ps_s4_proj_pspnr preserving type) as ProjectInternalID,
      afvc.rueck as OperationConfirmation,
      afvc.rmzhl as NumberOfOperationConfirmations,
      afvc.aennr as ChangeNumber,
      afvc.pernr as OperationPersonResponsible,
      afvc.equnr as Equipment,
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: 'FunctionalLocation_2'
      afvc.tplnr as FunctionalLocation,                                             // with conv. exit NUMCV

      cast(afvc.tplnr as vdm_eam_tplnr preserving type)    as FunctionalLocation_2, // without conversion exit


      // Subcontracting/Purchasing

      afvc.sortl as OperationPurgInfoRecdSearchTxt,
      @Semantics.booleanIndicator
      afvc.frdlb as ExtProcgOperationHasSubcontrg,
      afvc.kzfix as PurgInfoRecdDataIsFixed,
      afvc.infnr as PurchasingInfoRecord,
      afvc.esokz as PurchasingInfoRecordCategory,
      afvc.ekorg as PurchasingOrganization,
      afvc.ekgrp as PurchasingGroup,
      afvc.banfn as PurchaseRequisition,
      afvc.bnfpo as PurchaseRequisitionItem,
      afvc.ebeln as PurchasingDocument,
      afvc.ebelp as PurchasingDocumentItem,
      afvc.matkl as MaterialGroup,
      afvc.wempf as GoodsRecipientName,
      afvc.ablad as UnloadingPointName,

      // FI/CO Data

      afvc.bukrs as CompanyCode,
      afvc.gsber as BusinessArea,
      afvc.prctr as ProfitCenter,
      afvc.sakto as CostElement,
      afvc.klvar as CostingVariant,
      afvc.kalnr as CostEstimate,
      afvc.kalsm as CostingSheet,
      afvc.anfko as RequestingCostCenter,
      afvc.indet as OperationCalculationControl,
      afvc.selkz as OperationCostingRelevancyType,
      afvc.netzkont as NtwkAccountAssignmentCode,
      afvc.clasf as ActyIsTakenAcctForProjSmmry,
      afvc.owaer as ControllingObjectCurrency,
      cast(afvc.scope as pph_scope preserving type) as ControllingObjectClass,
      afvc.txjcd as TaxJurisdiction,
      afvc.func_area as FunctionalArea,
      afvc.larnt as CostCtrActivityType,
      @Semantics.currencyCode: true
      afvc.waers as Currency,
      @Aggregation.default: #SUM
      @Semantics.amount.currencyCode: 'Currency'
      afvc.prkst as PlannedActivityCost,
      
      // Setup and Overlapping

      afvc.rfgrp as OperationSetupGroupCategory,
      afvc.rfsch as OperationSetupGroup, 
      afvc.rasch as OperationSetupType,
      afvc.uemus as OperationOverlappingIsRequired,
      afvc.uekan as OperationOverlappingIsPossible,
      afvc.flies as OperationsIsAlwaysOverlapping,
      afvc.spmus as OperationSplitIsRequired,
      afvc.splim as MaximumNumberOfSplits,
      afvc.rstra as LeadTimeReductionStrategy,
      afvc.zschl as OverheadCode,

      // Others

      afvc.phflg as MfgOrderOperationIsPhase,
      afvc.pvzkn as OrderIntBillOfOpItemOfPhase,
      afvc.nprio as OperationImportance,
      afvc.spanz as ActualNumberOfSplits,
      afvc.loekz as OperationIsToBeDeleted,
      afvc.pprio as NetworkActivityPriority,
      afvc.aufak as OperationScrapPercent,
      afvc.anlzu as OperationSystemCondition,
      afvc.prznt as OperationWorkPercent,
      
      // EAM

      cast(afvc.maintopexecutionphasecode as eam_premainpost_cds preserving type) as MaintOperationExecStageCode,
      afvc.maintordopprocessphasecode                                             as MaintOrdOpProcessPhaseCode,
      afvc.maintordopprocesssubphasecode                                          as MaintOrdOpProcessSubPhaseCode,      
      
      // OAN specific fields

      afvc.oan_inst_id_setup    as SetupOpActyNtwkInstance,
      afvc.oan_inst_id_produce  as ProduceOpActyNtwkInstance,
      afvc.oan_inst_id_teardown as TeardownOpActyNtwkInstance,
      
      // Associations

      _OrderInternalID,
      _Currency,
      _WorkCenterByInternalID,
      _LongText
};