C_MaintOrderOutputParamDetn
Maintenance Order Output Management Parameter Determination
C_MaintOrderOutputParamDetn is a Consumption CDS View that provides data about "Maintenance Order Output Management Parameter Determination" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrder) and exposes 22 fields with key field MaintenanceOrder. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintenanceOrder | I_MaintenanceOrder | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_LocationAccountAssignment | _LocationAccountAssignment | $projection.MaintObjectLocAcctAssgmtNmbr = _LocationAccountAssignment.MaintObjectLocAcctAssgmtNmbr |
| [0..1] | I_Equipment | _Equipment | $projection.Equipment = _Equipment.Equipment |
| [0..1] | E_MaintenanceOrder | _MaintenanceOrderExtension | $projection.MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMNTORDPRMDR | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Maintenance Order Output Management Parameter Determination | view | |
| ObjectModel.compositionRoot | false | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | MaintenanceOrder | Order | |
| MaintenanceOrderType | MaintenanceOrderType | Order Type | ||
| MaintPriority | MaintPriority | Priority | ||
| MaintenancePlant | MaintenancePlant | Plant | ||
| MaintenancePlanningPlant | MaintenancePlanningPlant | Planning Plant | ||
| MaintenancePlannerGroup | MaintenancePlannerGroup | Planner Group | ||
| PlantSection | _LocationAccountAssignment | PlantSection | Plant Section | |
| MainWorkCenter | MainWorkCenter | Work Center | ||
| Equipment | Equipment | Equipment check | ||
| EquipmentCategory | _Equipment | EquipmentCategory | EquipCategory | |
| FunctionalLocation | _LocationAccountAssignment | FunctionalLocation | Object ID | |
| FunctionalLocationCategory | ||||
| Assembly | Assembly | Pegged Reqmt | ||
| BusinessArea | BusinessArea | Business Area | ||
| MaintObjectLocAcctAssgmtNmbr | MaintObjectLocAcctAssgmtNmbr | Loc/AccAssmt | ||
| ABCIndicator | _LocationAccountAssignment | ABCIndicator | ABC Indicator | |
| MaintenanceActivityType | MaintenanceActivityType | MaintActivType | ||
| MaintenanceProcessingPhase | Phase | |||
| MaintOrdProcessPhaseCode | MaintOrdProcessPhaseCode | Process Phase | ||
| MaintOrdProcessSubPhaseCode | MaintOrdProcessSubPhaseCode | Process Subphase | ||
| _Equipment | _Equipment | |||
| _LocationAccountAssignment | _LocationAccountAssignment |
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_MaintOrderOutputParamDetn.
-- 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: CMNTORDPRMDR
CREATE VIEW C_MaintOrderOutputParamDetn AS
SELECT
MaintenanceOrder,
MaintenanceOrderType,
MaintPriority,
MaintenancePlant,
MaintenancePlanningPlant,
MaintenancePlannerGroup,
_LocationAccountAssignment.PlantSection AS PlantSection,
MainWorkCenter,
Equipment,
_Equipment.EquipmentCategory AS EquipmentCategory,
_LocationAccountAssignment.FunctionalLocation AS FunctionalLocation,
_LocationAccountAssignment._FunctionalLocation.FunctionalLocationCategory AS FunctionalLocationCategory,
Assembly,
BusinessArea,
MaintObjectLocAcctAssgmtNmbr,
_LocationAccountAssignment.ABCIndicator AS ABCIndicator,
MaintenanceActivityType,
cast ( MaintenanceProcessingPhase as eam_opd_ord_status preserving type ) AS MaintenanceProcessingPhase,
MaintOrdProcessPhaseCode,
MaintOrdProcessSubPhaseCode
FROM I_MaintenanceOrder
LEFT OUTER JOIN I_LocationAccountAssignment AS _LocationAccountAssignment ON MaintObjectLocAcctAssgmtNmbr = _LocationAccountAssignment.MaintObjectLocAcctAssgmtNmbr -- association [0..1]
LEFT OUTER JOIN I_Equipment AS _Equipment ON Equipment = _Equipment.Equipment -- association [0..1]
LEFT OUTER JOIN E_MaintenanceOrder AS _MaintenanceOrderExtension ON MaintenanceOrder = _MaintenanceOrderExtension.MaintenanceOrder -- 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