C_ObjPgMaintOrdOpCapReq
Maint Order Oper Capacity Requirements
C_ObjPgMaintOrdOpCapReq is a Consumption CDS View that provides data about "Maint Order Oper Capacity Requirements" in SAP S/4HANA. It reads from 1 data source (I_CapacityRequirementItemCapC) and exposes 21 fields with key fields CapacityRequirement, CapacityRequirementItem, CapacityCategoryAllocation. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CapacityRequirementItemCapC | I_CapacityRequirementItemCapC | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MaintenanceOrder | _MaintenanceOrder | _MaintenanceOrder.MaintenanceOrder = $projection.OrderID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | COPMORDOPREQ | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Maint Order Oper Capacity Requirements | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityRequirement | I_CapacityRequirementItemCapC | CapacityRequirement | |
| KEY | CapacityRequirementItem | I_CapacityRequirementItemCapC | CapacityRequirementItem | Capacity Requirement Item |
| KEY | CapacityCategoryAllocation | I_CapacityRequirementItemCapC | CapacityCategoryAllocation | Capacity Category Allocation |
| WorkCenter | ||||
| WorkCenterText | ||||
| CapacityRequirementSplit | I_CapacityRequirementItemCapC | CapacityRequirementSplit | ||
| CapacitySplitIsDispatched | I_CapacityRequirementItemCapC | CapacitySplitIsDispatched | Split Dispatched | |
| PersonnelNumber | I_CapacityRequirementItemCapC | PersonnelNumber | Personnel Number | |
| PersonnelName | Personnel Name | |||
| PlannedWorkQuantity | I_CapacityRequirementItemCapC | PlannedWorkQuantity | Planned Work | |
| ActualWorkQuantity | I_CapacityRequirementItemCapC | ActualWorkQuantity | Actual work | |
| StandardWorkQuantityUnit | I_CapacityRequirementItemCapC | StandardWorkQuantityUnit | ||
| OperationLatestStartDate | I_CapacityRequirementItemCapC | OperationLatestStartDate | ||
| OperationLatestStartTime | I_CapacityRequirementItemCapC | OperationLatestStartTime | ||
| OperationLatestEndDate | I_CapacityRequirementItemCapC | OperationLatestEndDate | ||
| OperationLatestEndTime | I_CapacityRequirementItemCapC | OperationLatestEndTime | ||
| OrderID | I_CapacityRequirementItemCapC | OrderID | Order ID | |
| Operation | I_CapacityRequirementItemCapC | Operation | Transaction | |
| ObjectInternalID | I_CapacityRequirementItemCapC | ObjectInternalID | Object number | |
| _MaintenanceOrder | _MaintenanceOrder | |||
| _Employee | I_CapacityRequirementItemCapC | _Employee |
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_ObjPgMaintOrdOpCapReq.
-- 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: COPMORDOPREQ
CREATE VIEW C_ObjPgMaintOrdOpCapReq AS
SELECT
I_CapacityRequirementItemCapC.CapacityRequirement AS CapacityRequirement,
I_CapacityRequirementItemCapC.CapacityRequirementItem AS CapacityRequirementItem,
I_CapacityRequirementItemCapC.CapacityCategoryAllocation AS CapacityCategoryAllocation,
I_CapacityRequirementItemCapC._WorkCenter.WorkCenter AS WorkCenter,
I_CapacityRequirementItemCapC._WorkCenter._Text[1:Language = $session.system_language].WorkCenterText AS WorkCenterText,
I_CapacityRequirementItemCapC.CapacityRequirementSplit AS CapacityRequirementSplit,
I_CapacityRequirementItemCapC.CapacitySplitIsDispatched AS CapacitySplitIsDispatched,
I_CapacityRequirementItemCapC.PersonnelNumber AS PersonnelNumber,
I_CapacityRequirementItemCapC._Employment.PersonFullName AS PersonnelName,
I_CapacityRequirementItemCapC.PlannedWorkQuantity AS PlannedWorkQuantity,
I_CapacityRequirementItemCapC.ActualWorkQuantity AS ActualWorkQuantity,
I_CapacityRequirementItemCapC.StandardWorkQuantityUnit AS StandardWorkQuantityUnit,
I_CapacityRequirementItemCapC.OperationLatestStartDate AS OperationLatestStartDate,
I_CapacityRequirementItemCapC.OperationLatestStartTime AS OperationLatestStartTime,
I_CapacityRequirementItemCapC.OperationLatestEndDate AS OperationLatestEndDate,
I_CapacityRequirementItemCapC.OperationLatestEndTime AS OperationLatestEndTime,
I_CapacityRequirementItemCapC.OrderID AS OrderID,
I_CapacityRequirementItemCapC.Operation AS Operation,
I_CapacityRequirementItemCapC.ObjectInternalID AS ObjectInternalID,
I_CapacityRequirementItemCapC._Employee AS _Employee
FROM I_CapacityRequirementItemCapC
LEFT OUTER JOIN I_MaintenanceOrder AS _MaintenanceOrder ON _MaintenanceOrder.MaintenanceOrder = OrderID -- association [1..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