I_MfgOrderItemSerialNumber
Manufacturing Order Item Serial Number
I_MfgOrderItemSerialNumber (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private 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 26 fields with key fields ManufacturingOrder, ManufacturingOrderItem. It has 3 associations to related views.
SAP Help Documentation
| Category | CDS Views for Discrete and Process Manufacturing |
|---|
With this CDS view you can retrieve serial numbers for manufacturing order items. This CDS view provides the prerequisites for answering the following business question: Which serial numbers are assigned to a manufacturing order item?
Prerequisites
You have authorizations to display the following: Orders by order category ( C_AFKO_ATY ) Orders by order category, order type, and plant ( C_AFKO_AWA ) Orders by order type and plant ( C_AFKO_AWK )
Structure
Main input parameters This CDS view does not have any input parameters. Measures and attributes The following main attributes are provided: Manufacturing order Manufacturing order item Serial number Product Production plant Planning plant MRP controller Production supervisor Serial number internal key Equipment Document date
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Manufacturing |
| Application Component | PP-VDM |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Analytical Dimension |
| Package | Manufacturing for SAP S/4HANA Cloud Private 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 Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private 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 (3)
| 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 |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPMFGORDITMSERN | 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 | #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 (26)
| 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 Number | |
| 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 |
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.
-- SQL view name: IPPMFGORDITMSERN
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
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]
;
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