I_RSHMaintOperationAssgmtTP
Maintenance Operation Assignment TP
I_RSHMaintOperationAssgmtTP is a Transactional CDS View that provides data about "Maintenance Operation Assignment TP" in SAP S/4HANA. It reads from 4 data sources (I_RSHAssignedWorkCenters, I_OrderOperationBasic, I_RSHOrder, I_OperationControlProfile) and exposes 5 fields with key fields MaintOrderRoutingNumber, MaintOrderOperationCounter, MaintOrderConfirmation. It has 2 associations to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_RSHAssignedWorkCenters | AssignedWorkcenters | inner |
| I_OrderOperationBasic | iop | from |
| I_RSHOrder | MaintenanceOrder | inner |
| I_OperationControlProfile | OperationControlProfile | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_MaintenanceOrder | _MaintenanceOrderExtension | MaintenanceOrder.MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder |
| [0..1] | E_MaintenanceOrderOperation | _MaintOrderOperExtension | $projection.MaintOrderRoutingNumber = _MaintOrderOperExtension.MaintOrderRoutingNumber and $projection.MaintOrderOperationCounter = _MaintOrderOperExtension.MaintOrderOperationCounter |
Annotations (22)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IRSHMNTOPASGTP | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Maintenance Operation Assignment TP | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.writeDraftPersistence | RSH_D_MNTOPASG_D | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.lifecycle.enqueue.expiryBehavior | #RELATIVE_TO_LAST_CHANGE | view | |
| ObjectModel.lifecycle.enqueue.expiryInterval | P1D | view | |
| ObjectModel.lifecycle.processing.expiryBehavior | #RELATIVE_TO_LAST_CHANGE | view | |
| ObjectModel.lifecycle.processing.expiryInterval | P1D | view | |
| ObjectModel.lifecycle.draft.expiryInterval | P1D | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintOrderRoutingNumber | I_OrderOperationBasic | OrderInternalID | Plan No.f.Oper. |
| KEY | MaintOrderOperationCounter | I_OrderOperationBasic | OrderOperationInternalID | Plan No.f.Oper. |
| KEY | MaintOrderConfirmation | I_OrderOperationBasic | OperationConfirmation | Return Agmt |
| OperationPersonResponsibleID | I_OrderOperationBasic | OperationPersonResponsible | Personnel no. | |
| MaintOperationAssignTechStatus |
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_RSHMaintOperationAssgmtTP.
-- 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: IRSHMNTOPASGTP
CREATE VIEW I_RSHMaintOperationAssgmtTP AS
SELECT
iop.OrderInternalID AS MaintOrderRoutingNumber,
iop.OrderOperationInternalID AS MaintOrderOperationCounter,
iop.OperationConfirmation AS MaintOrderConfirmation,
iop.OperationPersonResponsible AS OperationPersonResponsibleID,
cast ( 10 as rsh_eam_asg_tech_status_int ) AS MaintOperationAssignTechStatus
FROM I_OrderOperationBasic AS iop
INNER JOIN I_RSHOrder AS MaintenanceOrder ON /* join condition not captured in parsed metadata */
INNER JOIN I_RSHAssignedWorkCenters AS AssignedWorkcenters ON /* join condition not captured in parsed metadata */
INNER JOIN I_OperationControlProfile AS OperationControlProfile ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN E_MaintenanceOrder AS _MaintenanceOrderExtension ON MaintenanceOrder.MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder -- association [0..1]
LEFT OUTER JOIN E_MaintenanceOrderOperation AS _MaintOrderOperExtension ON MaintOrderRoutingNumber = _MaintOrderOperExtension.MaintOrderRoutingNumber AND MaintOrderOperationCounter = _MaintOrderOperExtension.MaintOrderOperationCounter -- 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