I_ManufacturingOrderSequence
Manufacturing Order Sequence
I_ManufacturingOrderSequence is a Composite CDS View (Dimension) that provides data about "Manufacturing Order Sequence" in SAP S/4HANA. It reads from 1 data source (I_OrderSequenceBySemKey) and exposes 43 fields with key fields ManufacturingOrder, ManufacturingOrderSequence. It has 11 associations to related views. It is exposed through 1 OData service (ASQL_F5323). Part of development package VDM_PP_SFC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OrderSequenceBySemKey | affl | from |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MfgOrderCategory | _MfgOrderCategory | $projection.ManufacturingOrderCategory = _MfgOrderCategory.ManufacturingOrderCategory |
| [1..1] | I_MfgOrderType | _MfgOrderType | $projection.ManufacturingOrderType = _MfgOrderType.ManufacturingOrderType |
| [0..1] | I_ManufacturingOrderSequence | _ReferenceSequence | $projection.ManufacturingOrder = _ReferenceSequence.ManufacturingOrder and $projection.ReferenceSequence = _ReferenceSequence.ManufacturingOrderSequence |
| [0..1] | I_MfgBillOfOperations | _BillOfOperationsVariant | $projection.BillOfOperationsType = _BillOfOperationsVariant.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsVariant.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsVariant.BillOfOperationsVariant |
| [1..1] | I_StatusObject | _StatusObject | $projection.ObjectInternalID = _StatusObject.StatusObject -- to root: Header |
| [1..1] | I_ManufacturingOrder | _MfgOrder | $projection.ManufacturingOrder = _MfgOrder.ManufacturingOrder -- to child: Operations |
| [1..*] | I_ManufacturingOrderOperation | _MfgOrderOperation | $projection.OrderInternalID = _MfgOrderOperation.MfgOrderInternalID -- to child: Longtext |
| [0..1] | I_MfgOrderSequenceLongText | _MfgOrderSequenceLongText | $projection.OrderInternalID = _MfgOrderSequenceLongText.OrderInternalID and $projection.SequenceInternalID = _MfgOrderSequenceLongText.SequenceInternalID and $projection.LongTextLanguage = _MfgOrderSequenceLongText.LongTextLanguage -- start new associations for full coverage of text relations |
| [1..1] | I_ManufacturingOrder | _MfgOrderText | $projection.ManufacturingOrder = _MfgOrderText.ManufacturingOrder |
| [1..1] | I_Plant | _ProductionPlantText | $projection.ProductionPlant = _ProductionPlantText.Plant |
| [1..1] | I_StatusObject | _StatusObjectText | $projection.ObjectInternalID = _StatusObjectText.StatusObject |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMFGORDSEQUENCE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | ManufacturingOrderSequence | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Manufacturing Order Sequence | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F5323 | ASQL_F5323 | C2 | NOT_RELEASED |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ManufacturingOrder | |||
| KEY | ManufacturingOrderSequence | |||
| OrderInternalID | I_OrderSequenceBySemKey | OrderInternalID | Plan No.f.Oper. | |
| SequenceInternalID | I_OrderSequenceBySemKey | SequenceInternalID | ||
| MfgOrderSequenceText | ||||
| MfgOrderSequenceHasLongText | I_OrderSequenceBySemKey | SequenceHasLongText | ||
| LongTextLanguage | ||||
| MfgOrderSequenceBrnchOperation | ||||
| MfgOrderSequenceRetOperation | ||||
| ManufacturingOrderCategory | ||||
| ManufacturingOrderType | ||||
| MfgOrderSequenceCategory | I_OrderSequenceBySemKey | SequenceCategory | ||
| ProductionPlant | I_OrderSequenceBySemKey | ProductionPlant | Prod plnt | |
| ReferenceSequence | I_OrderSequenceBySemKey | ReferenceSequence | ||
| BillOfOperationsType | I_OrderSequenceBySemKey | BillOfOperationsType | Task List Type | |
| BillOfOperationsGroup | I_OrderSequenceBySemKey | BillOfOperationsGroup | Group | |
| BillOfOperationsVariant | I_OrderSequenceBySemKey | BillOfOperations | Group Counter | |
| SequenceSchedulingAlignment | I_OrderSequenceBySemKey | SequenceSchedulingAlignment | ||
| ObjectInternalID | I_OrderSequenceBySemKey | ObjectInternalID | Object number | |
| BillOfOperationsUnit | I_OrderSequenceBySemKey | BillOfOperationsUnit | ||
| MinimumLotSizeQuantity | I_OrderSequenceBySemKey | MinimumLotSizeQuantity | Min. Lot Size | |
| MaximumLotSizeQuantity | I_OrderSequenceBySemKey | MaximumLotSizeQuantity | Max. Lot Size | |
| _MfgOrder | _MfgOrder | |||
| _MfgOrderOperation | _MfgOrderOperation | |||
| _MfgOrderSequenceLongText | _MfgOrderSequenceLongText | |||
| _MfgOrderCategory | _MfgOrderCategory | |||
| _MfgOrderType | _MfgOrderType | |||
| _ReferenceSequence | _ReferenceSequence | |||
| _StatusObject | _StatusObject | |||
| _OrderInternalID | I_OrderSequenceBySemKey | _OrderInternalID | ||
| _SequenceInternalID | I_OrderSequenceBySemKey | _OrderSequence | ||
| _SequenceCategory | I_OrderSequenceBySemKey | _SequenceCategory | ||
| _SequenceSchedulingAlignment | I_OrderSequenceBySemKey | _SequenceSchedulingAlignment | ||
| _Plant | I_OrderSequenceBySemKey | _Plant | ||
| _BillOfOperationsType | I_OrderSequenceBySemKey | _BillOfOperationsType | ||
| _BillOfOperationsGroup | I_OrderSequenceBySemKey | _BillOfOperationsGroup | ||
| _BillOfOperationsVariant | _BillOfOperationsVariant | |||
| _BillOfOperationsUnit | I_OrderSequenceBySemKey | _BillOfOperationsUnit | ||
| _LongText | I_OrderSequenceBySemKey | _LongText | ||
| _Language | I_OrderSequenceBySemKey | _Language | ||
| _MfgOrderText | _MfgOrderText | |||
| _ProductionPlantText | _ProductionPlantText | |||
| _StatusObjectText | _StatusObjectText |
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_ManufacturingOrderSequence.
-- 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: IMFGORDSEQUENCE
CREATE VIEW I_ManufacturingOrderSequence AS
SELECT
cast(affl.OrderID as manufacturingorder preserving type) AS ManufacturingOrder,
cast(affl.Sequence as manufacturingordersequence preserving type) AS ManufacturingOrderSequence,
affl.OrderInternalID AS OrderInternalID,
affl.SequenceInternalID AS SequenceInternalID,
cast(affl.SequenceText as mfgordersequencetext preserving type) AS MfgOrderSequenceText,
affl.SequenceHasLongText AS MfgOrderSequenceHasLongText,
cast(affl.Language as pph_longtextlang preserving type) AS LongTextLanguage,
cast(vornr1.Operation_2 as vdm_vornr1 preserving type) AS MfgOrderSequenceBrnchOperation,
cast(vornr2.Operation_2 as vdm_vornr2 preserving type) AS MfgOrderSequenceRetOperation,
cast(affl.OrderCategory as manufacturingordercategory preserving type) AS ManufacturingOrderCategory,
cast(affl.OrderType as manufacturingordertype preserving type) AS ManufacturingOrderType,
affl.SequenceCategory AS MfgOrderSequenceCategory,
affl.ProductionPlant AS ProductionPlant,
affl.ReferenceSequence AS ReferenceSequence,
affl.BillOfOperationsType AS BillOfOperationsType,
affl.BillOfOperationsGroup AS BillOfOperationsGroup,
affl.BillOfOperations AS BillOfOperationsVariant,
affl.SequenceSchedulingAlignment AS SequenceSchedulingAlignment,
affl.ObjectInternalID AS ObjectInternalID,
affl.BillOfOperationsUnit AS BillOfOperationsUnit,
affl.MinimumLotSizeQuantity AS MinimumLotSizeQuantity,
affl.MaximumLotSizeQuantity AS MaximumLotSizeQuantity,
affl._OrderInternalID AS _OrderInternalID,
affl._OrderSequence AS _SequenceInternalID,
affl._SequenceCategory AS _SequenceCategory,
affl._SequenceSchedulingAlignment AS _SequenceSchedulingAlignment,
affl._Plant AS _Plant,
affl._BillOfOperationsType AS _BillOfOperationsType,
affl._BillOfOperationsGroup AS _BillOfOperationsGroup,
affl._BillOfOperationsUnit AS _BillOfOperationsUnit,
affl._LongText AS _LongText,
affl._Language AS _Language
FROM I_OrderSequenceBySemKey AS affl
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_ManufacturingOrderSequence AS _ReferenceSequence ON ManufacturingOrder = _ReferenceSequence.ManufacturingOrder AND ReferenceSequence = _ReferenceSequence.ManufacturingOrderSequence -- association [0..1]
LEFT OUTER JOIN I_MfgBillOfOperations AS _BillOfOperationsVariant ON BillOfOperationsType = _BillOfOperationsVariant.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsVariant.BillOfOperationsGroup AND BillOfOperationsVariant = _BillOfOperationsVariant.BillOfOperationsVariant -- association [0..1]
LEFT OUTER JOIN I_StatusObject AS _StatusObject ON ObjectInternalID = _StatusObject.StatusObject -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _MfgOrder ON ManufacturingOrder = _MfgOrder.ManufacturingOrder -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrderOperation AS _MfgOrderOperation ON OrderInternalID = _MfgOrderOperation.MfgOrderInternalID -- association [1..*]
LEFT OUTER JOIN I_MfgOrderSequenceLongText AS _MfgOrderSequenceLongText ON OrderInternalID = _MfgOrderSequenceLongText.OrderInternalID AND SequenceInternalID = _MfgOrderSequenceLongText.SequenceInternalID AND LongTextLanguage = _MfgOrderSequenceLongText.LongTextLanguage -- association [0..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _MfgOrderText ON ManufacturingOrder = _MfgOrderText.ManufacturingOrder -- association [1..1]
LEFT OUTER JOIN I_Plant AS _ProductionPlantText ON ProductionPlant = _ProductionPlantText.Plant -- association [1..1]
LEFT OUTER JOIN I_StatusObject AS _StatusObjectText ON ObjectInternalID = _StatusObjectText.StatusObject -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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