C_ObjPgMaintOrderWthDesc
Maintenance Order with Description
C_ObjPgMaintOrderWthDesc is a Consumption CDS View that provides data about "Maintenance Order with Description" in SAP S/4HANA. It reads from 1 data source (I_MaintOrderTechObj) and exposes 24 fields with key field MaintenanceOrder. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintOrderTechObj | I_MaintOrderTechObj | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_MaintNotificationQuickVw | _MaintNotificationQuickView | $projection.MaintenanceNotification = _MaintNotificationQuickView.MaintenanceNotification |
| [0..1] | C_MaintenancePlanQuickVw | _MaintenancePlanQuickVw | _MaintenancePlanQuickVw.MaintenancePlan = $projection.MaintenancePlan |
| [0..1] | C_MaintTaskListQuickVw | _MaintTaskListQuickVw | _MaintTaskListQuickVw.TaskList = $projection.TaskList and _MaintTaskListQuickVw.TaskListType = $projection.TaskListType and _MaintTaskListQuickVw.TaskListGroup = $projection.TaskListGroup and _MaintTaskListQuickVw.TaskListGroupCounter = $projection.TaskListGroupCounter |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | COPMNTORDWTHDESC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Maintenance Order with Description | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | I_MaintOrderTechObj | MaintenanceOrder | Order |
| MaintenanceNotification | I_MaintOrderTechObj | MaintenanceNotification | Notification | |
| MaintenanceNotificationText | Notification Description | |||
| TaskListGroup | ||||
| TaskListType | ||||
| TaskListGroupCounter | ||||
| TaskListKeyDate | ||||
| TaskListDesc | ||||
| MaintenancePlan | I_MaintOrderTechObj | MaintenancePlan | MaintenancePlan | |
| MaintenancePlanDesc | ||||
| MaintenanceOrderLongText | Long Text | |||
| OrderHasLongText | I_MaintOrderTechObj | OrderHasLongText | Order Has Long Text | |
| MaintenancePlanningPlant | I_MaintOrderTechObj | MaintenancePlanningPlant | Planning Plant | |
| MaintenanceOrderType | I_MaintOrderTechObj | MaintenanceOrderType | Order Type | |
| MaintenancePlannerGroup | I_MaintOrderTechObj | MaintenancePlannerGroup | Planner Group | |
| ControllingArea | I_MaintOrderTechObj | ControllingArea | Controlling Area | |
| ResponsibleCostCenter | I_MaintOrderTechObj | ResponsibleCostCenter | Responsible Cost Center | |
| Equipment | I_MaintOrderTechObj | Equipment | Equipment check | |
| MaintObjectLocAcctAssgmtNmbr | I_MaintOrderTechObj | MaintObjectLocAcctAssgmtNmbr | Loc/AccAssmt | |
| _Equipment | I_MaintOrderTechObj | _Equipment | ||
| _LocationAccountAssignment | I_MaintOrderTechObj | _LocationAccountAssignment | ||
| _MaintNotificationQuickView | _MaintNotificationQuickView | |||
| _MaintenancePlanQuickVw | _MaintenancePlanQuickVw | |||
| _MaintTaskListQuickVw | _MaintTaskListQuickVw |
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_ObjPgMaintOrderWthDesc.
-- 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: COPMNTORDWTHDESC
CREATE VIEW C_ObjPgMaintOrderWthDesc AS
SELECT
I_MaintOrderTechObj.MaintenanceOrder AS MaintenanceOrder,
I_MaintOrderTechObj.MaintenanceNotification AS MaintenanceNotification,
I_MaintOrderTechObj._MaintenanceNotification.NotificationText AS MaintenanceNotificationText,
I_MaintOrderTechObj._Order.BillOfOperations AS TaskListGroup,
I_MaintOrderTechObj._Order.BillOfOperationsType AS TaskListType,
I_MaintOrderTechObj._Order.BillOfOperationsVariant AS TaskListGroupCounter,
$session.system_date AS TaskListKeyDate,
I_MaintOrderTechObj._Order._BillOfOperationsChangeState.BillOfOperationsDesc AS TaskListDesc,
I_MaintOrderTechObj.MaintenancePlan AS MaintenancePlan,
I_MaintOrderTechObj._MaintenancePlan.MaintenancePlanDesc AS MaintenancePlanDesc,
cast (' ' as eams_ltext) AS MaintenanceOrderLongText,
I_MaintOrderTechObj.OrderHasLongText AS OrderHasLongText,
I_MaintOrderTechObj.MaintenancePlanningPlant AS MaintenancePlanningPlant,
I_MaintOrderTechObj.MaintenanceOrderType AS MaintenanceOrderType,
I_MaintOrderTechObj.MaintenancePlannerGroup AS MaintenancePlannerGroup,
I_MaintOrderTechObj.ControllingArea AS ControllingArea,
I_MaintOrderTechObj.ResponsibleCostCenter AS ResponsibleCostCenter,
I_MaintOrderTechObj.Equipment AS Equipment,
I_MaintOrderTechObj.MaintObjectLocAcctAssgmtNmbr AS MaintObjectLocAcctAssgmtNmbr,
I_MaintOrderTechObj._Equipment AS _Equipment,
I_MaintOrderTechObj._LocationAccountAssignment AS _LocationAccountAssignment
FROM I_MaintOrderTechObj
LEFT OUTER JOIN C_MaintNotificationQuickVw AS _MaintNotificationQuickView ON MaintenanceNotification = _MaintNotificationQuickView.MaintenanceNotification -- association [0..1]
LEFT OUTER JOIN C_MaintenancePlanQuickVw AS _MaintenancePlanQuickVw ON _MaintenancePlanQuickVw.MaintenancePlan = MaintenancePlan -- association [0..1]
LEFT OUTER JOIN C_MaintTaskListQuickVw AS _MaintTaskListQuickVw ON _MaintTaskListQuickVw.TaskList = TaskList AND _MaintTaskListQuickVw.TaskListType = TaskListType AND _MaintTaskListQuickVw.TaskListGroup = TaskListGroup AND _MaintTaskListQuickVw.TaskListGroupCounter = TaskListGroupCounter -- 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