I_OrderOperationBasic

DDL: I_ORDEROPERATIONBASIC SQL: IORDEROPBASIC Type: view BASIC

Order Operation Basic

I_OrderOperationBasic is a Basic CDS View (Dimension) that provides data about "Order Operation Basic" in SAP S/4HANA. It reads from 1 data source (afvc) and exposes 98 fields with key fields OrderInternalID, OrderOperationInternalID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
afvc afvc from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_OrderInternalID _OrderInternalID $projection.OrderInternalID = _OrderInternalID.OrderInternalID
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..1] I_WorkCenter _WorkCenterByInternalID _WorkCenterByInternalID.WorkCenterTypeCode = 'A ' and $projection.WorkCenterInternalID = _WorkCenterByInternalID.WorkCenterInternalID
[0..1] I_OrderOperationLongText _LongText $projection.OrderInternalID = _LongText.OrderInternalID and $projection.OrderOperationInternalID = _LongText.OrderOperationInternalID

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IORDEROPBASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey OrderOperationInternalID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Order Operation Basic view

Fields (98)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalID afvc aufpl TaskList No.Ops
KEY OrderOperationInternalID afvc aplzl Plan No.f.Oper.
Sequence afvc aplfl Sequence
Operation afvc vornr Operation
Operation_2
StandardTextInternalID afvc ktsch Std Text Key
OperationText afvc ltxa1 Short Text
OperationSecondText afvc ltxa2 Description
Language afvc txtsp Language
BillOfOperationsSequence afvc plnfl Sequence
BillOfOperationsType afvc plnty Task List Type
BillOfOperationsGroup afvc plnnr Task List Group
BillOfOperationsVariant afvc plnal Referenced BOO Variant
BOOOperationInternalID afvc plnkn Task list node
BillOfOperationsVersion afvc tl_versn Routing Version
SuperiorOperationInternalID afvc sumnr Sup. Op. Node
OperationControlProfile afvc steus Control Key
WorkCenterInternalID afvc arbid WorkCtrGp plan.
WorkCenterTypeCode
WorkCenterTypeCode_2
Plant afvc werks Receiving Plant
FactoryCalendar afvc kalid Pub.hol.cal.ID
ObjectInternalID afvc objnr Val. Obj. No.
CapacityRequirement afvc bedid Id number
CapacityRequirementItem afvc bedzl Counter
NumberOfCapacities afvc anzzl Number
UsageCode afvc mlstn Usage
Assembly afvc istru Assembly
ProjectInternalID
OperationConfirmation afvc rueck Return Agmt
NumberOfOperationConfirmations afvc rmzhl Counter
ChangeNumber afvc aennr Change Number
OperationPersonResponsible afvc pernr Personnel no.
Equipment afvc equnr Equipment
FunctionalLocation afvc tplnr Functional loc.
FunctionalLocation_2
OperationPurgInfoRecdSearchTxt afvc sortl Sort Term
ExtProcgOperationHasSubcontrg afvc frdlb Subcontracting
PurgInfoRecdDataIsFixed afvc kzfix Price_fixed
PurchasingInfoRecord afvc infnr Info Record
PurchasingInfoRecordCategory afvc esokz Infotype
PurchasingOrganization afvc ekorg Purchasing Org.
PurchasingGroup afvc ekgrp Sub. purchasing grp
PurchaseRequisition afvc banfn Requisition
PurchaseRequisitionItem afvc bnfpo Requisn. item
PurchasingDocument afvc ebeln Source PurchDoc
PurchasingDocumentItem afvc ebelp Item pur. doc.
MaterialGroup afvc matkl Product Sold Group
GoodsRecipientName afvc wempf Recipient
UnloadingPointName afvc ablad Unloading Point
CompanyCode afvc bukrs Value
BusinessArea afvc gsber Business Area
ProfitCenter afvc prctr Profit Centers
CostElement afvc sakto G/L Account
CostingVariant afvc klvar Costing Variant
CostEstimate afvc kalnr ProdCostEst.No.
CostingSheet afvc kalsm Search Proced.
RequestingCostCenter afvc anfko Rqstg Cost Cntr
OperationCalculationControl afvc indet Calculation key
OperationCostingRelevancyType afvc selkz Selection
NtwkAccountAssignmentCode afvc netzkont Account assgnt
ActyIsTakenAcctForProjSmmry afvc clasf Summarization
ControllingObjectCurrency afvc owaer Object Currency
ControllingObjectClass
TaxJurisdiction afvc txjcd Tax Jurisdict.
FunctionalArea afvc func_area Receiving Func. Area
CostCtrActivityType afvc larnt Activity Type
Currency afvc waers Transaction Currency
PlannedActivityCost afvc prkst Amount
OperationSetupGroupCategory afvc rfgrp Setup group cat
OperationSetupGroup afvc rfsch Setup group key
OperationSetupType afvc rasch Setup Type Key
OperationOverlappingIsRequired afvc uemus Req.Overlapping
OperationOverlappingIsPossible afvc uekan Opt.Overlapping
OperationsIsAlwaysOverlapping afvc flies Flow Manufact.
OperationSplitIsRequired afvc spmus Splitting Reqd
MaximumNumberOfSplits afvc splim No. of Splits
LeadTimeReductionStrategy afvc rstra Red. Strategy
OverheadCode afvc zschl Overhead key
MfgOrderOperationIsPhase afvc phflg Ind.: Phase
OrderIntBillOfOpItemOfPhase afvc pvzkn Node
OperationImportance afvc nprio Priority
ActualNumberOfSplits afvc spanz No. of splits
OperationIsToBeDeleted afvc loekz Status
NetworkActivityPriority afvc pprio Priority
OperationScrapPercent afvc aufak Scrap
OperationSystemCondition afvc anlzu SystemCondition
OperationWorkPercent afvc prznt Time interval %
MaintOperationExecStageCode
MaintOrdOpProcessPhaseCode afvc maintordopprocessphasecode Process Phase
MaintOrdOpProcessSubPhaseCode afvc maintordopprocesssubphasecode Process Subphase
SetupOpActyNtwkInstance afvc oan_inst_id_setup Instance ID
ProduceOpActyNtwkInstance afvc oan_inst_id_produce Instance ID
TeardownOpActyNtwkInstance afvc oan_inst_id_teardown Instance ID
_OrderInternalID _OrderInternalID
_Currency _Currency
_WorkCenterByInternalID _WorkCenterByInternalID
_LongText _LongText

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_OrderOperationBasic.
-- 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: IORDEROPBASIC

