I_OperationActivityInstance
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)
| Source | Alias | Join Type |
|---|---|---|
| mpe_oa_instance | oa | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_OPACTYSFIGROUP_EXECUTE | UI_OPACTYSFIGROUP_EXECUTE | V2 | C1 | NOT_RELEASED |
| UI_OPACTYSFIGROUP_MANAGE | UI_OPACTYSFIGROUP_MANAGE | V2 | C1 | NOT_RELEASED |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA