P_SFIOperationActivityPlndPRT
P_SFIOperationActivityPlndPRT is a Consumption CDS View in SAP S/4HANA. It reads from 3 data sources (P_MfgOrderPRTAssgmtDetail, I_OperationActyPRTAssignment, I_ShopFloorItemStatus) and exposes 37 fields with key fields ShopFloorItem, OpActyNtwkInstance, OpActyNtwkElement, OrderInternalID, MfgOrderOpProdnRsceToolIntID. It has 1 association to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_MfgOrderPRTAssgmtDetail | MfgOrderPRTAssgmtDetail | inner |
| I_OperationActyPRTAssignment | OperationActyPRTAssignment | from |
| I_ShopFloorItemStatus | ShopFloorItemStatus | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Equipment | _Equipment | $projection.Equipment = _Equipment.Equipment |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ShopFloorItem | I_ShopFloorItemStatus | ShopFloorItem | Serial.Mat. ID |
| 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 |
| ProductionResourceType | P_MfgOrderPRTAssgmtDetail | ProductionResourceType | Object Type | |
| ProductionResourceInternalID | P_MfgOrderPRTAssgmtDetail | ProductionResourceInternalID | Object ID | |
| PRTIsUsedAsTestEquipment | I_OperationActyPRTAssignment | PRTIsUsedAsTestEquipment | Test Equipment | |
| ProdnRsceToolCategory | P_MfgOrderPRTAssgmtDetail | ProdnRsceToolCategory | ||
| Material | P_MfgOrderPRTAssgmtDetail | Material | Vehicle Model | |
| DocumentType | P_MfgOrderPRTAssgmtDetail | DocumentType | Order Type | |
| DocumentInfoRecord | P_MfgOrderPRTAssgmtDetail | DocumentInfoRecord | Document | |
| DocumentVersion | P_MfgOrderPRTAssgmtDetail | DocumentVersion | Docu. Version | |
| DocumentPart | P_MfgOrderPRTAssgmtDetail | DocumentPart | Document Part | |
| MiscProductionResourceTool | P_MfgOrderPRTAssgmtDetail | MiscProductionResourceTool | ||
| ProdnRsceToolStdWorkQtyUnit | P_MfgOrderPRTAssgmtDetail | ProdnRsceToolStdWorkQtyUnit | Unit | |
| ProdnRsceToolStandardWorkQty | P_MfgOrderPRTAssgmtDetail | ProdnRsceToolStandardWorkQty | Quantity | |
| PlannedProdnRsceToolQtyUnit | P_MfgOrderPRTAssgmtDetail | PlannedProdnRsceToolQtyUnit | ||
| PlannedTotalProdnRsceToolQty | P_MfgOrderPRTAssgmtDetail | PlannedTotalProdnRsceToolQty | ||
| NumberOfActvEquipRegistrations | SFIOpActyNrOfActvEquipRegn | NumberOfActvEquipRegistrations | ||
| OrderProdnRsceToolText | P_MfgOrderPRTAssgmtDetail | OrderProdnRsceToolText | ||
| ProdnRsceToolRegnIsAllowed | P_MfgOrderPRTAssgmtDetail | ProdnRsceToolRegnIsAllowed | Registrable | |
| ManufacturingOrderCategory | P_MfgOrderPRTAssgmtDetail | ManufacturingOrderCategory | Order Category | |
| ManufacturingOrderType | P_MfgOrderPRTAssgmtDetail | ManufacturingOrderType | Order Type | |
| ProductionPlant | P_MfgOrderPRTAssgmtDetail | ProductionPlant | Prod plnt | |
| ProdnRsceToolItemNumber | P_MfgOrderPRTAssgmtDetail | ProdnRsceToolItemNumber | Item Number | |
| BOOOperationPRTInternalID | P_MfgOrderPRTAssgmtDetail | BOOOperationPRTInternalID | ||
| ShopFloorRtgPRTIsRegistrable | P_MfgOrderPRTAssgmtDetail | ShopFloorRtgPRTIsRegistrable | ||
| PRTRegistrationControl | P_MfgOrderPRTAssgmtDetail | PRTRegistrationControl | Registration Type | |
| _OpActyNtwkInstance | ||||
| _OperationActivityInstance | I_OperationActyPRTAssignment | _OperationActivityInstance | ||
| _OrdInternalBillOfOperations | I_OperationActyPRTAssignment | _OrdInternalBillOfOperations | ||
| _Material | P_MfgOrderPRTAssgmtDetail | _Material | ||
| _Equipment | _Equipment | |||
| _MfgOrderCategory | P_MfgOrderPRTAssgmtDetail | _MfgOrderCategory | ||
| _MfgOrderType | P_MfgOrderPRTAssgmtDetail | _MfgOrderType | ||
| _PRTRegistrationControl | P_MfgOrderPRTAssgmtDetail | _PRTRegistrationControl |
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_SFIOperationActivityPlndPRT.
-- 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 P_SFIOperationActivityPlndPRT AS
SELECT
ShopFloorItemStatus.ShopFloorItem AS ShopFloorItem,
OperationActyPRTAssignment.OpActyNtwkInstance AS OpActyNtwkInstance,
OperationActyPRTAssignment.OpActyNtwkElement AS OpActyNtwkElement,
OperationActyPRTAssignment.OrderInternalID AS OrderInternalID,
OperationActyPRTAssignment.MfgOrderOpProdnRsceToolIntID AS MfgOrderOpProdnRsceToolIntID,
MfgOrderPRTAssgmtDetail.ProductionResourceType AS ProductionResourceType,
MfgOrderPRTAssgmtDetail.ProductionResourceInternalID AS ProductionResourceInternalID,
OperationActyPRTAssignment.PRTIsUsedAsTestEquipment AS PRTIsUsedAsTestEquipment,
MfgOrderPRTAssgmtDetail.ProdnRsceToolCategory AS ProdnRsceToolCategory,
MfgOrderPRTAssgmtDetail.Material AS Material,
MfgOrderPRTAssgmtDetail.DocumentType AS DocumentType,
MfgOrderPRTAssgmtDetail.DocumentInfoRecord AS DocumentInfoRecord,
MfgOrderPRTAssgmtDetail.DocumentVersion AS DocumentVersion,
MfgOrderPRTAssgmtDetail.DocumentPart AS DocumentPart,
MfgOrderPRTAssgmtDetail.MiscProductionResourceTool AS MiscProductionResourceTool,
MfgOrderPRTAssgmtDetail.ProdnRsceToolStdWorkQtyUnit AS ProdnRsceToolStdWorkQtyUnit,
MfgOrderPRTAssgmtDetail.ProdnRsceToolStandardWorkQty AS ProdnRsceToolStandardWorkQty,
MfgOrderPRTAssgmtDetail.PlannedProdnRsceToolQtyUnit AS PlannedProdnRsceToolQtyUnit,
MfgOrderPRTAssgmtDetail.PlannedTotalProdnRsceToolQty AS PlannedTotalProdnRsceToolQty,
SFIOpActyNrOfActvEquipRegn.NumberOfActvEquipRegistrations AS NumberOfActvEquipRegistrations,
MfgOrderPRTAssgmtDetail.OrderProdnRsceToolText AS OrderProdnRsceToolText,
MfgOrderPRTAssgmtDetail.ProdnRsceToolRegnIsAllowed AS ProdnRsceToolRegnIsAllowed,
MfgOrderPRTAssgmtDetail.ManufacturingOrderCategory AS ManufacturingOrderCategory,
MfgOrderPRTAssgmtDetail.ManufacturingOrderType AS ManufacturingOrderType,
MfgOrderPRTAssgmtDetail.ProductionPlant AS ProductionPlant,
MfgOrderPRTAssgmtDetail.ProdnRsceToolItemNumber AS ProdnRsceToolItemNumber,
MfgOrderPRTAssgmtDetail.BOOOperationPRTInternalID AS BOOOperationPRTInternalID,
MfgOrderPRTAssgmtDetail.ShopFloorRtgPRTIsRegistrable AS ShopFloorRtgPRTIsRegistrable,
MfgOrderPRTAssgmtDetail.PRTRegistrationControl AS PRTRegistrationControl,
OperationActyPRTAssignment._OperationActivityInstance AS _OperationActivityInstance,
OperationActyPRTAssignment._OrdInternalBillOfOperations AS _OrdInternalBillOfOperations,
MfgOrderPRTAssgmtDetail._Material AS _Material,
MfgOrderPRTAssgmtDetail._MfgOrderCategory AS _MfgOrderCategory,
MfgOrderPRTAssgmtDetail._MfgOrderType AS _MfgOrderType,
MfgOrderPRTAssgmtDetail._PRTRegistrationControl AS _PRTRegistrationControl
FROM I_OperationActyPRTAssignment AS OperationActyPRTAssignment
INNER JOIN P_MfgOrderPRTAssgmtDetail AS MfgOrderPRTAssgmtDetail ON /* join condition not captured in parsed metadata */
INNER JOIN I_ShopFloorItemStatus AS ShopFloorItemStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Equipment AS _Equipment ON Equipment = _Equipment.Equipment -- association [0..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