R_MaintOrderOpProdnRsceToolTP
Maintenance Order Operation PRT TP
R_MaintOrderOpProdnRsceToolTP is a Transactional CDS View that provides data about "Maintenance Order Operation PRT TP" in SAP S/4HANA. It reads from 2 data sources (I_MaintOrderOpProdnRsceTool, I_ProdnRsceToolMasterData) and exposes 23 fields with key fields MaintenanceOrder, MaintenanceOrderOperation, MaintenanceOrderSubOperation, ProdnRsceToolItemNumber. It has 2 associations to related views. Part of development package IWO1.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintOrderOpProdnRsceTool | MaintOrderOpProdnRsceTool | from |
| I_ProdnRsceToolMasterData | ProdnRsceToolMasterData | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_MaintenanceOrderTP | _MaintenanceOrder | $projection.MaintenanceOrder = _MaintenanceOrder.MaintenanceOrder |
| [0..*] | I_ProdnRsceToolCategoryText_2 | _ProdnRsceToolCategoryText | $projection.ProdnRsceToolCategory = _ProdnRsceToolCategoryText.ProdnRsceToolCategory |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Maintenance Order Operation PRT TP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | I_MaintOrderOpProdnRsceTool | MaintenanceOrder | Order |
| KEY | MaintenanceOrderOperation | I_MaintOrderOpProdnRsceTool | MaintenanceOrderOperation | Suboperation |
| KEY | MaintenanceOrderSubOperation | I_MaintOrderOpProdnRsceTool | MaintenanceOrderSubOperation | Suboperation |
| KEY | ProdnRsceToolItemNumber | I_MaintOrderOpProdnRsceTool | ProdnRsceToolItemNumber | Item Number |
| OrderProdnRsceToolText | I_MaintOrderOpProdnRsceTool | OrderProdnRsceToolText | Text for PRT | |
| ProdnRsceToolCategory | I_MaintOrderOpProdnRsceTool | ProdnRsceToolCategory | PRT Category | |
| ProductionResourceType | I_MaintOrderOpProdnRsceTool | ProductionResourceType | Object Type | |
| ProductionResourceInternalID | I_MaintOrderOpProdnRsceTool | ProductionResourceInternalID | Object ID | |
| Product | MaterialPRTByInternalKey | Material | Vehicle Model | |
| MiscProductionResourceTool | MiscPRTByInternalKey | MiscProductionResourceTool | ||
| Plant | MaterialPRTByInternalKey | Plant | Valuation Area | |
| Equipment | EquipmentPRTByInternalKey | Equipment | Equipment check | |
| DocumentInfoRecord | DocumentPRTByInternalKey | DocumentInfoRecord | Document | |
| DocumentType | DocumentPRTByInternalKey | DocumentType | Order Type | |
| DocumentPart | DocumentPRTByInternalKey | DocumentPart | Document Part | |
| DocumentVersion | DocumentPRTByInternalKey | DocumentVersion | Docu. Version | |
| MeasuringPoint | MsrgPointPRTByInternalKey | MeasuringPoint | ||
| ProdnRsceToolControlProfile | I_MaintOrderOpProdnRsceTool | ProdnRsceToolControlProfile | PRT Control Profile | |
| ProdnRsceToolStandardWorkQty | I_MaintOrderOpProdnRsceTool | ProdnRsceToolStandardWorkQty | Quantity | |
| ProdnRsceToolStdWorkQtyUnit | I_MaintOrderOpProdnRsceTool | ProdnRsceToolStdWorkQtyUnit | Unit | |
| _ProdnRsceToolCategoryText | _ProdnRsceToolCategoryText | |||
| _MaintenanceOrder | _MaintenanceOrder | |||
| _MaintenanceOrderOperation | _MaintenanceOrderOperation |
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 R_MaintOrderOpProdnRsceToolTP.
-- 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 R_MaintOrderOpProdnRsceToolTP AS
SELECT
MaintOrderOpProdnRsceTool.MaintenanceOrder AS MaintenanceOrder,
MaintOrderOpProdnRsceTool.MaintenanceOrderOperation AS MaintenanceOrderOperation,
MaintOrderOpProdnRsceTool.MaintenanceOrderSubOperation AS MaintenanceOrderSubOperation,
MaintOrderOpProdnRsceTool.ProdnRsceToolItemNumber AS ProdnRsceToolItemNumber,
MaintOrderOpProdnRsceTool.OrderProdnRsceToolText AS OrderProdnRsceToolText,
MaintOrderOpProdnRsceTool.ProdnRsceToolCategory AS ProdnRsceToolCategory,
MaintOrderOpProdnRsceTool.ProductionResourceType AS ProductionResourceType,
MaintOrderOpProdnRsceTool.ProductionResourceInternalID AS ProductionResourceInternalID,
MaterialPRTByInternalKey.Material AS Product,
MiscPRTByInternalKey.MiscProductionResourceTool AS MiscProductionResourceTool,
MaterialPRTByInternalKey.Plant AS Plant,
EquipmentPRTByInternalKey.Equipment AS Equipment,
DocumentPRTByInternalKey.DocumentInfoRecord AS DocumentInfoRecord,
DocumentPRTByInternalKey.DocumentType AS DocumentType,
DocumentPRTByInternalKey.DocumentPart AS DocumentPart,
DocumentPRTByInternalKey.DocumentVersion AS DocumentVersion,
MsrgPointPRTByInternalKey.MeasuringPoint AS MeasuringPoint,
MaintOrderOpProdnRsceTool.ProdnRsceToolControlProfile AS ProdnRsceToolControlProfile,
MaintOrderOpProdnRsceTool.ProdnRsceToolStandardWorkQty AS ProdnRsceToolStandardWorkQty,
MaintOrderOpProdnRsceTool.ProdnRsceToolStdWorkQtyUnit AS ProdnRsceToolStdWorkQtyUnit
FROM I_MaintOrderOpProdnRsceTool AS MaintOrderOpProdnRsceTool
INNER JOIN I_ProdnRsceToolMasterData AS ProdnRsceToolMasterData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_MaintenanceOrderTP AS _MaintenanceOrder ON MaintenanceOrder = _MaintenanceOrder.MaintenanceOrder -- association [1..1]
LEFT OUTER JOIN I_ProdnRsceToolCategoryText_2 AS _ProdnRsceToolCategoryText ON ProdnRsceToolCategory = _ProdnRsceToolCategoryText.ProdnRsceToolCategory -- association [0..*]
;
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