I_MfgOrderConfMatlDocItem

DDL: I_MFGORDERCONFMATLDOCITEM SQL: IMFGORDCNFMATDOC Type: view COMPOSITE

Material Document Items of Mfg Order Confirmation

I_MfgOrderConfMatlDocItem is a Composite CDS View (Dimension) that provides data about "Material Document Items of Mfg Order Confirmation" in SAP S/4HANA. It reads from 5 data sources (I_MfgOrderConfirmation, I_MfgOrderConfirmation, I_OrderConfMatlDocItemAssgmt, I_MaterialDocumentRecord, I_MaterialDocumentRecord) and exposes 107 fields with key fields MfgOrderConfirmationGroup, MfgOrderConfirmation, MaterialDocument, MaterialDocumentYear, MaterialDocumentItem. It has 39 associations to related views.

SAP Help Documentation

CategoryCDS Views for Discrete and Process Manufacturing
Data CategoryDimension
Purpose
With this CDS view you can select material document items created by a manufacturing order confirmation. This includes material document items created by cancellations. This CDS view provides the data to answer the following business questions: Which material document items were created by confirmations for a specific manufacturing order? Which material document items were created by confirmations for a specific material? Which material document items were created by confirmations of a specific user? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: AUFART_WERKS (Order Type/Plant) BWART (Movement Type) WERKS (Plant) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Important Fields Important fields in this view include the following: Field Name Description MfgOrderConfirmationGroup Confirmation Group MfgOrderConfirmation Order Confirmation MaterialDocument Material Document MaterialDocumentYear Material Document Year MaterialDocumentItem Material Document Item PostingDate Posting Date CreatedByUser Created By ManufacturingOrder Manufacturing Order ManufacturingOrderSequence Sequence ManufacturingOrderOperation_2 Operation or Phase ManufacturingOrderItem Order Item ManufacturingOrderCategory Order Category ManufacturingOrderType Order Type ConfirmationPlant Confirmation Plant ConfirmationText Confirmation Text FinalConfirmationType Final Confirmation Type IsReversed Reversed IsReversal Is a Cancellation Material Material Plant Plant Reservation Reservation ReservationItem Reservation Item StorageLocation Storage Location Batch Batch InventoryValuationType Valuation Type DebitCreditCode Debit Credit Code GoodsMovementType Goods Movement Type InventoryUsabilityCode Inventory Usability InventorySpecialStockType Special Stock Type SalesOrder Sales Order SalesOrderItem Sales Order Item Supplier Supplier ReservationIsFinallyIssued Final-Issue Reservation IsCompletelyDelivered Delivery Completed EWMWarehouse Warehouse Number EWMStorageBin Storage Bin BaseUnit Base Unit of Measure QuantityInBaseUnit Quantity in Base Unit EntryUnit Unit of Entry QuantityInEntryUnit Quantity in Unit of Entry

View on SAP Help Portal →

Data Sources (5)

SourceAliasJoin Type
I_MfgOrderConfirmation afru from
I_MfgOrderConfirmation afru union_all
I_OrderConfMatlDocItemAssgmt afwi inner
I_MaterialDocumentRecord mseg inner
I_MaterialDocumentRecord mseg inner

Associations (39)

