I_MfgOrderConfirmation

DDL: I_MFGORDERCONFIRMATION SQL: IPPMFGORDCONF Type: view BASIC

Manufacturing Order Confirmation

I_MfgOrderConfirmation (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Production Order Confirmation · Manufacturing

I_MfgOrderConfirmation is a Basic CDS View (Dimension) that provides data about "Manufacturing Order Confirmation" in SAP S/4HANA. It reads from 1 data source (I_OrderConfirmation) and exposes 182 fields with key fields MfgOrderConfirmationGroup, MfgOrderConfirmation. It has 23 associations to related views.

SAP Help Documentation

CategoryCDS Views for Discrete and Process Manufacturing
Data Extraction TypeFull
Purpose
With this CDS view, you can retrieve manufacturing order confirmation data (table AFRU ). This CDS view provides the prerequisites for answering the following business questions: Which confirmations exist for a manufacturing order? How many confirmations are reversals or have been reversed? Who entered a manufacturing order confirmation? Which work quantities (activities) have been posted with a manufacturing order confirmation? What are the yield, scrap, and rework quantities of a manufacturing order confirmation?

Prerequisites
You have authorizations to display order confirmations by plant and order type ( C_AFRU_AWK ).

Structure
Main input parameters This CDS view does not have any input parameters. Measures and attributes The following main measures are provided: Work quantities 1 - 6 Confirmed scrap quantity Confirmed yield quantity Confirmed rework quantity Confirmed business process Confirmed break duration The following main attributes are provided: Manufacturing order confirmation Manufacturing order Manufacturing order operation Manufacturing order type and category Creation date, time, and user Plant Work center internal ID Confirmation text Confirmed by milestone indicator Final confirmation indicator Reversed indicator Shift definition Shift grouping Capacity internal ID Personnel number Time recording Posting date Start and end dates of time events Confirmation unit Work quantity (activity) units 1 - 6 Business process unit Break duration unit

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction, Analytical Dimension
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>With this CDS view, you can retrieve manufacturing order confirmation data (table AFRU). </p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which confirmations exist for a manufacturing order?</p></li> <li><p>How many confirmations are reversals or have been reversed?</p></li> <li><p>Who entered a manufacturing order confirmation?</p></li> <li><p>Which work quantities (activities) have been posted with a manufacturing order confirmation?</p></li> <li><p>What are the yield, scrap, and rework quantities of a manufacturing order confirmation?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_OrderConfirmation conf from

Associations (23)

CardinalityTargetAliasCondition
[1..1] I_ManufacturingOrder _MfgOrder $projection.ManufacturingOrder = _MfgOrder.ManufacturingOrder
[1..1] I_MfgOrder _MfgOrder2 $projection.ManufacturingOrder = _MfgOrder2.ManufacturingOrder
[0..1] I_MfgOrderSequence _MfgOrderSequence $projection.ManufacturingOrder = _MfgOrderSequence.ManufacturingOrder and $projection.ManufacturingOrderSequence = _MfgOrderSequence.ManufacturingOrderSequence
[0..1] I_ManufacturingOrderSequence _MfgOrderSequence2 $projection.ManufacturingOrder = _MfgOrderSequence2.ManufacturingOrder and $projection.ManufacturingOrderSequence = _MfgOrderSequence2.ManufacturingOrderSequence
[1..1] I_MfgOrderOperationBySemanKey _MfgOrderOperation $projection.ManufacturingOrder = _MfgOrderOperation.ManufacturingOrder and $projection.ManufacturingOrderSequence = _MfgOrderOperation.ManufacturingOrderSequence and $projection.ManufacturingOrderOperation = _MfgOrderOperation.ManufacturingOrderOperation
[1..1] I_MfgOrderOperationBySemKey _MfgOrderOperation2 $projection.ManufacturingOrder = _MfgOrderOperation2.ManufacturingOrder and $projection.ManufacturingOrderSequence = _MfgOrderOperation2.ManufacturingOrderSequence and $projection.ManufacturingOrderOperation_2 = _MfgOrderOperation2.ManufacturingOrderOperation
[1..1] I_MfgOrderCategory _MfgOrderCategory $projection.ManufacturingOrderCategory = _MfgOrderCategory.ManufacturingOrderCategory
[1..1] I_MfgOrderType _MfgOrderType $projection.ManufacturingOrderType = _MfgOrderType.ManufacturingOrderType
[1..1] I_UnitOfMeasure _ProductionUnit $projection.ProductionUnit = _ProductionUnit.UnitOfMeasure
[0..1] I_MaterialDocumentHeader _MaterialDocument2 $projection.MaterialDocument = _MaterialDocument2.MaterialDocument and $projection.MaterialDocumentYear = _MaterialDocument2.MaterialDocumentYear
[0..1] I_FailedGoodsMovement _FailedGoodsMovement $projection.FailedGoodsMovement = _FailedGoodsMovement.FailedGoodsMovement -- To child Long text
[0..*] I_MfgOrderConfirmationLongText _MfgOrderConfLongText $projection.MfgOrderConfirmationGroup = _MfgOrderConfLongText.MfgOrderConfirmationGroup and $projection.MfgOrderConfirmation = _MfgOrderConfLongText.MfgOrderConfirmationCount -- To child Material Document Items
[0..*] I_MfgOrderConfMatlDocItem _ConfMatlDocItem $projection.MfgOrderConfirmationGroup = _ConfMatlDocItem.MfgOrderConfirmationGroup and $projection.MfgOrderConfirmation = _ConfMatlDocItem.MfgOrderConfirmation -- To child Failed Goods Movements
[0..*] I_FailedGoodsMovementItem _ConfFailedGdsMvtItem $projection.MfgOrderConfirmationGroup = _ConfFailedGdsMvtItem.ConfirmationGroup and $projection.MfgOrderConfirmation = _ConfFailedGdsMvtItem.ConfirmationCount -- To child Failed Actual Costs
[0..*] I_ConfFailedActualCostCalc _ConfFailedActualCost $projection.MfgOrderConfirmationGroup = _ConfFailedActualCost.ConfirmationGroup and $projection.MfgOrderConfirmation = _ConfFailedActualCost.OrderConfirmation -- To extension
[0..1] E_OrderConfirmation _Extension $projection.MfgOrderConfirmationGroup = _Extension.ConfirmationGroup and $projection.MfgOrderConfirmation = _Extension.ConfirmationCount -- start new associations for full coverage of text relations
[1..1] I_Plant _PlantText $projection.Plant = _PlantText.Plant
[1..1] I_ManufacturingOrder _MfgOrderText $projection.ManufacturingOrder = _MfgOrderText.ManufacturingOrder
[0..*] I_WorkCenterText _WorkCenterText $projection.WorkCenterInternalID = _WorkCenterText.WorkCenterInternalID and $projection.WorkCenterTypeCode = _WorkCenterText.WorkCenterTypeCode
[0..1] I_PersonWorkAgreement_1 _PersonWorkAgreementText $projection.Personnel = _PersonWorkAgreementText.PersonWorkAgreement
[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

Annotations (21)

NameValueLevelField
AbapCatalog.sqlViewName IPPMFGORDCONF view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
Metadata.allowExtensions true view
ObjectModel.compositionRoot true view
ObjectModel.modelingPattern #NONE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey MfgOrderConfirmation view
ObjectModel.sapObjectNodeType.name ProductionOrderConfirmation view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Manufacturing Order Confirmation view

Fields (182)

KeyFieldSource TableSource FieldDescription
KEY MfgOrderConfirmationGroup I_OrderConfirmation ConfirmationGroup Collective ID of Order Confirmations
KEY MfgOrderConfirmation I_OrderConfirmation OrderConfirmation Identifier of Single Order Confirmation
ManufacturingOrder Manufacturing Order ID
ManufacturingOrderSequence Manufacturing Order Sequence
ManufacturingOrderOperation Operation/Phase Number
ManufacturingOrderOperation_2 I_OrderConfirmation OrderOperation_2 Operation or Phase Number
ManufacturingOrderCategory Manufacturing Order Category
ManufacturingOrderType Manufacturing Order Type
OrderInternalID I_OrderConfirmation OrderInternalID Order Internal ID
OrderOperationInternalID I_OrderConfirmation OrderOperationInternalID Internal Identifier of an Operation or Activity
SuperiorOperationInternalID I_OrderConfirmation SuperiorOperationInternalID Internal ID of the Superior Operation
ConfirmationText I_OrderConfirmation ConfirmationText Confirmation Text
Language I_OrderConfirmation Language Report Text Language
LongTextExists I_OrderConfirmation LongTextExists Long Text Exists
MfgOrderConfirmationEntryDate I_OrderConfirmation ConfirmationEntryDate Entry Date of Confirmation
MfgOrderConfirmationEntryTime I_OrderConfirmation ConfirmationEntryTime Confirmation Entry Time
EnteredByUser I_OrderConfirmation EnteredByUser User who Entered the Confirmation
LastChangeDate I_OrderConfirmation LastChangeDate Date of Last Change
LastChangedByUser I_OrderConfirmation LastChangedByUser Name of Person Who Changed Object
ConfirmationExternalEntryDate I_OrderConfirmation ConfirmationExternalEntryDate External date of entry for confirmation
ConfirmationExternalEntryTime I_OrderConfirmation ConfirmationExternalEntryTime External time of entry for confirmation
EnteredByExternalUser I_OrderConfirmation EnteredByExternalUser External creator of confirmation
ExternalSystemConfirmation I_OrderConfirmation ExternalSystemConfirmation External Key for Confirmation (for example, from PDC System)
FinalConfirmationType I_OrderConfirmation FinalConfirmationType Final Confirmation Type
IsFinalConfirmation I_OrderConfirmation IsFinalConfirmation Activation of Final Confirmation
OpenReservationsIsCleared I_OrderConfirmation OpenReservationsIsCleared Clear Open Reservations
IsReversed I_OrderConfirmation IsReversed Indicator: Document was reversed
IsReversal I_OrderConfirmation IsReversal Confirmation record is a Cancellation
CancldMfgOrderConfCount I_OrderConfirmation CancldMfgOrderConfCount Confirmation Counter of Cancelled Confirmation
APIConfHasNoGoodsMovements I_OrderConfirmation APIConfHasNoGoodsMovements Confirmation: No Goods Movement via API
ConfirmationApplicationOrigin I_OrderConfirmation ConfirmationApplicationOrigin Origin Code: Confirmation Application
OrderConfirmationType I_OrderConfirmation OrderConfirmationType Indicator for Type of Confirmation
OrderConfirmationRecordType I_OrderConfirmation OrderConfirmationRecordType Record Type for Confirmation
MilestoneIsConfirmed I_OrderConfirmation MilestoneIsConfirmed Indicator: Milestone Confirmation Carried Out
MilestoneConfirmationType I_OrderConfirmation MilestoneConfirmationType Milestone Confirmation Type
IsConfirmedByMilestoneConf I_OrderConfirmation IsConfirmedByMilestoneConf Confirmation was created by Milestone Confirmation
MilestoneConfirmationGroup I_OrderConfirmation MilestoneConfirmationGroup Collective ID of Milestone Confirmation
MilestoneConfirmation I_OrderConfirmation MilestoneConfirmation Identifier of Single Milestone Confirmation
Plant I_OrderConfirmation Plant Valuation Area
WorkCenterTypeCode I_OrderConfirmation WorkCenterTypeCode Object Type of the Resource
WorkCenterInternalID I_OrderConfirmation WorkCenterInternalID Work Center Internal ID
CapacityInternalID I_OrderConfirmation CapacityInternalID Capacity ID
CapacityRequirementSplit I_OrderConfirmation CapacityRequirementSplit Capacity Split Number
ShiftGrouping I_OrderConfirmation ShiftGrouping Grouping for Shift Definitions and Shift Sequences
ShiftDefinition Shift Definition
MaterialDocument I_OrderConfirmation MaterialDocument Number of Material Document
MaterialDocumentYear I_OrderConfirmation MaterialDocumentYear Material Document Year
FailedGoodsMovement I_OrderConfirmation FailedGoodsMovement Goods Movement With Error Document ID
PlantDataCollectionID I_OrderConfirmation PlantDataCollectionID PDC Number (Specific ID for all PDC Systems)
OriginalBatch I_OrderConfirmation OriginalBatch Original Batch
BatchBySupplier I_OrderConfirmation BatchBySupplier Supplier Batch Number
BusinessArea I_OrderConfirmation BusinessArea Business Area
CompanyCode I_OrderConfirmation CompanyCode Receiver Company Code
ControllingArea I_OrderConfirmation ControllingArea Controlling Area
ProfitCenter I_OrderConfirmation ProfitCenter Profit Center
SenderCostCenter I_OrderConfirmation SenderCostCenter Sender Cost Center
ProductCostCollector I_OrderConfirmation ProductCostCollector Cost Collector for Production Process
Personnel I_OrderConfirmation Personnel Personnel Number
TimeRecording I_OrderConfirmation TimeRecording Time Recording ID
EmployeeWageType I_OrderConfirmation EmployeeWageType Employee Wage Type
EmployeeWageGroup I_OrderConfirmation EmployeeWageGroup Employee Wage Group
EmployeeSuitability I_OrderConfirmation EmployeeSuitability Employee Suitability
NumberOfEmployees I_OrderConfirmation NumberOfEmployees Number of Employees
PostingDate I_OrderConfirmation PostingDate Posting Date for GR
PostingDateYear I_OrderConfirmation PostingDateYear Calendar Year
ConfirmedExecutionStartDate I_OrderConfirmation ConfirmedExecutionStartDate Confirmed Start Date of Execution
ConfirmedExecutionStartTime I_OrderConfirmation ConfirmedExecutionStartTime Confirmed Start Time of Execution
ConfirmedSetupEndDate I_OrderConfirmation ConfirmedSetupEndDate Confirmed End Date of Setup
ConfirmedSetupEndTime I_OrderConfirmation ConfirmedSetupEndTime Confirmed End Time of Setup
ConfirmedProcessingStartDate I_OrderConfirmation ConfirmedProcessingStartDate Confirmed Start Date of Processing
ConfirmedProcessingStartTime I_OrderConfirmation ConfirmedProcessingStartTime Confirmed Start Time of Processing
ConfirmedProcessingEndDate I_OrderConfirmation ConfirmedProcessingEndDate Confirmed End Date of Processing
ConfirmedProcessingEndTime I_OrderConfirmation ConfirmedProcessingEndTime Confirmed End Time of Processing
ConfirmedTeardownStartDate I_OrderConfirmation ConfirmedTeardownStartDate Confirmed Start Date of Teardown
ConfirmedTeardownStartTime I_OrderConfirmation ConfirmedTeardownStartTime Confirmed Start Time of Teardown
ConfirmedExecutionEndDate I_OrderConfirmation ConfirmedExecutionEndDate Confirmed End Date of Execution
ConfirmedExecutionEndTime I_OrderConfirmation ConfirmedExecutionEndTime Confirmed End Time of Execution
ConfirmationUnit I_OrderConfirmation ConfirmationUnit Confirmation Unit of Measure
ConfirmationYieldQuantity I_OrderConfirmation ConfirmationYieldQuantity Yield to be Confirmed
ConfirmationScrapQuantity I_OrderConfirmation ConfirmationScrapQuantity Scrap to Be Confirmed
ConfirmationReworkQuantity I_OrderConfirmation ConfirmationReworkQuantity Current Confirmation Rework Quantity
ConfirmationTotalQuantity I_OrderConfirmation ConfirmationTotalQuantity Total Quantity From Confirmation
VarianceReasonCode I_OrderConfirmation VarianceReasonCode Reason for Variance
ProductionUnit Production Unit of Measure
ConfYieldQtyInProductionUnit Confirmed yield quantity in order unit of measure
OperationUnit I_OrderConfirmation OperationUnit Operation Unit of Measure
OpPlannedTotalQuantity I_OrderConfirmation OpPlannedTotalQuantity Operation Total Quantity
OpWorkQuantityUnit1 I_OrderConfirmation OpWorkQuantityUnit1 Unit of Measure for Confirmed Work Quantity 1
OpConfirmedWorkQuantity1 I_OrderConfirmation OpConfirmedWorkQuantity1 Already Confirmed Work Quantity (Activity) 1
NoFurtherOpWorkQuantity1IsExpd I_OrderConfirmation NoFurtherOpWorkQuantity1IsExpd Indicator: No Remaining Work Quantity 1 is Expected
OpWorkQuantityUnit2 I_OrderConfirmation OpWorkQuantityUnit2 Unit of Measure for Confirmed Work Quantity 2
OpConfirmedWorkQuantity2 I_OrderConfirmation OpConfirmedWorkQuantity2 Already Confirmed Work Quantity (Activity) 2
NoFurtherOpWorkQuantity2IsExpd I_OrderConfirmation NoFurtherOpWorkQuantity2IsExpd Indicator: No Remaining Work Quantity 2 is Expected
OpWorkQuantityUnit3 I_OrderConfirmation OpWorkQuantityUnit3 Unit of Measure for Confirmed Work Quantity 3
OpConfirmedWorkQuantity3 I_OrderConfirmation OpConfirmedWorkQuantity3 Already Confirmed Work Quantity (Activity) 3
NoFurtherOpWorkQuantity3IsExpd I_OrderConfirmation NoFurtherOpWorkQuantity3IsExpd Indicator: No Remaining Work Quantity 3 is Expected
OpWorkQuantityUnit4 I_OrderConfirmation OpWorkQuantityUnit4 Unit of Measure for Confirmed Work Quantity 4
OpConfirmedWorkQuantity4 I_OrderConfirmation OpConfirmedWorkQuantity4 Already Confirmed Work Quantity (Activity) 4
NoFurtherOpWorkQuantity4IsExpd I_OrderConfirmation NoFurtherOpWorkQuantity4IsExpd Indicator: No Remaining Work Quantity 4 is Expected
OpWorkQuantityUnit5 I_OrderConfirmation OpWorkQuantityUnit5 Unit of Measure for Confirmed Work Quantity 5
OpConfirmedWorkQuantity5 I_OrderConfirmation OpConfirmedWorkQuantity5 Already Confirmed Work Quantity (Activity) 5
NoFurtherOpWorkQuantity5IsExpd I_OrderConfirmation NoFurtherOpWorkQuantity5IsExpd Indicator: No Remaining Work Quantity 5 is Expected
OpWorkQuantityUnit6 I_OrderConfirmation OpWorkQuantityUnit6 Unit of Measure for Confirmed Work Quantity 6
OpConfirmedWorkQuantity6 I_OrderConfirmation OpConfirmedWorkQuantity6 Already Confirmed Work Quantity (Activity) 6
NoFurtherOpWorkQuantity6IsExpd I_OrderConfirmation NoFurtherOpWorkQuantity6IsExpd Indicator: No Remaining Work Quantity 6 is Expected
BusinessProcess I_OrderConfirmation BusinessProcess Business Process
BusinessProcessEntryUnit I_OrderConfirmation BusinessProcessEntryUnit Unit of Measure for Business Process Quantity
BusinessProcessConfirmedQty I_OrderConfirmation BusinessProcessConfirmedQty Current Quantity for Business Process
NoFurtherBusinessProcQtyIsExpd I_OrderConfirmation NoFurtherBusinessProcQtyIsExpd No Remaining Quantity Expected for Business Process
BusinessProcRemainingQtyUnit I_OrderConfirmation BusinessProcRemainingQtyUnit Unit for Remaining Quantity of Business Process
BusinessProcessRemainingQty I_OrderConfirmation BusinessProcessRemainingQty Remaining Quantity for Business Process
BreakDurationUnit I_OrderConfirmation BreakDurationUnit Unit for a Break Time
ConfirmedBreakDuration I_OrderConfirmation ConfirmedBreakDuration Confirmed Break Time
_MfgOrderConfLongText _MfgOrderConfLongText
_ConfMatlDocItem _ConfMatlDocItem
_ConfFailedActualCost _ConfFailedActualCost
_ConfFailedGdsMvtItem
_ConfirmationGroup I_OrderConfirmation _ConfirmationGroup
_MfgOrder _MfgOrder
_MfgOrder2 _MfgOrder2
_MfgOrderSequence _MfgOrderSequence
_MfgOrderSequence2 _MfgOrderSequence2
_MfgOrderOperation _MfgOrderOperation
_MfgOrderOperation2 _MfgOrderOperation2
_MfgOrderCategory _MfgOrderCategory
_MfgOrderType _MfgOrderType
_OrderInternalID I_OrderConfirmation _OrderInternalID
_ConfirmationUnit I_OrderConfirmation _ConfirmationUnit
_ProductionUnit _ProductionUnit
_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
_User I_OrderConfirmation _User
_UserContactCard I_OrderConfirmation _UserContactCard
_Language I_OrderConfirmation _Language
_WorkCenterType I_OrderConfirmation _WorkCenterType
_WorkCenter I_OrderConfirmation _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
_ProductCostCollector I_OrderConfirmation _ProductCostCollector
_BusinessProcess I_OrderConfirmation _BusinessProcess
_BusinessProcessUnit I_OrderConfirmation _BusinessProcessUnit
_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
_EmployeeWageGroup I_OrderConfirmation _EmployeeWageGroup
_EmployeeSuitability I_OrderConfirmation _EmployeeSuitability
_Employee I_OrderConfirmation _Employee
_PersonWorkAgreement I_OrderConfirmation _PersonWorkAgreement
_FailedGoodsMovement _FailedGoodsMovement
_MaterialDocument I_OrderConfirmation _MaterialDocument
_MaterialDocument2 _MaterialDocument2
_MaterialDocument3 I_OrderConfirmation _MaterialDocument3
_MaterialDocumentYear I_OrderConfirmation _MaterialDocumentYear
_PostingDate I_OrderConfirmation _PostingDate
_PostingDateYear I_OrderConfirmation _PostingDateYear
_FinalConfIndicator I_OrderConfirmation _FinalConfIndicator
_ReversedIndicator I_OrderConfirmation _ReversedIndicator
_ReversalIndicator I_OrderConfirmation _ReversalIndicator
_LongTextIndicator I_OrderConfirmation _LongTextIndicator
_LongText I_OrderConfirmation _LongText
_MfgOrderText _MfgOrderText
_PlantText _PlantText
_WorkCenterText _WorkCenterText
_PersonWorkAgreementText _PersonWorkAgreementText
_BusinessAreaText _BusinessAreaText
_CompanyCodeText _CompanyCodeText
_ControllingAreaText _ControllingAreaText

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 I_MfgOrderConfirmation.
-- 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: IPPMFGORDCONF

CREATE VIEW I_MfgOrderConfirmation AS
SELECT
  conf.ConfirmationGroup AS MfgOrderConfirmationGroup,
  conf.OrderConfirmation AS MfgOrderConfirmation,
  cast(conf.OrderID as manufacturingorder preserving type) AS ManufacturingOrder,
  cast(conf.Sequence as manufacturingordersequence preserving type) AS ManufacturingOrderSequence,
  cast(conf.OrderOperation as co_vornr preserving type) AS ManufacturingOrderOperation,
  conf.OrderOperation_2 AS ManufacturingOrderOperation_2,
  cast(conf.OrderCategory as manufacturingordercategory preserving type) AS ManufacturingOrderCategory,
  cast(conf.OrderType as manufacturingordertype preserving type) AS ManufacturingOrderType,
  conf.OrderInternalID AS OrderInternalID,
  conf.OrderOperationInternalID AS OrderOperationInternalID,
  conf.SuperiorOperationInternalID AS SuperiorOperationInternalID,
  conf.ConfirmationText AS ConfirmationText,
  conf.Language AS Language,
  conf.LongTextExists AS LongTextExists,
  conf.ConfirmationEntryDate AS MfgOrderConfirmationEntryDate,
  conf.ConfirmationEntryTime AS MfgOrderConfirmationEntryTime,
  conf.EnteredByUser AS EnteredByUser,
  conf.LastChangeDate AS LastChangeDate,
  conf.LastChangedByUser AS LastChangedByUser,
  conf.ConfirmationExternalEntryDate AS ConfirmationExternalEntryDate,
  conf.ConfirmationExternalEntryTime AS ConfirmationExternalEntryTime,
  conf.EnteredByExternalUser AS EnteredByExternalUser,
  conf.ExternalSystemConfirmation AS ExternalSystemConfirmation,
  conf.FinalConfirmationType AS FinalConfirmationType,
  conf.IsFinalConfirmation AS IsFinalConfirmation,
  conf.OpenReservationsIsCleared AS OpenReservationsIsCleared,
  conf.IsReversed AS IsReversed,
  conf.IsReversal AS IsReversal,
  conf.CancldMfgOrderConfCount AS CancldMfgOrderConfCount,
  conf.APIConfHasNoGoodsMovements AS APIConfHasNoGoodsMovements,
  conf.ConfirmationApplicationOrigin AS ConfirmationApplicationOrigin,
  conf.OrderConfirmationType AS OrderConfirmationType,
  conf.OrderConfirmationRecordType AS OrderConfirmationRecordType,
  conf.MilestoneIsConfirmed AS MilestoneIsConfirmed,
  conf.MilestoneConfirmationType AS MilestoneConfirmationType,
  conf.IsConfirmedByMilestoneConf AS IsConfirmedByMilestoneConf,
  conf.MilestoneConfirmationGroup AS MilestoneConfirmationGroup,
  conf.MilestoneConfirmation AS MilestoneConfirmation,
  conf.Plant AS Plant,
  conf.WorkCenterTypeCode AS WorkCenterTypeCode,
  conf.WorkCenterInternalID AS WorkCenterInternalID,
  conf.CapacityInternalID AS CapacityInternalID,
  conf.CapacityRequirementSplit AS CapacityRequirementSplit,
  conf.ShiftGrouping AS ShiftGrouping,
  conf.MaterialDocument AS MaterialDocument,
  conf.MaterialDocumentYear AS MaterialDocumentYear,
  conf.FailedGoodsMovement AS FailedGoodsMovement,
  conf.PlantDataCollectionID AS PlantDataCollectionID,
  conf.OriginalBatch AS OriginalBatch,
  conf.BatchBySupplier AS BatchBySupplier,
  conf.BusinessArea AS BusinessArea,
  conf.CompanyCode AS CompanyCode,
  conf.ControllingArea AS ControllingArea,
  conf.ProfitCenter AS ProfitCenter,
  conf.SenderCostCenter AS SenderCostCenter,
  conf.ProductCostCollector AS ProductCostCollector,
  conf.Personnel AS Personnel,
  conf.TimeRecording AS TimeRecording,
  conf.EmployeeWageType AS EmployeeWageType,
  conf.EmployeeWageGroup AS EmployeeWageGroup,
  conf.EmployeeSuitability AS EmployeeSuitability,
  conf.NumberOfEmployees AS NumberOfEmployees,
  conf.PostingDate AS PostingDate,
  conf.PostingDateYear AS PostingDateYear,
  conf.ConfirmedExecutionStartDate AS ConfirmedExecutionStartDate,
  conf.ConfirmedExecutionStartTime AS ConfirmedExecutionStartTime,
  conf.ConfirmedSetupEndDate AS ConfirmedSetupEndDate,
  conf.ConfirmedSetupEndTime AS ConfirmedSetupEndTime,
  conf.ConfirmedProcessingStartDate AS ConfirmedProcessingStartDate,
  conf.ConfirmedProcessingStartTime AS ConfirmedProcessingStartTime,
  conf.ConfirmedProcessingEndDate AS ConfirmedProcessingEndDate,
  conf.ConfirmedProcessingEndTime AS ConfirmedProcessingEndTime,
  conf.ConfirmedTeardownStartDate AS ConfirmedTeardownStartDate,
  conf.ConfirmedTeardownStartTime AS ConfirmedTeardownStartTime,
  conf.ConfirmedExecutionEndDate AS ConfirmedExecutionEndDate,
  conf.ConfirmedExecutionEndTime AS ConfirmedExecutionEndTime,
  conf.ConfirmationUnit AS ConfirmationUnit,
  conf.ConfirmationYieldQuantity AS ConfirmationYieldQuantity,
  conf.ConfirmationScrapQuantity AS ConfirmationScrapQuantity,
  conf.ConfirmationReworkQuantity AS ConfirmationReworkQuantity,
  conf.ConfirmationTotalQuantity AS ConfirmationTotalQuantity,
  conf.VarianceReasonCode AS VarianceReasonCode,
  cast(OrderQuantityUnit as productionunit preserving type) AS ProductionUnit,
  cast(ConfirmedYieldQtyInOrderUnit as ru_gmnga preserving type) AS ConfYieldQtyInProductionUnit,
  conf.OperationUnit AS OperationUnit,
  conf.OpPlannedTotalQuantity AS OpPlannedTotalQuantity,
  conf.OpWorkQuantityUnit1 AS OpWorkQuantityUnit1,
  conf.OpConfirmedWorkQuantity1 AS OpConfirmedWorkQuantity1,
  conf.NoFurtherOpWorkQuantity1IsExpd AS NoFurtherOpWorkQuantity1IsExpd,
  conf.OpWorkQuantityUnit2 AS OpWorkQuantityUnit2,
  conf.OpConfirmedWorkQuantity2 AS OpConfirmedWorkQuantity2,
  conf.NoFurtherOpWorkQuantity2IsExpd AS NoFurtherOpWorkQuantity2IsExpd,
  conf.OpWorkQuantityUnit3 AS OpWorkQuantityUnit3,
  conf.OpConfirmedWorkQuantity3 AS OpConfirmedWorkQuantity3,
  conf.NoFurtherOpWorkQuantity3IsExpd AS NoFurtherOpWorkQuantity3IsExpd,
  conf.OpWorkQuantityUnit4 AS OpWorkQuantityUnit4,
  conf.OpConfirmedWorkQuantity4 AS OpConfirmedWorkQuantity4,
  conf.NoFurtherOpWorkQuantity4IsExpd AS NoFurtherOpWorkQuantity4IsExpd,
  conf.OpWorkQuantityUnit5 AS OpWorkQuantityUnit5,
  conf.OpConfirmedWorkQuantity5 AS OpConfirmedWorkQuantity5,
  conf.NoFurtherOpWorkQuantity5IsExpd AS NoFurtherOpWorkQuantity5IsExpd,
  conf.OpWorkQuantityUnit6 AS OpWorkQuantityUnit6,
  conf.OpConfirmedWorkQuantity6 AS OpConfirmedWorkQuantity6,
  conf.NoFurtherOpWorkQuantity6IsExpd AS NoFurtherOpWorkQuantity6IsExpd,
  conf.BusinessProcess AS BusinessProcess,
  conf.BusinessProcessEntryUnit AS BusinessProcessEntryUnit,
  conf.BusinessProcessConfirmedQty AS BusinessProcessConfirmedQty,
  conf.NoFurtherBusinessProcQtyIsExpd AS NoFurtherBusinessProcQtyIsExpd,
  conf.BusinessProcRemainingQtyUnit AS BusinessProcRemainingQtyUnit,
  conf.BusinessProcessRemainingQty AS BusinessProcessRemainingQty,
  conf.BreakDurationUnit AS BreakDurationUnit,
  conf.ConfirmedBreakDuration AS ConfirmedBreakDuration,
  conf._ConfirmationGroup AS _ConfirmationGroup,
  conf._OrderInternalID AS _OrderInternalID,
  conf._ConfirmationUnit AS _ConfirmationUnit,
  conf._OperationUnit AS _OperationUnit,
  conf._FinalConfirmationType AS _FinalConfirmationType,
  conf._ConfirmationType AS _ConfirmationType,
  conf._ConfirmationRecordType AS _ConfirmationRecordType,
  conf._ConfirmationApplOrigin AS _ConfirmationApplOrigin,
  conf._MilestoneConfirmationGroup AS _MilestoneConfirmationGroup,
  conf._MilestoneConfirmation AS _MilestoneConfirmation,
  conf._User AS _User,
  conf._UserContactCard AS _UserContactCard,
  conf._Language AS _Language,
  conf._WorkCenterType AS _WorkCenterType,
  conf._WorkCenter AS _WorkCenter,
  conf._Plant AS _Plant,
  conf._Capacity AS _Capacity,
  conf._ShiftGrouping AS _ShiftGrouping,
  conf._ShiftDefinition AS _ShiftDefinition,
  conf._BusinessArea AS _BusinessArea,
  conf._CompanyCode AS _CompanyCode,
  conf._ControllingArea AS _ControllingArea,
  conf._ProductCostCollector AS _ProductCostCollector,
  conf._BusinessProcess AS _BusinessProcess,
  conf._BusinessProcessUnit AS _BusinessProcessUnit,
  conf._WorkQuantityUnit1 AS _WorkQuantityUnit1,
  conf._WorkQuantityUnit2 AS _WorkQuantityUnit2,
  conf._WorkQuantityUnit3 AS _WorkQuantityUnit3,
  conf._WorkQuantityUnit4 AS _WorkQuantityUnit4,
  conf._WorkQuantityUnit5 AS _WorkQuantityUnit5,
  conf._WorkQuantityUnit6 AS _WorkQuantityUnit6,
  conf._BreakDurationUnit AS _BreakDurationUnit,
  conf._VarianceReason AS _VarianceReason,
  conf._EmployeeWageGroup AS _EmployeeWageGroup,
  conf._EmployeeSuitability AS _EmployeeSuitability,
  conf._Employee AS _Employee,
  conf._PersonWorkAgreement AS _PersonWorkAgreement,
  conf._MaterialDocument AS _MaterialDocument,
  conf._MaterialDocument3 AS _MaterialDocument3,
  conf._MaterialDocumentYear AS _MaterialDocumentYear,
  conf._PostingDate AS _PostingDate,
  conf._PostingDateYear AS _PostingDateYear,
  conf._FinalConfIndicator AS _FinalConfIndicator,
  conf._ReversedIndicator AS _ReversedIndicator,
  conf._ReversalIndicator AS _ReversalIndicator,
  conf._LongTextIndicator AS _LongTextIndicator,
  conf._LongText AS _LongText
FROM I_OrderConfirmation AS conf
LEFT OUTER JOIN I_ManufacturingOrder AS _MfgOrder ON ManufacturingOrder = _MfgOrder.ManufacturingOrder  -- association [1..1]
LEFT OUTER JOIN I_MfgOrder AS _MfgOrder2 ON ManufacturingOrder = _MfgOrder2.ManufacturingOrder  -- association [1..1]
LEFT OUTER JOIN I_MfgOrderSequence AS _MfgOrderSequence ON ManufacturingOrder = _MfgOrderSequence.ManufacturingOrder AND ManufacturingOrderSequence = _MfgOrderSequence.ManufacturingOrderSequence  -- association [0..1]
LEFT OUTER JOIN I_ManufacturingOrderSequence AS _MfgOrderSequence2 ON ManufacturingOrder = _MfgOrderSequence2.ManufacturingOrder AND ManufacturingOrderSequence = _MfgOrderSequence2.ManufacturingOrderSequence  -- association [0..1]
LEFT OUTER JOIN I_MfgOrderOperationBySemanKey AS _MfgOrderOperation ON ManufacturingOrder = _MfgOrderOperation.ManufacturingOrder AND ManufacturingOrderSequence = _MfgOrderOperation.ManufacturingOrderSequence AND ManufacturingOrderOperation = _MfgOrderOperation.ManufacturingOrderOperation  -- association [1..1]
LEFT OUTER JOIN I_MfgOrderOperationBySemKey AS _MfgOrderOperation2 ON ManufacturingOrder = _MfgOrderOperation2.ManufacturingOrder AND ManufacturingOrderSequence = _MfgOrderOperation2.ManufacturingOrderSequence AND ManufacturingOrderOperation_2 = _MfgOrderOperation2.ManufacturingOrderOperation  -- association [1..1]
LEFT OUTER JOIN I_MfgOrderCategory AS _MfgOrderCategory ON ManufacturingOrderCategory = _MfgOrderCategory.ManufacturingOrderCategory  -- association [1..1]
LEFT OUTER JOIN I_MfgOrderType AS _MfgOrderType ON ManufacturingOrderType = _MfgOrderType.ManufacturingOrderType  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ProductionUnit ON ProductionUnit = _ProductionUnit.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_MaterialDocumentHeader AS _MaterialDocument2 ON MaterialDocument = _MaterialDocument2.MaterialDocument AND MaterialDocumentYear = _MaterialDocument2.MaterialDocumentYear  -- association [0..1]
LEFT OUTER JOIN I_FailedGoodsMovement AS _FailedGoodsMovement ON FailedGoodsMovement = _FailedGoodsMovement.FailedGoodsMovement  -- association [0..1]
LEFT OUTER JOIN I_MfgOrderConfirmationLongText AS _MfgOrderConfLongText ON MfgOrderConfirmationGroup = _MfgOrderConfLongText.MfgOrderConfirmationGroup AND MfgOrderConfirmation = _MfgOrderConfLongText.MfgOrderConfirmationCount  -- association [0..*]
LEFT OUTER JOIN I_MfgOrderConfMatlDocItem AS _ConfMatlDocItem ON MfgOrderConfirmationGroup = _ConfMatlDocItem.MfgOrderConfirmationGroup AND MfgOrderConfirmation = _ConfMatlDocItem.MfgOrderConfirmation  -- association [0..*]
LEFT OUTER JOIN I_FailedGoodsMovementItem AS _ConfFailedGdsMvtItem ON MfgOrderConfirmationGroup = _ConfFailedGdsMvtItem.ConfirmationGroup AND MfgOrderConfirmation = _ConfFailedGdsMvtItem.ConfirmationCount  -- association [0..*]
LEFT OUTER JOIN I_ConfFailedActualCostCalc AS _ConfFailedActualCost ON MfgOrderConfirmationGroup = _ConfFailedActualCost.ConfirmationGroup AND MfgOrderConfirmation = _ConfFailedActualCost.OrderConfirmation  -- association [0..*]
LEFT OUTER JOIN E_OrderConfirmation AS _Extension ON MfgOrderConfirmationGroup = _Extension.ConfirmationGroup AND MfgOrderConfirmation = _Extension.ConfirmationCount  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _PlantText ON Plant = _PlantText.Plant  -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _MfgOrderText ON ManufacturingOrder = _MfgOrderText.ManufacturingOrder  -- association [1..1]
LEFT OUTER JOIN I_WorkCenterText AS _WorkCenterText ON WorkCenterInternalID = _WorkCenterText.WorkCenterInternalID AND WorkCenterTypeCode = _WorkCenterText.WorkCenterTypeCode  -- association [0..*]
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _PersonWorkAgreementText ON Personnel = _PersonWorkAgreementText.PersonWorkAgreement  -- association [0..1]
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCodeText ON CompanyCode = _CompanyCodeText.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingAreaText ON ControllingArea = _ControllingAreaText.ControllingArea  -- association [0..1]
;