I_SerialNumberMaintenanceOrder
Serial Number in Maintenance Order
I_SerialNumberMaintenanceOrder is a Composite CDS View that provides data about "Serial Number in Maintenance Order" in SAP S/4HANA. It reads from 2 data sources (I_MaintenanceObjectListItem, I_MaintObjListMaintenanceOrder) and exposes 7 fields with key fields Equipment, MaintenanceOrder. Part of development package LO_SN_DB.
SAP Help Documentation
| Category | CDS Views for Serial Number Management |
|---|
Purpose
This CDS view retrieves information on the serial numbers used within maintenance orders. This CDS view provides the data to answer the following business questions: Which material serial numbers were used in a maintenance order? When were specific material serial numbers used within a maintenance order? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must: have authorization to start the Display Material Serial Number ( IQ09 ) app (with Serial number history ) or: have authorization for the following objects: Order Type (I_AUART) Authorization Group (I_BEGRP) Maintenance Planner Group (I_INGRP) Maintenance Planning Plant (I_IWERK) Cost Centers (I_KOSTL) Maintenance Plant (I_SWERK) These restriction types are edited in the Maintain Business Roles app.
Structure
Important Fields Important fields in this view include the following: Field Name Description Equipment Equipment Number MaintenanceOrder Order Number Material Material Number SerialNumber Serial Number
This CDS view retrieves information on the serial numbers used within maintenance orders. This CDS view provides the data to answer the following business questions: Which material serial numbers were used in a maintenance order? When were specific material serial numbers used within a maintenance order? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must: have authorization to start the Display Material Serial Number ( IQ09 ) app (with Serial number history ) or: have authorization for the following objects: Order Type (I_AUART) Authorization Group (I_BEGRP) Maintenance Planner Group (I_INGRP) Maintenance Planning Plant (I_IWERK) Cost Centers (I_KOSTL) Maintenance Plant (I_SWERK) These restriction types are edited in the Maintain Business Roles app.
Structure
Important Fields Important fields in this view include the following: Field Name Description Equipment Equipment Number MaintenanceOrder Order Number Material Material Number SerialNumber Serial Number
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintenanceObjectListItem | _MaintenanceObjectListItem | inner |
| I_MaintObjListMaintenanceOrder | _MaintObjListMaintenanceOrder | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| EndUserText.label | Serial Number in Maintenance Order | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Equipment | I_MaintenanceObjectListItem | Equipment | Equipment check |
| KEY | MaintenanceOrder | I_MaintObjListMaintenanceOrder | MaintenanceOrder | Order |
| Material | I_MaintenanceObjectListItem | Material | Vehicle Model | |
| SerialNumber | I_MaintenanceObjectListItem | SerialNumber | Serial Number | |
| _Equipment | I_MaintenanceObjectListItem | _Equipment | ||
| _MaintenanceOrder | I_MaintObjListMaintenanceOrder | _MaintenanceOrder | ||
| _Product | I_MaintenanceObjectListItem | _Product |
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_SerialNumberMaintenanceOrder.
-- 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_SerialNumberMaintenanceOrder AS
SELECT
_MaintenanceObjectListItem.Equipment AS Equipment,
_MaintObjListMaintenanceOrder.MaintenanceOrder AS MaintenanceOrder,
_MaintenanceObjectListItem.Material AS Material,
_MaintenanceObjectListItem.SerialNumber AS SerialNumber,
_MaintenanceObjectListItem._Equipment AS _Equipment,
_MaintObjListMaintenanceOrder._MaintenanceOrder AS _MaintenanceOrder,
_MaintenanceObjectListItem._Product AS _Product
FROM I_MaintObjListMaintenanceOrder AS _MaintObjListMaintenanceOrder
INNER JOIN I_MaintenanceObjectListItem AS _MaintenanceObjectListItem ON /* join condition not captured in parsed metadata */
;
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