I_MfgOrderItemSerialNumber
Manufacturing Order Item Serial Number
I_MfgOrderItemSerialNumber (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Manufacturing
I_MfgOrderItemSerialNumber is a Composite CDS View (Dimension) that provides data about "Manufacturing Order Item Serial Number" in SAP S/4HANA. It reads from 2 data sources (I_ManufacturingOrderItem, I_MaintenanceItemObject) and exposes 30 fields with key fields ManufacturingOrder, ManufacturingOrderItem. It has 4 associations to related views. Part of development package VDM_PP_SFC.
SAP Help Documentation
| Category | CDS Views for Discrete and Process Manufacturing |
|---|---|
| Data Category | Dimension |
With this CDS view you can retrieve serial numbers for manufacturing order items. This CDS view provides the data to answer the following business questions: Which serial numbers are assigned to a manufacturing order item?
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: AUTYP (Order Category) AUFART_WERKS (Order Type/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: Manufacturing order Manufacturing order item Serial number Product Production plant Planning plant MRP controller Production supervisor Serial number internal key Equipment Document date
Constraints
Note At least one element of this CDS view is deprecated. We recommend that you switch to the following successor elements: Deprecated Field Successor Field Equipment Equipment_2 Deprecated Association Successor Association _Equipment _Equipment_2 For more information about the deprecation process for CDS views, see Deprecated and Decommissioned CDS Views .
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Manufacturing |
| Application Component | PP-VDM-2CL |
| Capabilities | Data Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Analytical Dimension |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Manufacturing for SAP S/4HANA Cloud Public Edition |
| Description | <p>With this CDS view you can retrieve serial numbers for manufacturing order items.</p> <p>This CDS view provides the prerequisites for answering the following business question:</p> <ul> <li> <p> Which serial numbers are assigned to a manufacturing order item?</p> </li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ManufacturingOrderItem | item | from |
| I_MaintenanceItemObject | objk | inner |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ManufacturingOrderItem | _MfgOrderItem | $projection.ManufacturingOrder = _MfgOrderItem.ManufacturingOrder and $projection.ManufacturingOrderItem = _MfgOrderItem.ManufacturingOrderItem |
| [1..1] | I_Equipment | _Equipment | $projection.Equipment = _Equipment.Equipment |
| [1..1] | I_Equipment | _Equipment_2 | $projection.Equipment_2 = _Equipment_2.Equipment -- start new associations for full coverage of text relations |
| [0..*] | I_EquipmentText | _EquipmentText | $projection.Equipment_2 = _EquipmentText.Equipment -- end new associations for full coverage of text relations |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.technicalName | IPPMFGORDITMSERN | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.representativeKey | SerialNumber | 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 | Manufacturing Order Item Serial Number | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ManufacturingOrder | I_ManufacturingOrderItem | ManufacturingOrder | Manufacturing Order ID |
| KEY | ManufacturingOrderItem | I_ManufacturingOrderItem | ManufacturingOrderItem | Manufacturing Order Item ID |
| MaintenanceItemObjectList | I_MaintenanceItemObject | MaintenanceItemObjectList | Object list number | |
| MaintenanceItemObject | I_MaintenanceItemObject | MaintenanceItemObject | Object list counters | |
| Equipment | I_MaintenanceItemObject | Equipment | Equipment check | |
| Equipment_2 | Equipment Number | |||
| Product | I_ManufacturingOrderItem | Product | Product Sold | |
| ProductionPlant | I_ManufacturingOrderItem | ProductionPlant | Production Plant | |
| PlanningPlant | I_ManufacturingOrderItem | PlanningPlant | Planning Plant for an Order | |
| MRPController | I_ManufacturingOrderItem | MRPController | MRP Controller | |
| ProductionSupervisor | I_ManufacturingOrderItem | ProductionSupervisor | Production Supervisor | |
| ManufacturingOrderCategory | I_ManufacturingOrderItem | ManufacturingOrderCategory | Manufacturing Order Category | |
| ManufacturingOrderType | I_ManufacturingOrderItem | ManufacturingOrderType | Manufacturing Order Type | |
| DocumentDate | sern | SerialNumberAssignmentDate | Date | |
| _MfgOrder | I_ManufacturingOrderItem | _MfgOrder | ||
| _MfgOrderItem | _MfgOrderItem | |||
| _MfgOrderCategory | I_ManufacturingOrderItem | _MfgOrderCategory | ||
| _MfgOrderType | I_ManufacturingOrderItem | _MfgOrderType | ||
| _Equipment | _Equipment | |||
| _Equipment_2 | _Equipment_2 | |||
| _Product | I_ManufacturingOrderItem | _Product | ||
| _ProductionPlant | I_ManufacturingOrderItem | _ProductionPlant | ||
| _ProductionSupervisor | I_ManufacturingOrderItem | _ProductionSupervisor | ||
| _MRPController | I_ManufacturingOrderItem | _MRPController | ||
| _MRPPlant | I_ManufacturingOrderItem | _MRPPlant | ||
| _SerialNumberProfile | I_ManufacturingOrderItem | _SerialNumberProfile | ||
| _EquipmentText | _EquipmentText | |||
| _ProductText | I_ManufacturingOrderItem | _ProductText | ||
| _ProductionPlantText | I_ManufacturingOrderItem | _ProductionPlantText | ||
| _PlanningPlantText | I_ManufacturingOrderItem | _PlanningPlantText |
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_MfgOrderItemSerialNumber.
-- 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.
CREATE VIEW I_MfgOrderItemSerialNumber AS
SELECT
item.ManufacturingOrder AS ManufacturingOrder,
item.ManufacturingOrderItem AS ManufacturingOrderItem,
objk.MaintenanceItemObjectList AS MaintenanceItemObjectList,
objk.MaintenanceItemObject AS MaintenanceItemObject,
objk.Equipment AS Equipment,
cast(objk.Equipment as equnr preserving type) AS Equipment_2,
item.Product AS Product,
item.ProductionPlant AS ProductionPlant,
item.PlanningPlant AS PlanningPlant,
item.MRPController AS MRPController,
item.ProductionSupervisor AS ProductionSupervisor,
item.ManufacturingOrderCategory AS ManufacturingOrderCategory,
item.ManufacturingOrderType AS ManufacturingOrderType,
sern.SerialNumberAssignmentDate AS DocumentDate,
item._MfgOrder AS _MfgOrder,
item._MfgOrderCategory AS _MfgOrderCategory,
item._MfgOrderType AS _MfgOrderType,
item._Product AS _Product,
item._ProductionPlant AS _ProductionPlant,
item._ProductionSupervisor AS _ProductionSupervisor,
item._MRPController AS _MRPController,
item._MRPPlant AS _MRPPlant,
item._SerialNumberProfile AS _SerialNumberProfile,
item._ProductText AS _ProductText,
item._ProductionPlantText AS _ProductionPlantText,
item._PlanningPlantText AS _PlanningPlantText
FROM I_ManufacturingOrderItem AS item
INNER JOIN I_MaintenanceItemObject AS objk ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ManufacturingOrderItem AS _MfgOrderItem ON ManufacturingOrder = _MfgOrderItem.ManufacturingOrder AND ManufacturingOrderItem = _MfgOrderItem.ManufacturingOrderItem -- association [1..1]
LEFT OUTER JOIN I_Equipment AS _Equipment ON Equipment = _Equipment.Equipment -- association [1..1]
LEFT OUTER JOIN I_Equipment AS _Equipment_2 ON Equipment_2 = _Equipment_2.Equipment -- association [1..1]
LEFT OUTER JOIN I_EquipmentText AS _EquipmentText ON Equipment_2 = _EquipmentText.Equipment -- association [0..*]
;
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