I_ProductionOrderConfirmation
Production Order Confirmation
I_ProductionOrderConfirmation is a Composite CDS View (Fact) that provides data about "Production Order Confirmation" in SAP S/4HANA. It reads from 1 data source (I_OrderConfirmation) and exposes 153 fields with key fields OrderConfirmationGroup, OrderConfirmation. It has 22 associations to related views. Part of development package VDM_PP_CNF.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OrderConfirmation | conf | from |
Associations (22)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProductionOrder | _ProductionOrder | $projection.ProductionOrder = _ProductionOrder.ProductionOrder |
| [0..1] | I_ProductionOrderSequence | _ProductionOrderSequence | $projection.ProductionOrder = _ProductionOrderSequence.ProductionOrder and $projection.ProductionOrderSequence = _ProductionOrderSequence.ProductionOrderSequence |
| [0..1] | I_ProductionOrderOperation_2 | _ProductionOrderOperation | $projection.OrderInternalID = _ProductionOrderOperation.OrderInternalID and $projection.OrderOperationInternalID = _ProductionOrderOperation.OrderOperationInternalID |
| [1..1] | I_ProductionOrderType | _ProductionOrderType | $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType |
| [1..1] | I_UnitOfMeasure | _ProductionUnit | $projection.ProductionUnit = _ProductionUnit.UnitOfMeasure |
| [1..1] | I_UnitOfMeasure | _RmngBusinessProcessUnit | $projection.BusinessProcRemainingQtyUnit = _RmngBusinessProcessUnit.UnitOfMeasure |
| [1..1] | I_User | _EnteredByUser | $projection.EnteredByUser = _EnteredByUser.UserID |
| [0..1] | I_User | _ChangedByUser | $projection.LastChangedByUser = _ChangedByUser.UserID |
| [0..1] | I_WorkCenter | _WorkCenterInternal | $projection.WorkCenterType = _WorkCenterInternal.WorkCenterTypeCode and $projection.WorkCenterInternalID = _WorkCenterInternal.WorkCenterInternalID |
| [0..1] | I_WorkCenterBySemanticKey | _WorkCenter | $projection.Plant = _WorkCenter.Plant and $projection.workcenter = _WorkCenter.WorkCenter |
| [0..*] | I_MfgOrderConfMatlDocItem | _MaterialDocumentItem | $projection.OrderConfirmationGroup = _MaterialDocumentItem.MfgOrderConfirmationGroup and $projection.OrderConfirmation = _MaterialDocumentItem.MfgOrderConfirmation |
| [0..1] | I_FailedGoodsMovement | _FailedGoodsMovement | $projection.FailedGoodsMovement = _FailedGoodsMovement.FailedGoodsMovement |
| [0..*] | I_FailedGoodsMovementItem | _FailedGoodsMovementItem | $projection.OrderConfirmationGroup = _FailedGoodsMovementItem.ConfirmationGroup and $projection.OrderConfirmation = _FailedGoodsMovementItem.ConfirmationCount |
| [0..*] | I_ConfFailedActualCostCalc | _FailedActualCost | $projection.OrderConfirmationGroup = _FailedActualCost.ConfirmationGroup and $projection.OrderConfirmation = _FailedActualCost.OrderConfirmation -- To child -- |
| [0..1] | E_OrderConfirmation | _Extension | $projection.OrderConfirmationGroup = _Extension.ConfirmationGroup and $projection.OrderConfirmation = _Extension.ConfirmationCount -- start new associations for full coverage of text relations |
| [1..1] | I_Plant | _PlantText | $projection.Plant = _PlantText.Plant |
| [1..1] | I_ProductionOrder | _ProductionOrderText | $projection.ProductionOrder = _ProductionOrderText.ProductionOrder |
| [0..*] | I_WorkCenterText | _WorkCenterText | $projection.WorkCenterInternalID = _WorkCenterText.WorkCenterInternalID and $projection.WorkCenterType = _WorkCenterText.WorkCenterTypeCode |
| [0..*] | I_BusinessAreaText | _BusinessAreaText | $projection.BusinessArea = _BusinessAreaText.BusinessArea |
| [0..1] | I_CompanyCode | _CompanyCodeText | $projection.CompanyCode = _CompanyCodeText.CompanyCode |
| [0..1] | I_ControllingArea | _ControllingAreaText | $projection.ControllingArea = _ControllingAreaText.ControllingArea -- end new associations for full coverage of text relations |
| [0..*] | I_ProductionOrderConfLongText | _LongText | |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.technicalName | IPRODNORDERCONF | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.sapObjectNodeType.name | ProductionOrderConfirmation | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Production Order Confirmation | view |
Fields (153)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderConfirmationGroup | I_OrderConfirmation | ConfirmationGroup | |
| KEY | OrderConfirmation | |||
| ProductionOrder | ||||
| ProductionOrderSequence | ||||
| ProductionOrderOperation | ||||
| OrderCategory | I_OrderConfirmation | OrderCategory | ||
| ProductionOrderType | ||||
| OrderInternalID | I_OrderConfirmation | OrderInternalID | ||
| OrderOperationInternalID | I_OrderConfirmation | OrderOperationInternalID | ||
| SuperiorOperationInternalID | I_OrderConfirmation | SuperiorOperationInternalID | ||
| ConfirmationText | I_OrderConfirmation | ConfirmationText | ||
| LongTextLanguage | I_OrderConfirmation | Language | ||
| LongTextExists | I_OrderConfirmation | LongTextExists | ||
| ConfirmationEntryDate | I_OrderConfirmation | ConfirmationEntryDate | ||
| ConfirmationEntryTime | I_OrderConfirmation | ConfirmationEntryTime | ||
| EnteredByUser | I_OrderConfirmation | EnteredByUser | ||
| LastChangeDate | I_OrderConfirmation | LastChangeDate | ||
| LastChangedByUser | I_OrderConfirmation | LastChangedByUser | ||
| ConfirmationExternalEntryDate | I_OrderConfirmation | ConfirmationExternalEntryDate | ||
| ConfirmationExternalEntryTime | I_OrderConfirmation | ConfirmationExternalEntryTime | ||
| EnteredByExternalUser | I_OrderConfirmation | EnteredByExternalUser | ||
| ExternalSystemConfirmation | ||||
| FinalConfirmationType | I_OrderConfirmation | FinalConfirmationType | ||
| OpenReservationsIsCleared | I_OrderConfirmation | OpenReservationsIsCleared | ||
| ConfirmationIsReversed | I_OrderConfirmation | IsReversed | ||
| CancelledOrderConfirmation | I_OrderConfirmation | CancldMfgOrderConfCount | ||
| APIConfHasNoGoodsMovements | I_OrderConfirmation | APIConfHasNoGoodsMovements | ||
| ConfirmationApplicationOrigin | I_OrderConfirmation | ConfirmationApplicationOrigin | ||
| OrderConfirmationType | I_OrderConfirmation | OrderConfirmationType | ||
| OrderConfirmationRecordType | I_OrderConfirmation | OrderConfirmationRecordType | ||
| MilestoneConfirmationType | I_OrderConfirmation | MilestoneConfirmationType | ||
| IsConfirmedByMilestoneConf | I_OrderConfirmation | IsConfirmedByMilestoneConf | ||
| MilestoneConfirmationGroup | I_OrderConfirmation | MilestoneConfirmationGroup | ||
| MilestoneConfirmation | I_OrderConfirmation | MilestoneConfirmation | ||
| Plant | I_OrderConfirmation | Plant | ||
| WorkCenterType | I_OrderConfirmation | WorkCenterTypeCode | ||
| WorkCenterInternalID | I_OrderConfirmation | WorkCenterInternalID | ||
| WorkCenter | ||||
| CapacityInternalID | I_OrderConfirmation | CapacityInternalID | ||
| CapacityRequirementSplit | I_OrderConfirmation | CapacityRequirementSplit | ||
| ShiftGrouping | I_OrderConfirmation | ShiftGrouping | ||
| ShiftDefinition | ||||
| FailedGoodsMovement | I_OrderConfirmation | FailedGoodsMovement | ||
| PlantDataCollectionID | I_OrderConfirmation | PlantDataCollectionID | ||
| BusinessArea | I_OrderConfirmation | BusinessArea | ||
| CompanyCode | I_OrderConfirmation | CompanyCode | ||
| ControllingArea | I_OrderConfirmation | ControllingArea | ||
| ProfitCenter | I_OrderConfirmation | ProfitCenter | ||
| SenderCostCenter | I_OrderConfirmation | SenderCostCenter | ||
| HCMEmployeeAssignment | I_OrderConfirmation | Personnel | ||
| TimeRecording | I_OrderConfirmation | TimeRecording | ||
| NumberOfEmployees | I_OrderConfirmation | NumberOfEmployees | ||
| PostingDate | I_OrderConfirmation | PostingDate | ||
| PostingDateYear | I_OrderConfirmation | PostingDateYear | ||
| ConfirmedExecutionStartDate | I_OrderConfirmation | ConfirmedExecutionStartDate | ||
| ConfirmedExecutionStartTime | I_OrderConfirmation | ConfirmedExecutionStartTime | ||
| ConfirmedSetupEndDate | I_OrderConfirmation | ConfirmedSetupEndDate | ||
| ConfirmedSetupEndTime | I_OrderConfirmation | ConfirmedSetupEndTime | ||
| ConfirmedProcessingStartDate | I_OrderConfirmation | ConfirmedProcessingStartDate | ||
| ConfirmedProcessingStartTime | I_OrderConfirmation | ConfirmedProcessingStartTime | ||
| ConfirmedProcessingEndDate | I_OrderConfirmation | ConfirmedProcessingEndDate | ||
| ConfirmedProcessingEndTime | I_OrderConfirmation | ConfirmedProcessingEndTime | ||
| ConfirmedTeardownStartDate | I_OrderConfirmation | ConfirmedTeardownStartDate | ||
| ConfirmedTeardownStartTime | I_OrderConfirmation | ConfirmedTeardownStartTime | ||
| ConfirmedExecutionEndDate | I_OrderConfirmation | ConfirmedExecutionEndDate | ||
| ConfirmedExecutionEndTime | I_OrderConfirmation | ConfirmedExecutionEndTime | ||
| ConfirmationUnit | I_OrderConfirmation | ConfirmationUnit | ||
| ConfirmationYieldQuantity | I_OrderConfirmation | ConfirmationYieldQuantity | ||
| ConfirmationScrapQuantity | I_OrderConfirmation | ConfirmationScrapQuantity | ||
| ConfirmationReworkQuantity | I_OrderConfirmation | ConfirmationReworkQuantity | ||
| ConfirmationTotalQuantity | I_OrderConfirmation | ConfirmationTotalQuantity | ||
| VarianceReasonCode | I_OrderConfirmation | VarianceReasonCode | ||
| ProductionUnit | ||||
| ConfYieldQtyInProductionUnit | ||||
| OperationUnit | I_OrderConfirmation | OperationUnit | ||
| OpPlannedTotalQuantity | I_OrderConfirmation | OpPlannedTotalQuantity | ||
| OpWorkQuantityUnit1 | I_OrderConfirmation | OpWorkQuantityUnit1 | ||
| OpConfirmedWorkQuantity1 | I_OrderConfirmation | OpConfirmedWorkQuantity1 | ||
| NoFurtherOpWorkQuantity1IsExpd | I_OrderConfirmation | NoFurtherOpWorkQuantity1IsExpd | ||
| OpWorkQuantityUnit2 | I_OrderConfirmation | OpWorkQuantityUnit2 | ||
| OpConfirmedWorkQuantity2 | I_OrderConfirmation | OpConfirmedWorkQuantity2 | ||
| NoFurtherOpWorkQuantity2IsExpd | I_OrderConfirmation | NoFurtherOpWorkQuantity2IsExpd | ||
| OpWorkQuantityUnit3 | I_OrderConfirmation | OpWorkQuantityUnit3 | ||
| OpConfirmedWorkQuantity3 | I_OrderConfirmation | OpConfirmedWorkQuantity3 | ||
| NoFurtherOpWorkQuantity3IsExpd | I_OrderConfirmation | NoFurtherOpWorkQuantity3IsExpd | ||
| OpWorkQuantityUnit4 | I_OrderConfirmation | OpWorkQuantityUnit4 | ||
| OpConfirmedWorkQuantity4 | I_OrderConfirmation | OpConfirmedWorkQuantity4 | ||
| NoFurtherOpWorkQuantity4IsExpd | I_OrderConfirmation | NoFurtherOpWorkQuantity4IsExpd | ||
| OpWorkQuantityUnit5 | I_OrderConfirmation | OpWorkQuantityUnit5 | ||
| OpConfirmedWorkQuantity5 | I_OrderConfirmation | OpConfirmedWorkQuantity5 | ||
| NoFurtherOpWorkQuantity5IsExpd | I_OrderConfirmation | NoFurtherOpWorkQuantity5IsExpd | ||
| OpWorkQuantityUnit6 | I_OrderConfirmation | OpWorkQuantityUnit6 | ||
| OpConfirmedWorkQuantity6 | I_OrderConfirmation | OpConfirmedWorkQuantity6 | ||
| NoFurtherOpWorkQuantity6IsExpd | I_OrderConfirmation | NoFurtherOpWorkQuantity6IsExpd | ||
| BusinessProcess | I_OrderConfirmation | BusinessProcess | ||
| BusinessProcessEntryUnit | I_OrderConfirmation | BusinessProcessEntryUnit | ||
| BusinessProcessConfirmedQty | I_OrderConfirmation | BusinessProcessConfirmedQty | ||
| NoFurtherBusinessProcQtyIsExpd | I_OrderConfirmation | NoFurtherBusinessProcQtyIsExpd | ||
| BusinessProcRemainingQtyUnit | I_OrderConfirmation | BusinessProcRemainingQtyUnit | ||
| BusinessProcessRemainingQty | I_OrderConfirmation | BusinessProcessRemainingQty | ||
| BreakDurationUnit | I_OrderConfirmation | BreakDurationUnit | ||
| ConfirmedBreakDuration | I_OrderConfirmation | ConfirmedBreakDuration | ||
| _ProductionOrder | _ProductionOrder | |||
| _ProductionOrderSequence | _ProductionOrderSequence | |||
| _ProductionOrderOperation | _ProductionOrderOperation | |||
| _ProductionOrderType | _ProductionOrderType | |||
| _ConfirmationGroup | I_OrderConfirmation | _ConfirmationGroup | ||
| _MaterialDocumentItem | _MaterialDocumentItem | |||
| _FailedActualCost | _FailedActualCost | |||
| _FailedGoodsMovementItem | _FailedGoodsMovementItem | |||
| _OrderInternalID | I_OrderConfirmation | _OrderInternalID | ||
| _ProductionUnit | _ProductionUnit | |||
| _ConfirmationUnit | I_OrderConfirmation | _ConfirmationUnit | ||
| _OperationUnit | I_OrderConfirmation | _OperationUnit | ||
| _FinalConfirmationType | I_OrderConfirmation | _FinalConfirmationType | ||
| _ConfirmationType | I_OrderConfirmation | _ConfirmationType | ||
| _ConfirmationRecordType | I_OrderConfirmation | _ConfirmationRecordType | ||
| _ConfirmationApplOrigin | I_OrderConfirmation | _ConfirmationApplOrigin | ||
| _MilestoneConfirmationGroup | I_OrderConfirmation | _MilestoneConfirmationGroup | ||
| _MilestoneConfirmation | I_OrderConfirmation | _MilestoneConfirmation | ||
| _LongTextLanguage | I_OrderConfirmation | _Language | ||
| _WorkCenterType | I_OrderConfirmation | _WorkCenterType | ||
| _WorkCenterInternal | _WorkCenterInternal | |||
| _WorkCenter | _WorkCenter | |||
| _Plant | I_OrderConfirmation | _Plant | ||
| _Capacity | I_OrderConfirmation | _Capacity | ||
| _ShiftGrouping | I_OrderConfirmation | _ShiftGrouping | ||
| _ShiftDefinition | I_OrderConfirmation | _ShiftDefinition | ||
| _BusinessArea | I_OrderConfirmation | _BusinessArea | ||
| _CompanyCode | I_OrderConfirmation | _CompanyCode | ||
| _ControllingArea | I_OrderConfirmation | _ControllingArea | ||
| _BusinessProcess | I_OrderConfirmation | _BusinessProcess | ||
| _BusinessProcessUnit | I_OrderConfirmation | _BusinessProcessUnit | ||
| _RmngBusinessProcessUnit | _RmngBusinessProcessUnit | |||
| _WorkQuantityUnit1 | I_OrderConfirmation | _WorkQuantityUnit1 | ||
| _WorkQuantityUnit2 | I_OrderConfirmation | _WorkQuantityUnit2 | ||
| _WorkQuantityUnit3 | I_OrderConfirmation | _WorkQuantityUnit3 | ||
| _WorkQuantityUnit4 | I_OrderConfirmation | _WorkQuantityUnit4 | ||
| _WorkQuantityUnit5 | I_OrderConfirmation | _WorkQuantityUnit5 | ||
| _WorkQuantityUnit6 | I_OrderConfirmation | _WorkQuantityUnit6 | ||
| _BreakDurationUnit | I_OrderConfirmation | _BreakDurationUnit | ||
| _VarianceReason | I_OrderConfirmation | _VarianceReason | ||
| _EnteredByUser | _EnteredByUser | |||
| _ChangedByUser | _ChangedByUser | |||
| _FailedGoodsMovement | _FailedGoodsMovement | |||
| _PostingDate | I_OrderConfirmation | _PostingDate | ||
| _PostingDateYear | I_OrderConfirmation | _PostingDateYear | ||
| _ProductionOrderText | _ProductionOrderText | |||
| _PlantText | _PlantText | |||
| _WorkCenterText | _WorkCenterText | |||
| _BusinessAreaText | _BusinessAreaText | |||
| _CompanyCodeText | _CompanyCodeText | |||
| _ControllingAreaText | _ControllingAreaText |
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AccessControl.privilegedAssociations: ['_EnteredByUser', '_ChangedByUser']
@Analytics.dataCategory: #FACT
@Analytics.dataExtraction: { enabled: true,
delta.changeDataCapture:
{ mapping:
[ { role: #MAIN,
table: 'afru',
tableElement: ['rueck' , 'rmzhl'],
viewElement: ['OrderConfirmationGroup', 'OrderConfirmation']
},
{ role: #LEFT_OUTER_TO_ONE_JOIN,
table: 'aufk',
tableElement: ['aufnr'],
viewElement: ['ProductionOrder']
},
{ role: #LEFT_OUTER_TO_ONE_JOIN,
table: 'afvv',
tableElement: ['aufpl' , 'aplzl'],
viewElement: ['OrderInternalID', 'OrderOperationInternalID']
} ] } }
@Analytics.technicalName: 'IPRODNORDERCONF'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.compositionRoot: true
@ObjectModel.modelingPattern: #NONE
@ObjectModel.supportedCapabilities: [#CDS_MODELING_DATA_SOURCE, #EXTRACTION_DATA_SOURCE, #SQL_DATA_SOURCE]
@ObjectModel.sapObjectNodeType.name: 'ProductionOrderConfirmation'
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #XL, dataClass: #MIXED}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Production Order Confirmation'
define view entity I_ProductionOrderConfirmation
as select from I_OrderConfirmation as conf
association [1..1] to I_ProductionOrder as _ProductionOrder on $projection.ProductionOrder = _ProductionOrder.ProductionOrder
association [0..1] to I_ProductionOrderSequence as _ProductionOrderSequence on $projection.ProductionOrder = _ProductionOrderSequence.ProductionOrder
and $projection.ProductionOrderSequence = _ProductionOrderSequence.ProductionOrderSequence
association [0..1] to I_ProductionOrderOperation_2 as _ProductionOrderOperation on $projection.OrderInternalID = _ProductionOrderOperation.OrderInternalID
and $projection.OrderOperationInternalID = _ProductionOrderOperation.OrderOperationInternalID
association [1..1] to I_ProductionOrderType as _ProductionOrderType on $projection.ProductionOrderType = _ProductionOrderType.ProductionOrderType
association [1..1] to I_UnitOfMeasure as _ProductionUnit on $projection.ProductionUnit = _ProductionUnit.UnitOfMeasure
association [1..1] to I_UnitOfMeasure as _RmngBusinessProcessUnit on $projection.BusinessProcRemainingQtyUnit = _RmngBusinessProcessUnit.UnitOfMeasure
association [1..1] to I_User as _EnteredByUser on $projection.EnteredByUser = _EnteredByUser.UserID
association [0..1] to I_User as _ChangedByUser on $projection.LastChangedByUser = _ChangedByUser.UserID
association [0..1] to I_WorkCenter as _WorkCenterInternal on $projection.WorkCenterType = _WorkCenterInternal.WorkCenterTypeCode
and $projection.WorkCenterInternalID = _WorkCenterInternal.WorkCenterInternalID
association [0..1] to I_WorkCenterBySemanticKey as _WorkCenter on $projection.Plant = _WorkCenter.Plant
and $projection.workcenter = _WorkCenter.WorkCenter
association [0..*] to I_MfgOrderConfMatlDocItem as _MaterialDocumentItem on $projection.OrderConfirmationGroup = _MaterialDocumentItem.MfgOrderConfirmationGroup
and $projection.OrderConfirmation = _MaterialDocumentItem.MfgOrderConfirmation
association [0..1] to I_FailedGoodsMovement as _FailedGoodsMovement on $projection.FailedGoodsMovement = _FailedGoodsMovement.FailedGoodsMovement
association [0..*] to I_FailedGoodsMovementItem as _FailedGoodsMovementItem on $projection.OrderConfirmationGroup = _FailedGoodsMovementItem.ConfirmationGroup
and $projection.OrderConfirmation = _FailedGoodsMovementItem.ConfirmationCount
association [0..*] to I_ConfFailedActualCostCalc as _FailedActualCost on $projection.OrderConfirmationGroup = _FailedActualCost.ConfirmationGroup
and $projection.OrderConfirmation = _FailedActualCost.OrderConfirmation
-- To child
-- composition [0..*] of I_ProductionOrderConfLongText as _LongText
-- To extension
association [0..1] to E_OrderConfirmation as _Extension on $projection.OrderConfirmationGroup = _Extension.ConfirmationGroup
and $projection.OrderConfirmation = _Extension.ConfirmationCount
-- start new associations for full coverage of text relations
association [1..1] to I_Plant as _PlantText on $projection.Plant = _PlantText.Plant
association [1..1] to I_ProductionOrder as _ProductionOrderText on $projection.ProductionOrder = _ProductionOrderText.ProductionOrder
association [0..*] to I_WorkCenterText as _WorkCenterText on $projection.WorkCenterInternalID = _WorkCenterText.WorkCenterInternalID
and $projection.WorkCenterType = _WorkCenterText.WorkCenterTypeCode
association [0..*] to I_BusinessAreaText as _BusinessAreaText on $projection.BusinessArea = _BusinessAreaText.BusinessArea
association [0..1] to I_CompanyCode as _CompanyCodeText on $projection.CompanyCode = _CompanyCodeText.CompanyCode
association [0..1] to I_ControllingArea as _ControllingAreaText on $projection.ControllingArea = _ControllingAreaText.ControllingArea
-- end new associations for full coverage of text relations
{
// Key
@ObjectModel.foreignKey.association: '_ConfirmationGroup'
key conf.ConfirmationGroup as OrderConfirmationGroup,
@ObjectModel.text.element: ['ConfirmationText']
key cast(conf.OrderConfirmation as vdm_prodnorderconf preserving type) as OrderConfirmation,
// Order and Operation Data
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderStdVH', element: 'ProductionOrder' } } ]
cast(conf.OrderID as vdm_manufacturingorder preserving type) as ProductionOrder,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderSequenceVH', element: 'ProductionOrderSequence' } } ]
cast(conf.Sequence as vdm_prodnordersequence preserving type) as ProductionOrderSequence,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProductionOrderOperationVH', element: 'ProductionOrderOperation' } } ]
cast(conf.OrderOperation_2 as vdm_prodnorderoperation preserving type) as ProductionOrderOperation,
@Consumption.hidden: true
conf.OrderCategory,
@ObjectModel.foreignKey.association: '_ProductionOrderType'
cast(conf.OrderType as vdm_prodnordertype preserving type) as ProductionOrderType,
// Internal Keys
@ObjectModel.foreignKey.association: '_OrderInternalID'
conf.OrderInternalID,
conf.OrderOperationInternalID,
conf.SuperiorOperationInternalID,
// Text
@Semantics.text: true
conf.ConfirmationText,
@ObjectModel.foreignKey.association: '_LongTextLanguage'
conf.Language as LongTextLanguage,
@Semantics.booleanIndicator: true
conf.LongTextExists,
// Admin
@Semantics.systemDate.createdAt: true
conf.ConfirmationEntryDate,
@Semantics.systemTime.createdAt: true
conf.ConfirmationEntryTime,
@Semantics.user.createdBy: true
conf.EnteredByUser,
@Semantics.systemDate.lastChangedAt: true
conf.LastChangeDate,
@Semantics.user.lastChangedBy: true
conf.LastChangedByUser,
@Semantics.systemDate.createdAt: true
conf.ConfirmationExternalEntryDate,
@Semantics.systemTime.createdAt: true
conf.ConfirmationExternalEntryTime,
conf.EnteredByExternalUser,
-- conf.ExternalSystemConfirmation,
// Attributes
@ObjectModel.foreignKey.association: '_FinalConfirmationType'
conf.FinalConfirmationType,
@Semantics.booleanIndicator: true
conf.OpenReservationsIsCleared,
@Semantics.booleanIndicator: true
conf.IsReversed as ConfirmationIsReversed,
conf.CancldMfgOrderConfCount as CancelledOrderConfirmation,
@Semantics.booleanIndicator: true
conf.APIConfHasNoGoodsMovements,
@ObjectModel.foreignKey.association: '_ConfirmationApplOrigin'
conf.ConfirmationApplicationOrigin,
@ObjectModel.foreignKey.association: '_ConfirmationType'
conf.OrderConfirmationType,
@ObjectModel.foreignKey.association: '_ConfirmationRecordType'
conf.OrderConfirmationRecordType,
// Milestone
conf.MilestoneConfirmationType,
conf.IsConfirmedByMilestoneConf,
@ObjectModel.foreignKey.association: '_MilestoneConfirmationGroup'
conf.MilestoneConfirmationGroup,
@ObjectModel.foreignKey.association: '_MilestoneConfirmation'
conf.MilestoneConfirmation,
// Assignments
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_PlantStdVH', element: 'Plant' } } ]
@ObjectModel.foreignKey.association: '_Plant'
conf.Plant,
@ObjectModel.foreignKey.association: '_WorkCenterType'
conf.WorkCenterTypeCode as WorkCenterType,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_WorkCenterStdVH', element: 'WorkCenterInternalID' } } ]
@ObjectModel.foreignKey.association: '_WorkCenterInternal'
@ObjectModel.text.association: '_WorkCenterText'
conf.WorkCenterInternalID,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_WrkCtrBySemanticKeyStdVH', element: 'WorkCenter' } } ]
@ObjectModel.foreignKey.association: '_WorkCenter'
conf._WorkCenter.WorkCenter,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CapacityStdVH', element: 'CapacityInternalID' } } ]
@ObjectModel.foreignKey.association: '_Capacity'
conf.CapacityInternalID,
conf.CapacityRequirementSplit,
@ObjectModel.foreignKey.association: '_ShiftGrouping'
conf.ShiftGrouping,
-- @ObjectModel.foreignKey.association: '_ShiftDefinition'
conf.ShiftDefinition,
@ObjectModel.foreignKey.association: '_FailedGoodsMovement'
conf.FailedGoodsMovement,
conf.PlantDataCollectionID,
// Assignments FI/CO
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_BusinessAreaStdVH', element: 'BusinessArea' } } ]
@ObjectModel.foreignKey.association: '_BusinessArea'
@ObjectModel.text.association: '_BusinessAreaText'
conf.BusinessArea,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CompanyCodeStdVH', element: 'CompanyCode' } } ]
@ObjectModel.foreignKey.association: '_CompanyCode'
conf.CompanyCode,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ControllingAreaStdVH', element: 'ControllingArea' } } ]
@ObjectModel.foreignKey.association: '_ControllingArea'
conf.ControllingArea,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_ProfitCenterStdVH', element: 'ProfitCenter' } } ]
conf.ProfitCenter,
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CostCenterStdVH', element: 'CostCenter' } } ]
conf.SenderCostCenter,
// Assignments HR
conf.Personnel as HCMEmployeeAssignment,
conf.TimeRecording,
conf.NumberOfEmployees,
// Dates
@ObjectModel.foreignKey.association: '_PostingDate'
@Semantics.businessDate.at: true
conf.PostingDate,
@ObjectModel.foreignKey.association: '_PostingDateYear'
conf.PostingDateYear,
// Time Events
conf.ConfirmedExecutionStartDate,
conf.ConfirmedExecutionStartTime,
conf.ConfirmedSetupEndDate,
conf.ConfirmedSetupEndTime,
conf.ConfirmedProcessingStartDate,
conf.ConfirmedProcessingStartTime,
conf.ConfirmedProcessingEndDate,
conf.ConfirmedProcessingEndTime,
conf.ConfirmedTeardownStartDate,
conf.ConfirmedTeardownStartTime,
conf.ConfirmedExecutionEndDate,
conf.ConfirmedExecutionEndTime,
// Quantities and UoM
@ObjectModel.foreignKey.association: '_ConfirmationUnit'
conf.ConfirmationUnit,
@Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
@Aggregation.default: #SUM
conf.ConfirmationYieldQuantity,
@Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
@Aggregation.default: #SUM
conf.ConfirmationScrapQuantity,
@Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
@Aggregation.default: #SUM
conf.ConfirmationReworkQuantity,
@Semantics.quantity.unitOfMeasure: 'ConfirmationUnit'
@Aggregation.default: #SUM
conf.ConfirmationTotalQuantity,
@ObjectModel.foreignKey.association: '_VarianceReason'
conf.VarianceReasonCode,
@ObjectModel.foreignKey.association: '_ProductionUnit'
cast(OrderQuantityUnit as productionunit preserving type) as ProductionUnit,
@Semantics.quantity.unitOfMeasure: 'ProductionUnit'
@Aggregation.default: #SUM
cast(ConfirmedYieldQtyInOrderUnit as ru_gmnga preserving type) as ConfYieldQtyInProductionUnit,
@ObjectModel.foreignKey.association: '_OperationUnit'
conf.OperationUnit,
@Semantics.quantity.unitOfMeasure: 'OperationUnit'
@Aggregation.default: #SUM
conf.OpPlannedTotalQuantity,
// Work Quantities and UoM
@ObjectModel.foreignKey.association: '_WorkQuantityUnit1'
conf.OpWorkQuantityUnit1,
@Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit1'
@Aggregation.default: #SUM
conf.OpConfirmedWorkQuantity1,
conf.NoFurtherOpWorkQuantity1IsExpd,
@ObjectModel.foreignKey.association: '_WorkQuantityUnit2'
conf.OpWorkQuantityUnit2,
@Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit2'
@Aggregation.default: #SUM
conf.OpConfirmedWorkQuantity2,
conf.NoFurtherOpWorkQuantity2IsExpd,
@ObjectModel.foreignKey.association: '_WorkQuantityUnit3'
conf.OpWorkQuantityUnit3,
@Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit3'
@Aggregation.default: #SUM
conf.OpConfirmedWorkQuantity3,
conf.NoFurtherOpWorkQuantity3IsExpd,
@ObjectModel.foreignKey.association: '_WorkQuantityUnit4'
conf.OpWorkQuantityUnit4,
@Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit4'
@Aggregation.default: #SUM
conf.OpConfirmedWorkQuantity4,
conf.NoFurtherOpWorkQuantity4IsExpd,
@ObjectModel.foreignKey.association: '_WorkQuantityUnit5'
conf.OpWorkQuantityUnit5,
@Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit5'
@Aggregation.default: #SUM
conf.OpConfirmedWorkQuantity5,
conf.NoFurtherOpWorkQuantity5IsExpd,
@ObjectModel.foreignKey.association: '_WorkQuantityUnit6'
conf.OpWorkQuantityUnit6,
@Semantics.quantity.unitOfMeasure: 'OpWorkQuantityUnit6'
@Aggregation.default: #SUM
conf.OpConfirmedWorkQuantity6,
conf.NoFurtherOpWorkQuantity6IsExpd,
// Business Process
@ObjectModel.foreignKey.association: '_BusinessProcess'
conf.BusinessProcess,
@ObjectModel.foreignKey.association: '_BusinessProcessUnit'
conf.BusinessProcessEntryUnit,
@Semantics.quantity.unitOfMeasure: 'BusinessProcessEntryUnit'
@Aggregation.default: #SUM
conf.BusinessProcessConfirmedQty,
conf.NoFurtherBusinessProcQtyIsExpd,
@ObjectModel.foreignKey.association: '_RmngBusinessProcessUnit'
conf.BusinessProcRemainingQtyUnit,
@Semantics.quantity.unitOfMeasure: 'BusinessProcRemainingQtyUnit'
@Aggregation.default: #SUM
conf.BusinessProcessRemainingQty,
// Durations
@ObjectModel.foreignKey.association: '_BreakDurationUnit'
conf.BreakDurationUnit,
@Semantics.quantity.unitOfMeasure: 'BreakDurationUnit'
@Aggregation.default: #SUM
conf.ConfirmedBreakDuration,
// Associations
_ProductionOrder,
_ProductionOrderSequence,
_ProductionOrderOperation,
_ProductionOrderType,
conf._ConfirmationGroup,
_MaterialDocumentItem,
_FailedActualCost,
_FailedGoodsMovementItem,
@Consumption.hidden: true
conf._OrderInternalID,
_ProductionUnit,
conf._ConfirmationUnit,
conf._OperationUnit,
conf._FinalConfirmationType,
conf._ConfirmationType,
conf._ConfirmationRecordType,
conf._ConfirmationApplOrigin,
conf._MilestoneConfirmationGroup,
conf._MilestoneConfirmation,
conf._Language as _LongTextLanguage,
conf._WorkCenterType,
_WorkCenterInternal,
_WorkCenter,
conf._Plant,
conf._Capacity,
conf._ShiftGrouping,
conf._ShiftDefinition,
conf._BusinessArea,
conf._CompanyCode,
conf._ControllingArea,
conf._BusinessProcess,
conf._BusinessProcessUnit,
_RmngBusinessProcessUnit,
conf._WorkQuantityUnit1,
conf._WorkQuantityUnit2,
conf._WorkQuantityUnit3,
conf._WorkQuantityUnit4,
conf._WorkQuantityUnit5,
conf._WorkQuantityUnit6,
conf._BreakDurationUnit,
conf._VarianceReason,
_EnteredByUser,
_ChangedByUser,
_FailedGoodsMovement,
conf._PostingDate,
conf._PostingDateYear,
// Text relations
_ProductionOrderText,
_PlantText,
_WorkCenterText,
_BusinessAreaText,
_CompanyCodeText,
_ControllingAreaText
}
where ( conf.ConfirmationApplicationOrigin = '2' or //Production orders only
conf.ConfirmationApplicationOrigin = '8' ); //including results recording
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