I_OperationActivityInstance

DDL: I_OPERATIONACTIVITYINSTANCE SQL: IMPEOAINST Type: view BASIC Package: MPE_EXEC_COMMON

Operation Activity Instance

I_OperationActivityInstance is a Basic CDS View that provides data about "Operation Activity Instance" in SAP S/4HANA. It reads from 1 data source (mpe_oa_instance) and exposes 18 fields with key fields OpActyNtwkInstance, OpActyNtwkElement. It has 5 associations to related views. It is exposed through 2 OData services (UI_OPACTYSFIGROUP_EXECUTE, UI_OPACTYSFIGROUP_MANAGE). Part of development package MPE_EXEC_COMMON.

Data Sources (1)

SourceAliasJoin Type
mpe_oa_instance oa from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_OpActyInstanceStatusBasic _OpActyInstanceStatusBasic $projection.OpActyNtwkInstance = _OpActyInstanceStatusBasic.OpActyNtwkInstance and $projection.OpActyNtwkElement = _OpActyInstanceStatusBasic.OpActyNtwkElement
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.ProductionUnit = _UnitOfMeasure.UnitOfMeasure
[1..1] I_OpActyNtwkInstance _OpActyNtwkInstance $projection.OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance
[1..1] I_OpActyNtwkInstanceBasic _OpActyNtwkInstanceBasic $projection.OpActyNtwkInstance = _OpActyNtwkInstanceBasic.OpActyNtwkInstance
[1..1] I_SASSchema _SASSchema $projection.StatusAndActionSchema = _SASSchema.StatusAndActionSchema

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMPEOAINST view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey OpActyNtwkElement view
VDM.viewType #BASIC view
EndUserText.label Operation Activity Instance view
AbapCatalog.preserveKey true view

OData Services (2)

ServiceBindingVersionContractRelease
UI_OPACTYSFIGROUP_EXECUTE UI_OPACTYSFIGROUP_EXECUTE V2 C1 NOT_RELEASED
UI_OPACTYSFIGROUP_MANAGE UI_OPACTYSFIGROUP_MANAGE V2 C1 NOT_RELEASED

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY OpActyNtwkInstance mpe_oa_instance oan_instance_id Instance ID
KEY OpActyNtwkElement mpe_oa_instance oan_element_number Element Number
StatusAndActionSchema mpe_oa_instance sas_name Status Action Schema
OpPlannedYieldQuantity mpe_oa_instance expd_yield OA Expected Yield
OpPlannedScrapQuantity mpe_oa_instance expd_scrap OA Expected Scrap
ProductionUnit mpe_oa_instance uom UoM: Conv. to
OpActyExpdExecDurnInSeconds expd_exec_durn Target Time (s)
OpActyExpdExecLaborDurnInSecs expd_exec_labor_time Target Time (s)
BillOfOperationsType plnty Task List Type
BillOfOperationsGroup plnnr Task List Group
BillOfOperationsVariant plnal Referenced BOO Variant
BOOOperationInternalID plnkn Task list node
BillOfOperationsVersion versn Version
_OpActyInstanceStatusBasic _OpActyInstanceStatusBasic
_UnitOfMeasure _UnitOfMeasure
_OpActyNtwkInstance _OpActyNtwkInstance
_OpActyNtwkInstanceBasic _OpActyNtwkInstanceBasic
_SASSchema _SASSchema

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_OperationActivityInstance.
-- 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: IMPEOAINST

CREATE VIEW I_OperationActivityInstance AS
SELECT
  oa.oan_instance_id AS OpActyNtwkInstance,
  oa.oan_element_number AS OpActyNtwkElement,
  oa.sas_name AS StatusAndActionSchema,
  oa.expd_yield AS OpPlannedYieldQuantity,
  oa.expd_scrap AS OpPlannedScrapQuantity,
  oa.uom AS ProductionUnit,
  expd_exec_durn AS OpActyExpdExecDurnInSeconds,
  expd_exec_labor_time AS OpActyExpdExecLaborDurnInSecs,
  plnty AS BillOfOperationsType,
  plnnr AS BillOfOperationsGroup,
  plnal AS BillOfOperationsVariant,
  plnkn AS BOOOperationInternalID,
  versn AS BillOfOperationsVersion
FROM mpe_oa_instance AS oa
LEFT OUTER JOIN I_OpActyInstanceStatusBasic AS _OpActyInstanceStatusBasic ON OpActyNtwkInstance = _OpActyInstanceStatusBasic.OpActyNtwkInstance AND OpActyNtwkElement = _OpActyInstanceStatusBasic.OpActyNtwkElement  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON ProductionUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_OpActyNtwkInstance AS _OpActyNtwkInstance ON OpActyNtwkInstance = _OpActyNtwkInstance.OpActyNtwkInstance  -- association [1..1]
LEFT OUTER JOIN I_OpActyNtwkInstanceBasic AS _OpActyNtwkInstanceBasic ON OpActyNtwkInstance = _OpActyNtwkInstanceBasic.OpActyNtwkInstance  -- association [1..1]
LEFT OUTER JOIN I_SASSchema AS _SASSchema ON StatusAndActionSchema = _SASSchema.StatusAndActionSchema  -- association [1..1]
;