I_MfgOrderItemSerialNumber

DDL: I_MFGORDERITEMSERIALNUMBER Type: view_entity COMPOSITE Package: VDM_PP_SFC

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

CategoryCDS Views for Discrete and Process Manufacturing
Data CategoryDimension
Purpose
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 .

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM-2CL
CapabilitiesData 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
PackageManufacturing 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

Data Sources (2)

SourceAliasJoin Type
I_ManufacturingOrderItem item from
I_MaintenanceItemObject objk inner

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;