C_SerialNumberObjPage
Serial Number Object Page
C_SerialNumberObjPage is a Consumption CDS View that provides data about "Serial Number Object Page" in SAP S/4HANA. It reads from 1 data source (I_Equipment) and exposes 29 fields with key field Equipment. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Equipment | _Equipment | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_SerialNmbrHistory | _SerialNumberHistory | $projection.Equipment = _SerialNumberHistory.Equipment |
| [0..1] | I_InventoryStockType | _InventoryStockType | $projection.inventorystocktype = _InventoryStockType.InventoryStockType |
| [0..1] | I_InventorySpecialStockType | _InventorySpecialStockType | $projection.inventoryspecialstocktype = _InventorySpecialStockType.InventorySpecialStockType |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSERNOOP | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Serial Number Object Page | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | Serial Number | view | |
| UI.headerInfo.typeNamePlural | Serial Numbers | view | |
| UI.headerInfo.title.label | Serial Number | view | |
| UI.headerInfo.title.value | SerialNumber | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Equipment | I_Equipment | Equipment | Equipment check |
| SerialNumber | I_Equipment | SerialNumber | Serial Number | |
| Material | I_Equipment | Material | Vehicle Model | |
| SupplierWarrantyEndDate | ||||
| CustomerWarrantyEndDate | ||||
| Plant | ||||
| StorageLocation | ||||
| Batch | I_Equipment | Batch | Lot No. | |
| InventoryStockType | ||||
| InventorySpecialStockType | ||||
| SalesOrder | ||||
| SalesOrderItem | ||||
| Supplier | ||||
| Customer | ||||
| WBSElementInternalID | ||||
| SpecialStockIdfgStockOwner | ||||
| SalesOrganization | ||||
| DistributionChannel | ||||
| Division | ||||
| SalesOffice | ||||
| SalesGroup | ||||
| _SerialNumberHistory | _SerialNumberHistory | |||
| _Material | _Material | |||
| _Plant | ||||
| _StorageLocation | ||||
| _InventoryStockType | _InventoryStockType | |||
| _InventorySpecialStockType | _InventorySpecialStockType | |||
| _Supplier | ||||
| _Customer |
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 C_SerialNumberObjPage.
-- 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: CSERNOOP
CREATE VIEW C_SerialNumberObjPage AS
SELECT
_Equipment.Equipment AS Equipment,
_Equipment.SerialNumber AS SerialNumber,
_Equipment.Material AS Material,
cast( cast( '20161231' as dats) as sn_supplier_warranty_end_date preserving type) AS SupplierWarrantyEndDate,
cast( cast( '20161231' as dats) as sn_customer_warranty_end_date preserving type) AS CustomerWarrantyEndDate,
_Equipment._SerialNumberStockSegment.Plant AS Plant,
_Equipment._SerialNumberStockSegment.StorageLocation AS StorageLocation,
_Equipment.Batch AS Batch,
_Equipment._SerialNumberStockSegment.InventoryStockType AS InventoryStockType,
_Equipment._SerialNumberStockSegment.InventorySpecialStockType AS InventorySpecialStockType,
_Equipment._SerialNumberStockSegment.SalesOrder AS SalesOrder,
_Equipment._SerialNumberStockSegment.SalesOrderItem AS SalesOrderItem,
_Equipment._SerialNumberStockSegment.Supplier AS Supplier,
_Equipment._SerialNumberStockSegment.Customer AS Customer,
_Equipment._SerialNumberStockSegment.WBSElementInternalID AS WBSElementInternalID,
_Equipment._SerialNumberStockSegment.StockOwner AS SpecialStockIdfgStockOwner,
_Equipment._EquipmentTimeSeg[left outer where ValidityEndDate = '99991231']._LocationAccountAssignment.SalesOrganization AS SalesOrganization,
_Equipment._EquipmentTimeSeg[left outer where ValidityEndDate = '99991231']._LocationAccountAssignment.DistributionChannel AS DistributionChannel,
_Equipment._EquipmentTimeSeg[left outer where ValidityEndDate = '99991231']._LocationAccountAssignment.Division AS Division,
_Equipment._EquipmentTimeSeg[left outer where ValidityEndDate = '99991231']._LocationAccountAssignment.SalesOffice AS SalesOffice,
_Equipment._EquipmentTimeSeg[left outer where ValidityEndDate = '99991231']._LocationAccountAssignment.SalesGroup AS SalesGroup,
_Equipment._SerialNumberStockSegment._Plant AS _Plant,
_Equipment._SerialNumberStockSegment._StorageLocation AS _StorageLocation,
_Equipment._SerialNumberStockSegment._Supplier AS _Supplier,
_Equipment._SerialNumberStockSegment._Customer AS _Customer
FROM I_Equipment AS _Equipment
LEFT OUTER JOIN C_SerialNmbrHistory AS _SerialNumberHistory ON Equipment = _SerialNumberHistory.Equipment -- association [0..*]
LEFT OUTER JOIN I_InventoryStockType AS _InventoryStockType ON inventorystocktype = _InventoryStockType.InventoryStockType -- association [0..1]
LEFT OUTER JOIN I_InventorySpecialStockType AS _InventorySpecialStockType ON inventoryspecialstocktype = _InventorySpecialStockType.InventorySpecialStockType -- association [0..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