I_ProdnOrderOperationCapacity
Individual Capacity of Production Order Operation
I_ProdnOrderOperationCapacity is a Composite CDS View that provides data about "Individual Capacity of Production Order Operation" in SAP S/4HANA. It reads from 1 data source (I_MfgOrderOperationBasic) and exposes 60 fields with key fields CapacityRequirement, CapacityRequirementItem. It has 6 associations to related views. Part of development package VDM_PP_SFC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrderOperationBasic | OrderOperation | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProductionOrderType | _ProductionOrderType | $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_WorkCenterType | _WorkCenterType | $projection.WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode |
| [0..1] | I_WorkCenter | _WorkCenter | $projection.WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode and $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID -- SOT relations |
| [1..1] | I_ProductionOrder | _ProductionOrderHeader | $projection.ProductionOrder = _ProductionOrderHeader.ProductionOrder |
| [1..1] | I_ProductionOrderSequence | _ProductionOrderSequence | $projection.ProductionOrder = _ProductionOrderSequence.ProductionOrder and $projection.ProductionOrderSequence = _ProductionOrderSequence.ProductionOrderSequence |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.technicalName | IPRODORDOPCAP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.sapObjectNodeType.name | ProdnOrderOperationCapacity | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Individual Capacity of Production Order Operation | view |
Fields (60)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityRequirement | CapReq | CapacityRequirement | |
| KEY | CapacityRequirementItem | CapReq | CapacityRequirementItem | |
| CapacityRqmtItemCapacity | ||||
| OrderInternalID | I_MfgOrderOperationBasic | OrderInternalBillOfOperations | ||
| OrderOperationInternalID | I_MfgOrderOperationBasic | OrderIntBillOfOperationsItem | ||
| ManufacturingOrderCategory | I_MfgOrderOperationBasic | ManufacturingOrderCategory | ||
| ProductionOrderType | ||||
| ProductionOrder | ||||
| ProductionOrderSequence | ||||
| ProductionOrderOperation | ||||
| Plant | I_MfgOrderOperationBasic | ProductionPlant | ||
| WorkCenterInternalID | I_MfgOrderOperationBasic | WorkCenterInternalID | ||
| WorkCenterTypeCode | I_MfgOrderOperationBasic | WorkCenterTypeCode_2 | ||
| CapacityRqmtConfirmation | CapReq | CapacityRqmtConfirmation | ||
| CapacityInternalID | CapReq | CapacityInternalID | ||
| CapacityRequirementDistrKey | CapReq | CapacityRequirementDistrKey | ||
| CapacityRequirementUnit | CapReq | CapacityRequirementUnit | ||
| ScheduledCapReqOpSegSetupDurn | CapReq | ScheduledCapReqOpSegSetupDurn | ||
| RemainingCapReqOpSegSetupDurn | CapReq | RemainingCapReqOpSegSetupDurn | ||
| ScheduledCapReqOpSegProcgDurn | CapReq | ScheduledCapReqOpSegProcgDurn | ||
| RemainingCapReqOpSegProcgDurn | CapReq | RemainingCapReqOpSegProcgDurn | ||
| ScheduledCapReqOpSegTrdwnDurn | CapReq | ScheduledCapReqOpSegTrdwnDurn | ||
| RemainingCapReqOpSegTrdwnDurn | CapReq | RemainingCapReqOpSegTrdwnDurn | ||
| OperationEarliestStartDate | CapReq | OperationEarliestStartDate | ||
| OperationEarliestStartTime | CapReq | OperationEarliestStartTime | ||
| OperationEarliestEndDate | CapReq | OperationEarliestEndDate | ||
| OperationEarliestEndTime | CapReq | OperationEarliestEndTime | ||
| OperationLatestStartDate | CapReq | OperationLatestStartDate | ||
| OperationLatestStartTime | CapReq | OperationLatestStartTime | ||
| OperationLatestEndDate | CapReq | OperationLatestEndDate | ||
| OperationLatestEndTime | CapReq | OperationLatestEndTime | ||
| ActualStartDate | CapReq | ActualStartDate | ||
| ActualStartTime | CapReq | ActualStartTime | ||
| ActualEndDate | CapReq | ActualEndDate | ||
| ActualEndTime | CapReq | ActualEndTime | ||
| ErlstSchedldProcStrtDte | CapReq | ErlstSchedldProcStrtDte | ||
| ErlstSchedldProcStrtTime | CapReq | ErlstSchedldProcStrtTime | ||
| ErlstSchedldTrdwnStrtDte | CapReq | ErlstSchedldTrdwnStrtDte | ||
| ErlstSchedldTrdwnStrtTime | CapReq | ErlstSchedldTrdwnStrtTime | ||
| LtstSchedldProcStrtDte | CapReq | LtstSchedldProcStrtDte | ||
| LtstSchedldProcStrtTime | CapReq | LtstSchedldProcStrtTime | ||
| LtstSchedldTrdwnStrtDte | CapReq | LtstSchedldTrdwnStrtDte | ||
| LtstSchedldTrdwnStrtTime | CapReq | LtstSchedldTrdwnStrtTime | ||
| ActualNumberOfSplits | CapReq | ActualNumberOfSplits | ||
| CapacityRequirementSplit | CapReq | CapacityRequirementSplit | ||
| ObjectInternalID | CapReq | ObjectInternalID | ||
| _ProductionOrderHeader | _ProductionOrderHeader | |||
| _ProductionOrderType | _ProductionOrderType | |||
| _ProductionOrderSequence | _ProductionOrderSequence | |||
| _ProductionOrderOperation | _ProductionOrderOperation | |||
| _Plant | _Plant | |||
| _WorkCenter | _WorkCenter | |||
| _WorkCenterType | _WorkCenterType | |||
| _OrderInternalID | I_MfgOrderOperationBasic | _OrderInternalID | ||
| _CapacityRequirement | CapReq | _CapacityRequirement | ||
| _CapacityRequirementItem | CapReq | _CapacityRequirementItem | ||
| _CapacityRequirementConf | CapReq | _CapacityRequirementConf | ||
| _Capacity | CapReq | _Capacity | ||
| _StatusObject | CapReq | _StatusObject | ||
| _UnitOfMeasure | CapReq | _UnitOfMeasure |
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AccessControl.privilegedAssociations: ['_StatusObject']
@Analytics.dataExtraction.enabled: true
@Analytics.technicalName: 'IPRODORDOPCAP'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #NONE
@ObjectModel.supportedCapabilities: [#CDS_MODELING_DATA_SOURCE, #EXTRACTION_DATA_SOURCE, #SQL_DATA_SOURCE]
@ObjectModel.sapObjectNodeType.name: 'ProdnOrderOperationCapacity'
@ObjectModel.semanticKey: ['CapacityRequirement', 'CapacityRequirementItem', 'CapacityRqmtItemCapacity']
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #XL, dataClass: #TRANSACTIONAL}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Individual Capacity of Production Order Operation'
define view entity I_ProdnOrderOperationCapacity
as select from I_MfgOrderOperationBasic as OrderOperation
inner to many join I_CapacityRequirementItemCap as CapReq on OrderOperation.CapacityRequirement = CapReq.CapacityRequirement
and OrderOperation.CapacityRequirementItem = CapReq.CapacityRequirementItem
association [1..1] to I_ProductionOrderType as _ProductionOrderType on $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType
association [1..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [0..1] to I_WorkCenterType as _WorkCenterType on $projection.WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode
association [0..1] to I_WorkCenter as _WorkCenter on $projection.WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode
and $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID
-- SOT relations
association [1..1] to I_ProductionOrder as _ProductionOrderHeader on $projection.ProductionOrder = _ProductionOrderHeader.ProductionOrder
association [1..1] to I_ProductionOrderSequence as _ProductionOrderSequence on $projection.ProductionOrder = _ProductionOrderSequence.ProductionOrder
and $projection.ProductionOrderSequence = _ProductionOrderSequence.ProductionOrderSequence
association to parent I_ProductionOrderOperation_2 as _ProductionOrderOperation on $projection.OrderInternalID = _ProductionOrderOperation.OrderInternalID
and $projection.OrderOperationInternalID = _ProductionOrderOperation.OrderOperationInternalID
{
// Key
@ObjectModel.foreignKey.association: '_CapacityRequirement'
key CapReq.CapacityRequirement,
@ObjectModel.foreignKey.association: '_CapacityRequirementItem'
key CapReq.CapacityRequirementItem,
-- representative key
key CapReq.CapacityRqmtItemCapacity,
// Order Data
@ObjectModel.foreignKey.association: '_OrderInternalID'
OrderOperation.OrderInternalBillOfOperations as OrderInternalID,
OrderOperation.OrderIntBillOfOperationsItem as OrderOperationInternalID,
@Consumption.hidden: true
OrderOperation.ManufacturingOrderCategory,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderTypeStdVH', element: 'ProductionOrderType' } } ]
@ObjectModel.foreignKey.association: '_ProductionOrderType'
cast(OrderOperation.ManufacturingOrderType as vdm_prodnordertype preserving type) as ProductionOrderType,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderStdVH', element: 'ProductionOrder' } } ]
@ObjectModel.foreignKey.association: '_ProductionOrderHeader'
cast(OrderOperation.ManufacturingOrder as vdm_manufacturingorder preserving type) as ProductionOrder,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderSequenceVH', element: 'ProductionOrderSequence' } } ]
cast(OrderOperation.ManufacturingOrderSequence as vdm_prodnordersequence preserving type) as ProductionOrderSequence,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderOperationVH', element: 'ProductionOrderOperation' } } ]
cast(OrderOperation.ManufacturingOrderOperation_2 as vdm_prodnorderoperation preserving type) as ProductionOrderOperation,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_PlantStdVH', element: 'Plant' } } ]
@ObjectModel.foreignKey.association: '_Plant'
OrderOperation.ProductionPlant as Plant,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_WorkCenterStdVH', element: 'WorkCenterInternalID' } } ]
@ObjectModel.foreignKey.association: '_WorkCenter'
OrderOperation.WorkCenterInternalID,
@ObjectModel.foreignKey.association: '_WorkCenterType'
OrderOperation.WorkCenterTypeCode_2 as WorkCenterTypeCode,
// Assignments
@ObjectModel.foreignKey.association: '_CapacityRequirementConf'
CapReq.CapacityRqmtConfirmation,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CapacityStdVH', element: 'CapacityInternalID' } } ]
@ObjectModel.foreignKey.association: '_Capacity'
CapReq.CapacityInternalID,
CapReq.CapacityRequirementDistrKey,
// Capacity Durations
@ObjectModel.foreignKey.association: '_UnitOfMeasure'
CapReq.CapacityRequirementUnit,
CapReq.ScheduledCapReqOpSegSetupDurn,
CapReq.RemainingCapReqOpSegSetupDurn,
CapReq.ScheduledCapReqOpSegProcgDurn,
CapReq.RemainingCapReqOpSegProcgDurn,
CapReq.ScheduledCapReqOpSegTrdwnDurn,
CapReq.RemainingCapReqOpSegTrdwnDurn,
// Dates and Times
CapReq.OperationEarliestStartDate,
CapReq.OperationEarliestStartTime,
CapReq.OperationEarliestEndDate,
CapReq.OperationEarliestEndTime,
CapReq.OperationLatestStartDate,
CapReq.OperationLatestStartTime,
CapReq.OperationLatestEndDate,
CapReq.OperationLatestEndTime,
CapReq.ActualStartDate,
CapReq.ActualStartTime,
CapReq.ActualEndDate,
CapReq.ActualEndTime,
// Time Events
CapReq.ErlstSchedldProcStrtDte,
CapReq.ErlstSchedldProcStrtTime,
CapReq.ErlstSchedldTrdwnStrtDte,
CapReq.ErlstSchedldTrdwnStrtTime,
CapReq.LtstSchedldProcStrtDte,
CapReq.LtstSchedldProcStrtTime,
CapReq.LtstSchedldTrdwnStrtDte,
CapReq.LtstSchedldTrdwnStrtTime,
// Split data
CapReq.ActualNumberOfSplits,
CapReq.CapacityRequirementSplit,
@ObjectModel.foreignKey.association: '_StatusObject'
CapReq.ObjectInternalID,
// Order Data
_ProductionOrderHeader,
_ProductionOrderType,
_ProductionOrderSequence,
_ProductionOrderOperation,
_Plant,
_WorkCenter,
_WorkCenterType,
// Associations
OrderOperation._OrderInternalID,
CapReq._CapacityRequirement,
CapReq._CapacityRequirementItem,
CapReq._CapacityRequirementConf,
CapReq._Capacity,
CapReq._StatusObject,
CapReq._UnitOfMeasure
}
where
OrderOperation.ManufacturingOrderCategory = '10' and // Production Order
OrderOperation.SuperiorOperationInternalID = '00000000' // no sub-operations
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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