C_OpActyInstceDocPRT
Planned Documents at Operation Activity
C_OpActyInstceDocPRT is a Consumption CDS View that provides data about "Planned Documents at Operation Activity" in SAP S/4HANA. It reads from 3 data sources (I_DocumentPRTByInternalKey, I_OperationActyPRTAssignment, I_OrderProdnResourceTool) and exposes 23 fields with key fields OpActyNtwkInstance, OpActyNtwkElement, OrderInternalID, MfgOrderOpProdnRsceToolIntID. It is exposed through 1 OData service (UI_OPACTYINSTANCEASSIGNMENT).
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_DocumentPRTByInternalKey | DocumentPRT | inner |
| I_OperationActyPRTAssignment | OperationActyPRTAssignment | from |
| I_OrderProdnResourceTool | OrderProdnResourceTool | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Planned Documents at Operation Activity | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_OPACTYINSTANCEASSIGNMENT | UI_OPACTYINSTANCEASSIGNMENT | V4 | C1 | NOT_RELEASED |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OpActyNtwkInstance | I_OperationActyPRTAssignment | OpActyNtwkInstance | Instance ID |
| KEY | OpActyNtwkElement | I_OperationActyPRTAssignment | OpActyNtwkElement | Element Number |
| KEY | OrderInternalID | I_OperationActyPRTAssignment | OrderInternalID | Plan No.f.Oper. |
| KEY | MfgOrderOpProdnRsceToolIntID | I_OperationActyPRTAssignment | MfgOrderOpProdnRsceToolIntID | Test equipment |
| DocumentType | I_DocumentPRTByInternalKey | DocumentType | Order Type | |
| DocumentInfoRecord | I_DocumentPRTByInternalKey | DocumentInfoRecord | Document | |
| DocumentVersion | I_DocumentPRTByInternalKey | DocumentVersion | Docu. Version | |
| DocumentPart | I_DocumentPRTByInternalKey | DocumentPart | Document Part | |
| PlantasPlant | ||||
| OrderCategory | I_OrderProdnResourceTool | OrderCategory | Order Category | |
| OrderType | I_OrderProdnResourceTool | OrderType | Order Type | |
| MRPController | I_OrderProdnResourceTool | MRPController | MRP Controller | |
| _OpActyNtwkInstance | ||||
| _OperationActivityInstance | I_OperationActyPRTAssignment | _OperationActivityInstance | ||
| _OrdInternalBillOfOperations | I_OperationActyPRTAssignment | _OrdInternalBillOfOperations | ||
| _OrderProdnResourceTool | I_OperationActyPRTAssignment | _OrderProdnResourceTool | ||
| _DocumentType | I_DocumentPRTByInternalKey | _DocumentType | ||
| _DocumentNumber | I_DocumentPRTByInternalKey | _DocumentNumber | ||
| _DocumentVersion | I_DocumentPRTByInternalKey | _DocumentVersion | ||
| _DocumentInfoRecord | I_DocumentPRTByInternalKey | _DocumentInfoRecord | ||
| _Plant | I_OrderProdnResourceTool | _Plant | ||
| _OrderCategory | I_OrderProdnResourceTool | _OrderCategory | ||
| _OrderType | I_OrderProdnResourceTool | _OrderType |
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 C_OpActyInstceDocPRT.
-- 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.
CREATE VIEW C_OpActyInstceDocPRT AS
SELECT
OperationActyPRTAssignment.OpActyNtwkInstance AS OpActyNtwkInstance,
OperationActyPRTAssignment.OpActyNtwkElement AS OpActyNtwkElement,
OperationActyPRTAssignment.OrderInternalID AS OrderInternalID,
OperationActyPRTAssignment.MfgOrderOpProdnRsceToolIntID AS MfgOrderOpProdnRsceToolIntID,
DocumentPRT.DocumentType AS DocumentType,
DocumentPRT.DocumentInfoRecord AS DocumentInfoRecord,
DocumentPRT.DocumentVersion AS DocumentVersion,
DocumentPRT.DocumentPart AS DocumentPart,
OrderProdnResourceTool.OrderCategory AS OrderCategory,
OrderProdnResourceTool.OrderType AS OrderType,
OrderProdnResourceTool.MRPController AS MRPController,
OperationActyPRTAssignment._OperationActivityInstance AS _OperationActivityInstance,
OperationActyPRTAssignment._OrdInternalBillOfOperations AS _OrdInternalBillOfOperations,
OperationActyPRTAssignment._OrderProdnResourceTool AS _OrderProdnResourceTool,
DocumentPRT._DocumentType AS _DocumentType,
DocumentPRT._DocumentNumber AS _DocumentNumber,
DocumentPRT._DocumentVersion AS _DocumentVersion,
DocumentPRT._DocumentInfoRecord AS _DocumentInfoRecord,
OrderProdnResourceTool._Plant AS _Plant,
OrderProdnResourceTool._OrderCategory AS _OrderCategory,
OrderProdnResourceTool._OrderType AS _OrderType
FROM I_OperationActyPRTAssignment AS OperationActyPRTAssignment
INNER JOIN I_OrderProdnResourceTool AS OrderProdnResourceTool ON /* join condition not captured in parsed metadata */
INNER JOIN I_DocumentPRTByInternalKey AS DocumentPRT ON /* join condition not captured in parsed metadata */
;
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