C_MaintOrderSubOpForAction
Maintenance Order Operation for Action
C_MaintOrderSubOpForAction is a Consumption CDS View that provides data about "Maintenance Order Operation for Action" in SAP S/4HANA. It reads from 1 data source (I_MaintOrderSubOperationTP) and exposes 9 fields with key fields MaintenanceOrder, MaintenanceOrderOperation, MaintenanceOrderSubOperation. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintOrderSubOperationTP | I_MaintOrderSubOperationTP | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_MaintOrderForAction | _MaintenanceOrderTP | _MaintenanceOrderTP.MaintenanceOrder = $projection.MaintenanceOrder |
| [0..1] | C_ObjPgMaintOrder | _MaintenanceOrder | _MaintenanceOrder.MaintenanceOrder = $projection.MaintenanceOrder |
| [0..1] | C_MaintOrderOpForAction | _MaintenanceOrderOperation | _MaintenanceOrderOperation.MaintenanceOrder = $projection.MaintenanceOrder and _MaintenanceOrderOperation.MaintenanceOrderOperation = $projection.MaintenanceOrderOperation |
| [0..1] | C_ObjPgMaintOrderOperation | _ObjPgMaintOrderOperation | _ObjPgMaintOrderOperation.MaintenanceOrder = $projection.MaintenanceOrder and _ObjPgMaintOrderOperation.MaintenanceOrderOperation = $projection.MaintenanceOrderOperation and _ObjPgMaintOrderOperation.MaintenanceOrderSubOperation = '0000' |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Maintenance Order Operation for Action | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | CMAINTORDSOPAC3 | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.draftEnabled | false | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | MaintenanceOrder | Order | |
| KEY | MaintenanceOrderOperation | MaintenanceOrderOperation | Suboperation | |
| KEY | MaintenanceOrderSubOperation | MaintenanceOrderSubOperation | Suboperation | |
| MaintenanceOrderDesc | _MaintenanceOrderTP | MaintenanceOrderDesc | Description | |
| OperationDescription | OperationDescription | Op. Short Text | ||
| _MaintenanceOrder | _MaintenanceOrder | |||
| _MaintenanceOrderTP | _MaintenanceOrderTP | |||
| _MaintenanceOrderOperation | _MaintenanceOrderOperation | |||
| _ObjPgMaintOrderOperation | _ObjPgMaintOrderOperation |
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_MaintOrderSubOpForAction.
-- 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: CMAINTORDSOPAC3
CREATE VIEW C_MaintOrderSubOpForAction AS
SELECT
MaintenanceOrder,
MaintenanceOrderOperation,
MaintenanceOrderSubOperation,
_MaintenanceOrderTP.MaintenanceOrderDesc AS MaintenanceOrderDesc,
OperationDescription
FROM I_MaintOrderSubOperationTP
LEFT OUTER JOIN C_MaintOrderForAction AS _MaintenanceOrderTP ON _MaintenanceOrderTP.MaintenanceOrder = MaintenanceOrder -- association [0..1]
LEFT OUTER JOIN C_ObjPgMaintOrder AS _MaintenanceOrder ON _MaintenanceOrder.MaintenanceOrder = MaintenanceOrder -- association [0..1]
LEFT OUTER JOIN C_MaintOrderOpForAction AS _MaintenanceOrderOperation ON _MaintenanceOrderOperation.MaintenanceOrder = MaintenanceOrder AND _MaintenanceOrderOperation.MaintenanceOrderOperation = MaintenanceOrderOperation -- association [0..1]
LEFT OUTER JOIN C_ObjPgMaintOrderOperation AS _ObjPgMaintOrderOperation ON _ObjPgMaintOrderOperation.MaintenanceOrder = MaintenanceOrder AND _ObjPgMaintOrderOperation.MaintenanceOrderOperation = MaintenanceOrderOperation AND _ObjPgMaintOrderOperation.MaintenanceOrderSubOperation = '0000' -- 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