CardinalityTargetAliasCondition
[1..1] I_ConfirmationCount _ConfirmationCount $projection.MfgOrderConfirmationGroup = _ConfirmationCount.ConfirmationGroup and $projection.MfgOrderConfirmation = _ConfirmationCount.ConfirmationCount
[1..1] I_MaterialDocumentHeader_2 _MaterialDocumentHeader $projection.MaterialDocument = _MaterialDocumentHeader.MaterialDocument and $projection.MaterialDocumentYear = _MaterialDocumentHeader.MaterialDocumentYear
[0..1] I_CalendarDate _DocumentDate $projection.DocumentDate = _DocumentDate.CalendarDate
[0..1] I_CalendarDate _PostingDate $projection.PostingDate = _PostingDate.CalendarDate
[0..1] I_CalendarDate _ShelfLifeExpirationDate $projection.ShelfLifeExpirationDate = _ShelfLifeExpirationDate.CalendarDate
[0..1] I_CalendarDate _ManufactureDate $projection.ManufactureDate = _ManufactureDate.CalendarDate
[1..1] I_ManufacturingOrder _MfgOrder $projection.ManufacturingOrder = _MfgOrder.ManufacturingOrder
[0..1] I_ManufacturingOrderItem _MfgOrderItem $projection.ManufacturingOrder = _MfgOrderItem.ManufacturingOrder and $projection.ManufacturingOrderItem = _MfgOrderItem.ManufacturingOrderItem
[0..1] I_ManufacturingOrderSequence _MfgOrderSequence $projection.ManufacturingOrder = _MfgOrderSequence.ManufacturingOrder and $projection.ManufacturingOrderSequence = _MfgOrderSequence.ManufacturingOrderSequence
[1..1] I_MfgOrderConfirmation _MfgOrderConfirmation $projection.MfgOrderConfirmationGroup = _MfgOrderConfirmation.MfgOrderConfirmationGroup and $projection.MfgOrderConfirmation = _MfgOrderConfirmation.MfgOrderConfirmation
[0..1] I_ReservationDocumentHeader _Reservation $projection.Reservation = _Reservation.Reservation
[0..1] I_ReservationDocumentItem _ReservationItem $projection.Reservation = _ReservationItem.Reservation and $projection.ReservationItem = _ReservationItem.ReservationItem and $projection.ReservationRecordType = _ReservationItem.RecordType
[0..1] I_ReservationDocRecordType _ReservationRecordType $projection.ReservationRecordType = _ReservationRecordType.RecordType
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_Material _Material $projection.Material = _Material.Material
[1..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[1..1] I_UnitOfMeasure _EntryUnit $projection.EntryUnit = _EntryUnit.UnitOfMeasure
[1..1] I_GoodsMovementType _GoodsMovementType $projection.GoodsMovementType = _GoodsMovementType.GoodsMovementType
[0..1] I_PhysInvtryReasonCode _GoodsMovementReason $projection.GoodsMovementType = _GoodsMovementReason.GoodsMovementType and $projection.GoodsMovementReasonCode = _GoodsMovementReason.ReasonForPhysInvtryDifference
[0..1] I_GoodsMovementRefDocType _GoodsMovementRefDocType $projection.GoodsMovementRefDocType = _GoodsMovementRefDocType.GoodsMovementRefDocType
[0..1] I_InventorySpecialStockType _InventorySpecialStockType $projection.InventorySpecialStockType = _InventorySpecialStockType.InventorySpecialStockType
[0..1] I_InventoryValuationType _InventoryValuationType $projection.InventoryValuationType = _InventoryValuationType.InventoryValuationType
[0..1] I_InvtrySpecialStockValnType _InventorySpecialStockValnType $projection.InventorySpecialStockValnType = _InventorySpecialStockValnType.InventorySpecialStockValnType
[0..1] I_ConsumptionPosting _ConsumptionPosting $projection.ConsumptionPosting = _ConsumptionPosting.ConsumptionPosting
[0..1] I_DebitCreditCode _DebitCreditCode $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode
[0..1] I_StockType_2 _InventoryUsabilityCode $projection.InventoryUsabilityCode = _InventoryUsabilityCode.StockType
[0..1] I_StorageLocation _StorageLocation $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation
[0..1] I_Batch _Batch $projection.Plant = _Batch.Plant and $projection.Material = _Batch.Material and $projection.Batch = _Batch.Batch
[0..1] I_SalesOrder _SalesOrder $projection.SalesOrder = _SalesOrder.SalesOrder
[0..1] I_SalesOrderItem _SalesOrderItem $projection.SalesOrder = _SalesOrderItem.SalesOrder and $projection.SalesOrderItem = _SalesOrderItem.SalesOrderItem
[0..1] I_WBSElementBasicData _WBSElement $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID
[0..1] I_WBSElementBasicData _WBSElementBasic $projection.WBSElementInternalID_2 = _WBSElementBasic.WBSElementInternalID
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_SupplierCompanyByPlant _SupplierCompanyByPlant $projection.Plant = _SupplierCompanyByPlant.Plant and $projection.Supplier = _SupplierCompanyByPlant.Supplier
[0..1] I_CustomerCompanyByPlant _CustomerCompanyByPlant $projection.Plant = _CustomerCompanyByPlant.Plant and $projection.Customer = _CustomerCompanyByPlant.Customer
[0..1] I_EWM_WarehouseNumber_2 _EWMWarehouse $projection.EWMWarehouse = _EWMWarehouse.EWMWarehouse
[0..1] I_EWM_StorageBin_2 _EWMStorageBin $projection.EWMWarehouse = _EWMStorageBin.EWMWarehouse and $projection.EWMStorageBin = _EWMStorageBin.EWMStorageBin
[1..1] I_MaterialDocumentYear _MaterialDocumentYear $projection.MaterialDocumentYear = _MaterialDocumentYear.MaterialDocumentYear

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IMFGORDCNFMATDOC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey MaterialDocumentItem 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 Material Document Items of Mfg Order Confirmation view

Fields (107)

KeyFieldSource TableSource FieldDescription
KEY MfgOrderConfirmationGroup I_MfgOrderConfirmation MfgOrderConfirmationGroup
KEY MfgOrderConfirmation I_MfgOrderConfirmation MfgOrderConfirmation
KEY MaterialDocument I_OrderConfMatlDocItemAssgmt MaterialDocument Material Doc.
KEY MaterialDocumentYear
KEY MaterialDocumentItem
PostingDate I_MaterialDocumentRecord PostingDate Posting Date for GR
DocumentDate I_MaterialDocumentRecord DocumentDate Journal Entry Date
CreatedByUser
ManufacturingOrder I_MfgOrderConfirmation ManufacturingOrder Order
ManufacturingOrderSequence I_MfgOrderConfirmation ManufacturingOrderSequence
ManufacturingOrderOperation I_MfgOrderConfirmation ManufacturingOrderOperation Activity
ManufacturingOrderOperation_2 I_MfgOrderConfirmation ManufacturingOrderOperation_2
ManufacturingOrderItem I_MaterialDocumentRecord OrderItem
ManufacturingOrderCategory I_MfgOrderConfirmation ManufacturingOrderCategory
ManufacturingOrderType I_MfgOrderConfirmation ManufacturingOrderType
ConfirmationPlant I_MfgOrderConfirmation Plant Valuation Area
ConfirmationText I_MfgOrderConfirmation ConfirmationText
FinalConfirmationType I_MfgOrderConfirmation FinalConfirmationType Final Confirmtn
IsFinalConfirmation I_MfgOrderConfirmation IsFinalConfirmation
OpenReservationsIsCleared I_MfgOrderConfirmation OpenReservationsIsCleared
IsReversed I_MfgOrderConfirmation IsReversed Reversed?
IsReversal I_MfgOrderConfirmation IsReversal Reversal doc.
Material
Plant I_MaterialDocumentRecord Plant Valuation Area
Reservation I_MaterialDocumentRecord Reservation Reservation
ReservationItem I_MaterialDocumentRecord ReservationItem Reservation Item
ReservationRecordType I_MaterialDocumentRecord ReservationRecordType Record type
StorageLocation
Batch I_MaterialDocumentRecord Batch Lot No.
InventoryValuationType
ConsumptionPosting
GoodsMovementType
GoodsMovementReasonCode I_MaterialDocumentRecord GoodsMovementReasonCode Reason for Mvmt
GoodsMovementRefDocType I_MaterialDocumentRecord GoodsMovementRefDocType Reference Doc. Type
InventoryUsabilityCode
InventorySpecialStockType
InventorySpecialStockValnType
SalesOrder
SalesOrderItem
WBSElementInternalID
WBSElementInternalID_2
Supplier I_MaterialDocumentRecord Supplier Supplier
Customer I_MaterialDocumentRecord Customer Sold-to Party
GoodsRecipientName
UnloadingPointName
ReservationIsFinallyIssued I_MaterialDocumentRecord ReservationIsFinallyIssued Res Final Issue
IsCompletelyDelivered I_MaterialDocumentRecord IsCompletelyDelivered Is completely delivered
ShelfLifeExpirationDate I_MaterialDocumentRecord ShelfLifeExpirationDate SLED/BBD
ManufactureDate I_MaterialDocumentRecord ManufactureDate Date of Manuf.
StorageType I_MaterialDocumentRecord StorageType Storage Type
StorageBin I_MaterialDocumentRecord StorageBin Storage Bin
EWMWarehouse I_MaterialDocumentRecord EWMWarehouse Warehouse No.
EWMStorageBinasEWMStorageBin
HandlingUnitExternalID I_MaterialDocumentRecord HandlingUnitExternalID Handling Unit
MaterialDocumentItemText I_MaterialDocumentRecord MaterialDocumentItemText Text
BaseUnit I_MaterialDocumentRecord MaterialBaseUnit Valuation Unit
QuantityInBaseUnit
EntryUnit I_MaterialDocumentRecord EntryUnit Unit of Entry
QuantityInEntryUnit
_ConfirmationGroup I_MfgOrderConfirmation _ConfirmationGroup
_ConfirmationCount _ConfirmationCount
_MfgOrderConfirmation _MfgOrderConfirmation
_MaterialDocumentHeader _MaterialDocumentHeader
_MaterialDocumentYear I_OrderConfMatlDocItemAssgmt _MaterialDocumentYear
_MfgOrder _MfgOrder
_MfgOrderSequence _MfgOrderSequence
_MfgOrderOperation I_MfgOrderConfirmation _MfgOrderOperation
_MfgOrderOperation2 I_MfgOrderConfirmation _MfgOrderOperation2
_MfgOrderItem _MfgOrderItem
_MfgOrderCategory I_MfgOrderConfirmation _MfgOrderCategory
_MfgOrderType I_MfgOrderConfirmation _MfgOrderType
_ConfirmationPlant I_MfgOrderConfirmation _Plant
_FinalConfirmationType I_MfgOrderConfirmation _FinalConfirmationType
_ReversedIndicator I_MfgOrderConfirmation _ReversedIndicator
_ReversalIndicator I_MfgOrderConfirmation _ReversalIndicator
_DocumentDate _DocumentDate
_PostingDate _PostingDate
_ShelfLifeExpirationDate _ShelfLifeExpirationDate
_ManufactureDate _ManufactureDate
_Material _Material
_Plant _Plant
_Reservation _Reservation
_ReservationItem _ReservationItem
_ReservationRecordType _ReservationRecordType
_StorageLocation _StorageLocation
_Batch _Batch
_BaseUnit _BaseUnit
_EntryUnit _EntryUnit
_GoodsMovementType _GoodsMovementType
_GoodsMovementReason _GoodsMovementReason
_GoodsMovementRefDocType _GoodsMovementRefDocType
_InventorySpecialStockType _InventorySpecialStockType
_InventorySpecialStockValnType _InventorySpecialStockValnType
_InventoryValuationType _InventoryValuationType
_ConsumptionPosting _ConsumptionPosting
_DebitCreditCode _DebitCreditCode
_InventoryUsabilityCode _InventoryUsabilityCode
_SalesOrder _SalesOrder
_SalesOrderItem _SalesOrderItem
_WBSElement _WBSElement
_WBSElementBasic _WBSElementBasic
_Supplier _Supplier
_Customer _Customer
_SupplierCompanyByPlant _SupplierCompanyByPlant
_CustomerCompanyByPlant _CustomerCompanyByPlant
_EWMWarehouse _EWMWarehouse
_EWMStorageBin _EWMStorageBin

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_MfgOrderConfMatlDocItem.
-- 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: IMFGORDCNFMATDOC

CREATE VIEW I_MfgOrderConfMatlDocItem AS
SELECT
  afru.MfgOrderConfirmationGroup AS MfgOrderConfirmationGroup,
  afru.MfgOrderConfirmation AS MfgOrderConfirmation,
  afwi.MaterialDocument AS MaterialDocument,
  cast(afwi.MaterialDocumentYear as nsdm_mjahr preserving type) AS MaterialDocumentYear,
  cast(afwi.MaterialDocumentItem as nsdm_mblpo preserving type) AS MaterialDocumentItem,
  mseg.PostingDate AS PostingDate,
  mseg.DocumentDate AS DocumentDate,
  cast(mseg.CreatedByUser as ernam preserving type) AS CreatedByUser,
  afru.ManufacturingOrder AS ManufacturingOrder,
  afru.ManufacturingOrderSequence AS ManufacturingOrderSequence,
  afru.ManufacturingOrderOperation AS ManufacturingOrderOperation,
  afru.ManufacturingOrderOperation_2 AS ManufacturingOrderOperation_2,
  mseg.OrderItem AS ManufacturingOrderItem,
  afru.ManufacturingOrderCategory AS ManufacturingOrderCategory,
  afru.ManufacturingOrderType AS ManufacturingOrderType,
  afru.Plant AS ConfirmationPlant,
  afru.ConfirmationText AS ConfirmationText,
  afru.FinalConfirmationType AS FinalConfirmationType,
  afru.IsFinalConfirmation AS IsFinalConfirmation,
  afru.OpenReservationsIsCleared AS OpenReservationsIsCleared,
  afru.IsReversed AS IsReversed,
  afru.IsReversal AS IsReversal,
  cast(mseg.Material as co_matnr preserving type) AS Material,
  mseg.Plant AS Plant,
  mseg.Reservation AS Reservation,
  mseg.ReservationItem AS ReservationItem,
  mseg.ReservationRecordType AS ReservationRecordType,
  cast(mseg.StorageLocation as pph_lgort preserving type) AS StorageLocation,
  mseg.Batch AS Batch,
  cast(mseg.InventoryValuationType as pph_bwtar preserving type) AS InventoryValuationType,
  cast(mseg.ConsumptionPosting as pph_kzvbr preserving type) AS ConsumptionPosting,
  cast(mseg.GoodsMovementType as pph_bwart preserving type) AS GoodsMovementType,
  mseg.GoodsMovementReasonCode AS GoodsMovementReasonCode,
  mseg.GoodsMovementRefDocType AS GoodsMovementRefDocType,
  cast(mseg.InventoryUsabilityCode as inventoryusabilitycode preserving type) AS InventoryUsabilityCode,
  cast(mseg.InventorySpecialStockType as inventoryspecialstocktype preserving type) AS InventorySpecialStockType,
  cast(mseg.InventorySpecialStockValnType as pph_kzbws preserving type) AS InventorySpecialStockValnType,
  cast(mseg.SalesOrder as co_kdauf preserving type) AS SalesOrder,
  cast(mseg.SalesOrderItem as co_kdpos preserving type) AS SalesOrderItem,
  cast(mseg.WBSElementInternalID as pph_pspel preserving type) AS WBSElementInternalID,
  cast(mseg.WBSElementInternalID as ps_s4_pspnr preserving type) AS WBSElementInternalID_2,
  mseg.Supplier AS Supplier,
  mseg.Customer AS Customer,
  cast(mseg.GoodsRecipientName as pph_wempf preserving type) AS GoodsRecipientName,
  cast(mseg.UnloadingPointName as ablad preserving type) AS UnloadingPointName,
  mseg.ReservationIsFinallyIssued AS ReservationIsFinallyIssued,
  mseg.IsCompletelyDelivered AS IsCompletelyDelivered,
  mseg.ShelfLifeExpirationDate AS ShelfLifeExpirationDate,
  mseg.ManufactureDate AS ManufactureDate,
  mseg.StorageType AS StorageType,
  mseg.StorageBin AS StorageBin,
  mseg.EWMWarehouse AS EWMWarehouse,
  mseg.HandlingUnitExternalID AS HandlingUnitExternalID,
  mseg.MaterialDocumentItemText AS MaterialDocumentItemText,
  mseg.MaterialBaseUnit AS BaseUnit,
  cast(mseg.QuantityInBaseUnit as vdm_pp_menge preserving type) AS QuantityInBaseUnit,
  mseg.EntryUnit AS EntryUnit,
  cast(mseg.QuantityInEntryUnit as pph_erfmg preserving type) AS QuantityInEntryUnit,
  afru._ConfirmationGroup AS _ConfirmationGroup,
  afwi._MaterialDocumentYear AS _MaterialDocumentYear,
  afru._MfgOrderOperation AS _MfgOrderOperation,
  afru._MfgOrderOperation2 AS _MfgOrderOperation2,
  afru._MfgOrderCategory AS _MfgOrderCategory,
  afru._MfgOrderType AS _MfgOrderType,
  afru._Plant AS _ConfirmationPlant,
  afru._FinalConfirmationType AS _FinalConfirmationType,
  afru._ReversedIndicator AS _ReversedIndicator,
  afru._ReversalIndicator AS _ReversalIndicator
FROM I_MfgOrderConfirmation AS afru
INNER JOIN I_OrderConfMatlDocItemAssgmt AS afwi ON /* join condition not captured in parsed metadata */
INNER JOIN I_MaterialDocumentRecord AS mseg ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ConfirmationCount AS _ConfirmationCount ON MfgOrderConfirmationGroup = _ConfirmationCount.ConfirmationGroup AND MfgOrderConfirmation = _ConfirmationCount.ConfirmationCount  -- association [1..1]
LEFT OUTER JOIN I_MaterialDocumentHeader_2 AS _MaterialDocumentHeader ON MaterialDocument = _MaterialDocumentHeader.MaterialDocument AND MaterialDocumentYear = _MaterialDocumentHeader.MaterialDocumentYear  -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _DocumentDate ON DocumentDate = _DocumentDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _PostingDate ON PostingDate = _PostingDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _ShelfLifeExpirationDate ON ShelfLifeExpirationDate = _ShelfLifeExpirationDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _ManufactureDate ON ManufactureDate = _ManufactureDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _MfgOrder ON ManufacturingOrder = _MfgOrder.ManufacturingOrder  -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrderItem AS _MfgOrderItem ON ManufacturingOrder = _MfgOrderItem.ManufacturingOrder AND ManufacturingOrderItem = _MfgOrderItem.ManufacturingOrderItem  -- association [0..1]
LEFT OUTER JOIN I_ManufacturingOrderSequence AS _MfgOrderSequence ON ManufacturingOrder = _MfgOrderSequence.ManufacturingOrder AND ManufacturingOrderSequence = _MfgOrderSequence.ManufacturingOrderSequence  -- association [0..1]
LEFT OUTER JOIN I_MfgOrderConfirmation AS _MfgOrderConfirmation ON MfgOrderConfirmationGroup = _MfgOrderConfirmation.MfgOrderConfirmationGroup AND MfgOrderConfirmation = _MfgOrderConfirmation.MfgOrderConfirmation  -- association [1..1]
LEFT OUTER JOIN I_ReservationDocumentHeader AS _Reservation ON Reservation = _Reservation.Reservation  -- association [0..1]
LEFT OUTER JOIN I_ReservationDocumentItem AS _ReservationItem ON Reservation = _ReservationItem.Reservation AND ReservationItem = _ReservationItem.ReservationItem AND ReservationRecordType = _ReservationItem.RecordType  -- association [0..1]
LEFT OUTER JOIN I_ReservationDocRecordType AS _ReservationRecordType ON ReservationRecordType = _ReservationRecordType.RecordType  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _EntryUnit ON EntryUnit = _EntryUnit.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_GoodsMovementType AS _GoodsMovementType ON GoodsMovementType = _GoodsMovementType.GoodsMovementType  -- association [1..1]
LEFT OUTER JOIN I_PhysInvtryReasonCode AS _GoodsMovementReason ON GoodsMovementType = _GoodsMovementReason.GoodsMovementType AND GoodsMovementReasonCode = _GoodsMovementReason.ReasonForPhysInvtryDifference  -- association [0..1]
LEFT OUTER JOIN I_GoodsMovementRefDocType AS _GoodsMovementRefDocType ON GoodsMovementRefDocType = _GoodsMovementRefDocType.GoodsMovementRefDocType  -- association [0..1]
LEFT OUTER JOIN I_InventorySpecialStockType AS _InventorySpecialStockType ON InventorySpecialStockType = _InventorySpecialStockType.InventorySpecialStockType  -- association [0..1]
LEFT OUTER JOIN I_InventoryValuationType AS _InventoryValuationType ON InventoryValuationType = _InventoryValuationType.InventoryValuationType  -- association [0..1]
LEFT OUTER JOIN I_InvtrySpecialStockValnType AS _InventorySpecialStockValnType ON InventorySpecialStockValnType = _InventorySpecialStockValnType.InventorySpecialStockValnType  -- association [0..1]
LEFT OUTER JOIN I_ConsumptionPosting AS _ConsumptionPosting ON ConsumptionPosting = _ConsumptionPosting.ConsumptionPosting  -- association [0..1]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode  -- association [0..1]
LEFT OUTER JOIN I_StockType_2 AS _InventoryUsabilityCode ON InventoryUsabilityCode = _InventoryUsabilityCode.StockType  -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation  -- association [0..1]
LEFT OUTER JOIN I_Batch AS _Batch ON Plant = _Batch.Plant AND Material = _Batch.Material AND Batch = _Batch.Batch  -- association [0..1]
LEFT OUTER JOIN I_SalesOrder AS _SalesOrder ON SalesOrder = _SalesOrder.SalesOrder  -- association [0..1]
LEFT OUTER JOIN I_SalesOrderItem AS _SalesOrderItem ON SalesOrder = _SalesOrderItem.SalesOrder AND SalesOrderItem = _SalesOrderItem.SalesOrderItem  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasic ON WBSElementInternalID_2 = _WBSElementBasic.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_SupplierCompanyByPlant AS _SupplierCompanyByPlant ON Plant = _SupplierCompanyByPlant.Plant AND Supplier = _SupplierCompanyByPlant.Supplier  -- association [0..1]
LEFT OUTER JOIN I_CustomerCompanyByPlant AS _CustomerCompanyByPlant ON Plant = _CustomerCompanyByPlant.Plant AND Customer = _CustomerCompanyByPlant.Customer  -- association [0..1]
LEFT OUTER JOIN I_EWM_WarehouseNumber_2 AS _EWMWarehouse ON EWMWarehouse = _EWMWarehouse.EWMWarehouse  -- association [0..1]
LEFT OUTER JOIN I_EWM_StorageBin_2 AS _EWMStorageBin ON EWMWarehouse = _EWMStorageBin.EWMWarehouse AND EWMStorageBin = _EWMStorageBin.EWMStorageBin  -- association [0..1]
LEFT OUTER JOIN I_MaterialDocumentYear AS _MaterialDocumentYear ON MaterialDocumentYear = _MaterialDocumentYear.MaterialDocumentYear  -- association [1..1]
-- UNION ALL with additional select branch(es): I_MfgOrderConfirmation
;