P_OpActyConfirmationHistory
Operation Activity Confirmation History
P_OpActyConfirmationHistory is a Composite CDS View that provides data about "Operation Activity Confirmation History" in SAP S/4HANA. It reads from 2 data sources (I_OpActyConfirmationAction, I_OpActyConfirmation) and exposes 23 fields. It has 2 associations to related views. Part of development package MPE_EXEC_CONF.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_OpActyConfirmationAction | act | from |
| I_OpActyConfirmation | oac | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_OpActyNtwkInstanceBasic | _OpActyNtwkInstanceBasic | $projection.OpActyNtwkInstance = _OpActyNtwkInstanceBasic.OpActyNtwkInstance -- |
| [1..1] | I_OperationActivityInstance | _OperationActivityInstance | $projection.OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance -- and $projection.OpActyNtwkElement = _OperationActivityInstance.OpActyNtwkElement |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMPEOACHIST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| OperationActivityConfirmation | I_OpActyConfirmationAction | OperationActivityConfirmation | Document Number | |
| MfgExecutionDocumentItem | I_OpActyConfirmationAction | MfgExecutionDocumentItem | Item Number | |
| OpActyConfirmationDateTime | I_OpActyConfirmation | OpActyConfirmationDateTime | Executed On | |
| CreatedByUser | I_OpActyConfirmation | CreatedByUser | User Name | |
| CreationDateTime | I_OpActyConfirmation | CreationDateTime | Timestamp | |
| SortField | ||||
| ShopFloorItem | ||||
| OpActyNtwkInstance | I_OpActyConfirmation | OpActyNtwkInstance | Instance ID | |
| OpActyNtwkElement | I_OpActyConfirmation | OpActyNtwkElement | Element Number | |
| StatusAndActionSchema | ||||
| StatusAndActionSchema | ||||
| MfgProcgExecActionasMfgProcgExecAction | ||||
| ProductionUnit | ||||
| OpActyActualDurnInSeconds | I_OpActyConfirmation | OpActyActualDurnInSeconds | Actual Time (s) | |
| WorkCenterBsdNetDurnInSeconds | I_OpActyConfirmation | WorkCenterBsdNetDurnInSeconds | Duration (Op. Time) | |
| PostingIsRetroactive | I_OpActyConfirmation | PostingIsRetroactive | Retroactive Action | |
| MfgActionReasonCodeGroupCtlg | I_OpActyConfirmationAction | MfgActionReasonCodeGroupCtlg | Catalog | |
| MfgActionReasonCodeGroup | I_OpActyConfirmationAction | MfgActionReasonCodeGroup | Code Group | |
| ManufacturingActionReasonCode | I_OpActyConfirmationAction | ManufacturingActionReasonCode | Water Hazard Cl. | |
| SystemMessageIdentification | ||||
| MfgExecHistMsgVarblField2 | 8 | |||
| MfgExecHistMsgVarblField3 | 0 | |||
| MfgExecHistMsgVarblField4 | 0 |
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 P_OpActyConfirmationHistory.
-- 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: PMPEOACHIST
CREATE VIEW P_OpActyConfirmationHistory AS
SELECT
act.OperationActivityConfirmation AS OperationActivityConfirmation,
act.MfgExecutionDocumentItem AS MfgExecutionDocumentItem,
oac.OpActyConfirmationDateTime AS OpActyConfirmationDateTime,
oac.CreatedByUser AS CreatedByUser,
oac.CreationDateTime AS CreationDateTime,
cast(500 as rszsort) AS SortField,
cast(0 as mpe_sfi_id) AS ShopFloorItem,
oac.OpActyNtwkInstance AS OpActyNtwkInstance,
oac.OpActyNtwkElement AS OpActyNtwkElement,
cast('' as mpe_sasname_type) AS StatusAndActionSchema,
cast(oac.ConfirmationQuantityUnit as mpe_log_unit preserving type) AS ProductionUnit,
oac.OpActyActualDurnInSeconds AS OpActyActualDurnInSeconds,
oac.WorkCenterBsdNetDurnInSeconds AS WorkCenterBsdNetDurnInSeconds,
oac.PostingIsRetroactive AS PostingIsRetroactive,
act.MfgActionReasonCodeGroupCtlg AS MfgActionReasonCodeGroupCtlg,
act.MfgActionReasonCodeGroup AS MfgActionReasonCodeGroup,
act.ManufacturingActionReasonCode AS ManufacturingActionReasonCode,
cast('MPE_EXEC_CONF' as msgid) AS SystemMessageIdentification,
8 AS MfgExecHistMsgVarblField2,
0 AS MfgExecHistMsgVarblField3,
0 AS MfgExecHistMsgVarblField4
FROM I_OpActyConfirmationAction AS act
INNER JOIN I_OpActyConfirmation AS oac ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OpActyNtwkInstanceBasic AS _OpActyNtwkInstanceBasic ON OpActyNtwkInstance = _OpActyNtwkInstanceBasic.OpActyNtwkInstance -- association [1..1]
LEFT OUTER JOIN I_OperationActivityInstance AS _OperationActivityInstance ON OpActyNtwkInstance = _OperationActivityInstance.OpActyNtwkInstance -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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