CREATE VIEW I_OrderOperationBasic AS
SELECT
  afvc.aufpl AS OrderInternalID,
  afvc.aplzl AS OrderOperationInternalID,
  afvc.aplfl AS Sequence,
  afvc.vornr AS Operation,
  cast(afvc.vornr as vdm_vornr preserving type) AS Operation_2,
  afvc.ktsch AS StandardTextInternalID,
  afvc.ltxa1 AS OperationText,
  afvc.ltxa2 AS OperationSecondText,
  afvc.txtsp AS Language,
  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,
  afvc.sumnr AS SuperiorOperationInternalID,
  afvc.steus AS OperationControlProfile,
  afvc.arbid AS WorkCenterInternalID,
  'A' AS WorkCenterTypeCode,
  '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,
  afvc.tplnr AS FunctionalLocation,
  cast(afvc.tplnr as vdm_eam_tplnr preserving type) AS FunctionalLocation_2,
  afvc.sortl AS OperationPurgInfoRecdSearchTxt,
  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,
  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,
  afvc.waers AS Currency,
  afvc.prkst AS PlannedActivityCost,
  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,
  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,
  cast(afvc.maintopexecutionphasecode as eam_premainpost_cds preserving type) AS MaintOperationExecStageCode,
  afvc.maintordopprocessphasecode AS MaintOrdOpProcessPhaseCode,
  afvc.maintordopprocesssubphasecode AS MaintOrdOpProcessSubPhaseCode,
  afvc.oan_inst_id_setup AS SetupOpActyNtwkInstance,
  afvc.oan_inst_id_produce AS ProduceOpActyNtwkInstance,
  afvc.oan_inst_id_teardown AS TeardownOpActyNtwkInstance
FROM afvc
LEFT OUTER JOIN I_OrderInternalID AS _OrderInternalID ON OrderInternalID = _OrderInternalID.OrderInternalID  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenterByInternalID ON _WorkCenterByInternalID.WorkCenterTypeCode = 'A ' AND WorkCenterInternalID = _WorkCenterByInternalID.WorkCenterInternalID  -- association [0..1]
LEFT OUTER JOIN I_OrderOperationLongText AS _LongText ON OrderInternalID = _LongText.OrderInternalID AND OrderOperationInternalID = _LongText.OrderOperationInternalID  -- association [0..1]
;