I_RFM_MfgOrderDuration
Manufacturing Order Duration
I_RFM_MfgOrderDuration is a Composite CDS View that provides data about "Manufacturing Order Duration" in SAP S/4HANA. It reads from 1 data source (I_ManufacturingOrder) and exposes 102 fields with key field ManufacturingOrder. It has 4 associations to related views. Part of development package RFM_PP_VDM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ManufacturingOrder | _Duration | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_StatusObjectStatusBasic | _isReleased | _isReleased.StatusObject = _Duration.ObjectInternalID and _isReleased.StatusCode = 'I0002' and _isReleased.StatusIsInactive = '' |
| [0..1] | I_StatusObjectStatusBasic | _isConfirmed | _isConfirmed.StatusObject = _Duration.ObjectInternalID and _isConfirmed.StatusCode = 'I0009' and _isConfirmed.StatusIsInactive = '' |
| [0..1] | I_StatusObjectStatusBasic | _isPartConf | _isPartConf.StatusObject = _Duration.ObjectInternalID and _isPartConf.StatusCode = 'I0010' and _isPartConf.StatusIsInactive = '' |
| [0..1] | P_MfgOrderLongText | _OrderLongText | $projection.ManufacturingOrder = _OrderLongText.OrderID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IRFMMFGORDERDURN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | ManufacturingOrder | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Search.searchable | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Manufacturing Order Duration | view |
Fields (102)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ManufacturingOrder | I_ManufacturingOrder | ManufacturingOrder | Order |
| ManufacturingOrderCategory | I_ManufacturingOrder | ManufacturingOrderCategory | Order Category | |
| ManufacturingOrderType | I_ManufacturingOrder | ManufacturingOrderType | Order Type | |
| ManufacturingOrderText | I_ManufacturingOrder | ManufacturingOrderText | ||
| OrderInternalBillOfOperations | I_ManufacturingOrder | MfgOrderInternalID | ||
| ReferenceOrder | I_ManufacturingOrder | ReferenceOrder | Reference Order | |
| MRPPlant | I_ManufacturingOrder | PlanningPlant | Plant | |
| MRPPlantName | ||||
| MRPArea | I_ManufacturingOrder | MRPArea | MRP Area | |
| MRPAreaText | ||||
| MRPController | I_ManufacturingOrder | MRPController | MRP Controller | |
| MRPControllerName | ||||
| ResponsiblePlannerGroup | I_ManufacturingOrder | ResponsiblePlannerGroup | ||
| ControllingArea | I_ManufacturingOrder | ControllingArea | Controlling Area | |
| ProfitCenter | I_ManufacturingOrder | ProfitCenter | Profit Center | |
| CostCenter | I_ManufacturingOrder | CostCenter | Cost Center | |
| GLAccount | I_ManufacturingOrder | GLAccount | General Ledger | |
| FunctionalArea | I_ManufacturingOrder | FunctionalArea | Sendr Fctl Area | |
| ProductionPlant | I_ManufacturingOrder | ProductionPlant | Prod plnt | |
| ProductionPlantName | ||||
| ProductionSupervisor | I_ManufacturingOrder | ProductionSupervisor | Prodn Supervisor | |
| SalesDocument | I_ManufacturingOrder | SalesOrder | SD Document | |
| SalesDocumentItem | I_ManufacturingOrder | SalesOrderItem | Sales Order Item | |
| WBSDescription | _WBSElementBasicData2 | WBSDescription | WBS Element Name | |
| ProductionVersion | I_ManufacturingOrder | ProductionVersion | Version ID | |
| ProductionVersionText | _ProductionVersion2 | ProductionVersionText | ||
| ProductionLine | _ProductionVersion2 | ProductionLine | Production Line | |
| ManufacturingOrderImportance | I_ManufacturingOrder | ManufacturingOrderImportance | ||
| ProdnProcgIsFlexible | ||||
| MfgOrderSuperiorMfgOrder | I_ManufacturingOrder | SuperiorOrder | ||
| BasicSchedulingType | I_ManufacturingOrder | BasicSchedulingType | Scheduling type | |
| SchedulingTypeName | ||||
| CurrentDate | ||||
| OrderIsReleased | ||||
| OrderIsConfirmed | ||||
| OrderIsPartiallyConfirmed | ||||
| MfgOrderScheduledStartDate | I_ManufacturingOrder | MfgOrderScheduledStartDate | ||
| MfgOrderScheduledEndDate | I_ManufacturingOrder | MfgOrderScheduledEndDate | ||
| MfgOrderActualStartDate | I_ManufacturingOrder | MfgOrderActualStartDate | ||
| MfgOrderActualEndDate | I_ManufacturingOrder | MfgOrderActualEndDate | ||
| MfgOrderConfirmedEndDate | I_ManufacturingOrder | MfgOrderConfirmedEndDate | ||
| MfgOrderCreationDate | I_ManufacturingOrder | CreationDate | Time Stamp | |
| LastChangeDate | I_ManufacturingOrder | LastChangeDate | Time Stamp | |
| MfgOrderPlannedStartDate | I_ManufacturingOrder | MfgOrderPlannedStartDate | ||
| MfgOrderPlannedEndDate | I_ManufacturingOrder | MfgOrderPlannedEndDate | ||
| MfgOrderPlannedReleaseDate | I_ManufacturingOrder | MfgOrderPlannedReleaseDate | ||
| MfgOrderScheduledReleaseDate | I_ManufacturingOrder | MfgOrderScheduledReleaseDate | ||
| MfgOrderActualReleaseDate | I_ManufacturingOrder | MfgOrderActualReleaseDate | ||
| ProductionUnit | I_ManufacturingOrder | ProductionUnit | ||
| MfgOrderPlannedTotalQty | I_ManufacturingOrder | MfgOrderPlannedTotalQty | ||
| MfgOrderPlannedScrapQty | I_ManufacturingOrder | MfgOrderPlannedScrapQty | ||
| MfgOrderPlannedYieldQty | ||||
| MfgOrderConfirmedYieldQty | I_ManufacturingOrder | MfgOrderConfirmedYieldQty | ||
| MfgOrderConfirmedScrapQty | I_ManufacturingOrder | MfgOrderConfirmedScrapQty | ||
| MfgOrderConfirmedReworkQty | I_ManufacturingOrder | MfgOrderConfirmedReworkQty | ||
| ExpectedDeviationQuantity | I_ManufacturingOrder | ExpectedDeviationQuantity | ||
| ActualDeliveredQuantity | I_ManufacturingOrder | ActualDeliveredQuantity | Delivered Quantity | |
| OrderOpenQuantity | ||||
| Material | I_ManufacturingOrder | Material | Vehicle Model | |
| MaterialName | ||||
| EffectivityParameterVariant | I_ManufacturingOrder | EffectivityParameterVariant | ||
| Batch | I_ManufacturingOrder | Batch | Lot No. | |
| OrderLongText | _OrderLongText | PlainLongText | Long Text | |
| ManufacturingOrderTypeName | ||||
| StorageLocation | I_ManufacturingOrder | StorageLocation | StorageLocation | |
| StockSegment | I_ManufacturingOrder | StockSegment | Stock Segment | |
| CombinedProductionOrder | ||||
| MasterProductionOrder | I_ManufacturingOrder | MasterProductionOrder | ||
| ProductSeasonYear | I_ManufacturingOrder | ProductSeasonYear | Season Year | |
| ProductSeason | I_ManufacturingOrder | ProductSeason | Season | |
| ProductCollection | I_ManufacturingOrder | ProductCollection | Collection | |
| ProductTheme | I_ManufacturingOrder | ProductTheme | Theme | |
| CrossPlantConfigurableProduct | ||||
| ProductCategory | ||||
| MaterialType | ||||
| MaterialGroup | ||||
| ProductCharacteristic1 | ||||
| ProductCharacteristic2 | ||||
| ProductCharacteristic3 | ||||
| ObjectInternalID | ObjectInternalID | Object number | ||
| _PlanningPlant | _PlanningPlant | |||
| _MfgOrderCategory | _MfgOrderCategory | |||
| _MfgOrderType | _MfgOrderType | |||
| _SuperiorOrder | _SuperiorOrder | |||
| _ReferenceOrder | _ReferenceOrder | |||
| _OrderInternalID | _OrderInternalID | |||
| _MRPArea | _MRPArea | |||
| _MRPController | _MRPController | |||
| _ResponsiblePlannerGroup | _ResponsiblePlannerGroup | |||
| _SalesOrder | _SalesOrder | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _ProfitCenter | _ProfitCenter | |||
| _CostCenter | _CostCenter | |||
| _ControllingArea | _ControllingArea | |||
| _FunctionalArea | _FunctionalArea | |||
| _BasicSchedulingType | _BasicSchedulingType | |||
| _Plant | I_ManufacturingOrder | _ProductionPlant | ||
| _MRPPlant | I_ManufacturingOrder | _PlanningPlant | ||
| _Material | _Material | |||
| _StorageLocation | _StorageLocation | |||
| _ProductionUnit | _ProductionUnit | |||
| _RFM_MasterProductOrder | _RFM_MasterProductOrder |
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_RFM_MfgOrderDuration.
-- 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: IRFMMFGORDERDURN
CREATE VIEW I_RFM_MfgOrderDuration AS
SELECT
_Duration.ManufacturingOrder AS ManufacturingOrder,
_Duration.ManufacturingOrderCategory AS ManufacturingOrderCategory,
_Duration.ManufacturingOrderType AS ManufacturingOrderType,
_Duration.ManufacturingOrderText AS ManufacturingOrderText,
_Duration.MfgOrderInternalID AS OrderInternalBillOfOperations,
_Duration.ReferenceOrder AS ReferenceOrder,
_Duration.PlanningPlant AS MRPPlant,
_Duration._PlanningPlant.PlantName AS MRPPlantName,
_Duration.MRPArea AS MRPArea,
_Duration._MRPArea.MRPAreaText AS MRPAreaText,
_Duration.MRPController AS MRPController,
_Duration._MRPController.MRPControllerName AS MRPControllerName,
_Duration.ResponsiblePlannerGroup AS ResponsiblePlannerGroup,
_Duration.ControllingArea AS ControllingArea,
_Duration.ProfitCenter AS ProfitCenter,
_Duration.CostCenter AS CostCenter,
_Duration.GLAccount AS GLAccount,
_Duration.FunctionalArea AS FunctionalArea,
_Duration.ProductionPlant AS ProductionPlant,
_Duration._ProductionPlant.PlantName AS ProductionPlantName,
_Duration.ProductionSupervisor AS ProductionSupervisor,
_Duration.SalesOrder AS SalesDocument,
_Duration.SalesOrderItem AS SalesDocumentItem,
_WBSElementBasicData2.WBSDescription AS WBSDescription,
_Duration.ProductionVersion AS ProductionVersion,
_ProductionVersion2.ProductionVersionText AS ProductionVersionText,
_ProductionVersion2.ProductionLine AS ProductionLine,
_Duration.ManufacturingOrderImportance AS ManufacturingOrderImportance,
cast(_Duration.ProdnProcgIsFlexible as mpe_flexible_processing preserving type) AS ProdnProcgIsFlexible,
_Duration.SuperiorOrder AS MfgOrderSuperiorMfgOrder,
_Duration.BasicSchedulingType AS BasicSchedulingType,
_Duration._BasicSchedulingType._Text[1: Language = $session.system_language].SchedulingTypeName AS SchedulingTypeName,
$session.system_date AS CurrentDate,
case when _isReleased.StatusCode is null then '' else 'X' end AS OrderIsReleased,
case when _isConfirmed.StatusCode is null then '' else 'X' end AS OrderIsConfirmed,
case when _isPartConf.StatusCode is null then '' else 'X' end AS OrderIsPartiallyConfirmed,
_Duration.MfgOrderScheduledStartDate AS MfgOrderScheduledStartDate,
_Duration.MfgOrderScheduledEndDate AS MfgOrderScheduledEndDate,
_Duration.MfgOrderActualStartDate AS MfgOrderActualStartDate,
_Duration.MfgOrderActualEndDate AS MfgOrderActualEndDate,
_Duration.MfgOrderConfirmedEndDate AS MfgOrderConfirmedEndDate,
_Duration.CreationDate AS MfgOrderCreationDate,
_Duration.LastChangeDate AS LastChangeDate,
_Duration.MfgOrderPlannedStartDate AS MfgOrderPlannedStartDate,
_Duration.MfgOrderPlannedEndDate AS MfgOrderPlannedEndDate,
_Duration.MfgOrderPlannedReleaseDate AS MfgOrderPlannedReleaseDate,
_Duration.MfgOrderScheduledReleaseDate AS MfgOrderScheduledReleaseDate,
_Duration.MfgOrderActualReleaseDate AS MfgOrderActualReleaseDate,
_Duration.ProductionUnit AS ProductionUnit,
_Duration.MfgOrderPlannedTotalQty AS MfgOrderPlannedTotalQty,
_Duration.MfgOrderPlannedScrapQty AS MfgOrderPlannedScrapQty,
cast(_Duration.MfgOrderPlannedTotalQty - _Duration.MfgOrderPlannedScrapQty as plannedyieldquantity) AS MfgOrderPlannedYieldQty,
_Duration.MfgOrderConfirmedYieldQty AS MfgOrderConfirmedYieldQty,
_Duration.MfgOrderConfirmedScrapQty AS MfgOrderConfirmedScrapQty,
_Duration.MfgOrderConfirmedReworkQty AS MfgOrderConfirmedReworkQty,
_Duration.ExpectedDeviationQuantity AS ExpectedDeviationQuantity,
_Duration.ActualDeliveredQuantity AS ActualDeliveredQuantity,
cast (_Duration.MfgOrderPlannedTotalQty-_Duration.MfgOrderPlannedScrapQty-_Duration.ActualDeliveredQuantity-_Duration.ExpectedDeviationQuantity as openquan) AS OrderOpenQuantity,
_Duration.Material AS Material,
_Duration._Material._Text[1: Language=$session.system_language].MaterialName AS MaterialName,
_Duration.EffectivityParameterVariant AS EffectivityParameterVariant,
_Duration.Batch AS Batch,
_OrderLongText.PlainLongText AS OrderLongText,
_Duration._MfgOrderType._Text[1: Language=$session.system_language].ManufacturingOrderTypeName AS ManufacturingOrderTypeName,
_Duration.StorageLocation AS StorageLocation,
_Duration.StockSegment AS StockSegment,
_Duration._RFM_MasterProductOrder.CombinedProductionOrder AS CombinedProductionOrder,
_Duration.MasterProductionOrder AS MasterProductionOrder,
_Duration.ProductSeasonYear AS ProductSeasonYear,
_Duration.ProductSeason AS ProductSeason,
_Duration.ProductCollection AS ProductCollection,
_Duration.ProductTheme AS ProductTheme,
_Duration._Material.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
_Duration._Material.ProductCategory AS ProductCategory,
_Duration._Material.MaterialType AS MaterialType,
_Duration._Material.MaterialGroup AS MaterialGroup,
_Duration._Material.ProductCharacteristic1 AS ProductCharacteristic1,
_Duration._Material.ProductCharacteristic2 AS ProductCharacteristic2,
_Duration._Material.ProductCharacteristic3 AS ProductCharacteristic3,
ObjectInternalID,
_Duration._ProductionPlant AS _Plant,
_Duration._PlanningPlant AS _MRPPlant
FROM I_ManufacturingOrder AS _Duration
LEFT OUTER JOIN I_StatusObjectStatusBasic AS _isReleased ON _isReleased.StatusObject = _Duration.ObjectInternalID AND _isReleased.StatusCode = 'I0002' AND _isReleased.StatusIsInactive = '' -- association [0..1]
LEFT OUTER JOIN I_StatusObjectStatusBasic AS _isConfirmed ON _isConfirmed.StatusObject = _Duration.ObjectInternalID AND _isConfirmed.StatusCode = 'I0009' AND _isConfirmed.StatusIsInactive = '' -- association [0..1]
LEFT OUTER JOIN I_StatusObjectStatusBasic AS _isPartConf ON _isPartConf.StatusObject = _Duration.ObjectInternalID AND _isPartConf.StatusCode = 'I0010' AND _isPartConf.StatusIsInactive = '' -- association [0..1]
LEFT OUTER JOIN P_MfgOrderLongText AS _OrderLongText ON ManufacturingOrder = _OrderLongText.OrderID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA