I_SerialNumberDeliveryDocument

DDL: I_SERIALNUMBERDELIVERYDOCUMENT Type: view_entity COMPOSITE Package: LO_SN_DB

Serial Number in Delivery Document

I_SerialNumberDeliveryDocument (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Database & Data Management

I_SerialNumberDeliveryDocument is a Composite CDS View that provides data about "Serial Number in Delivery Document" in SAP S/4HANA. It reads from 2 data sources (I_MaintenanceObjectListItem, I_MaintObjListDeliveryDocument) and exposes 9 fields with key fields Equipment, DeliveryDocument, DeliveryDocumentItem. Part of development package LO_SN_DB.

SAP API Hub

CategoryComposite
StateC1
Line of BusinessDatabase & Data Management
Application ComponentLO-MD-SN-2CL
CapabilitiesData Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageDatabase and Data Management for SAP S/4HANA Cloud Public Edition
Description <p></p> This CDS view provides the data to answer the following business question:<ul> <li> <p>Which material serial numbers are used where in which delivery documents?</p> </li> </ul> <p>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.</p>

Documentation

Data Sources (2)

SourceAliasJoin Type
I_MaintenanceObjectListItem _MaintenanceObjectListItem inner
I_MaintObjListDeliveryDocument _MaintObjListDeliveryDocument from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
EndUserText.label Serial Number in Delivery Document view
Metadata.ignorePropagatedAnnotations true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Equipment I_MaintenanceObjectListItem Equipment Equipment Number
KEY DeliveryDocument I_MaintObjListDeliveryDocument DeliveryDocument Outbound Delivery
KEY DeliveryDocumentItem I_MaintObjListDeliveryDocument DeliveryDocumentItem Outb. Delivery Item
Material I_MaintenanceObjectListItem Material Material Number
SerialNumber I_MaintenanceObjectListItem SerialNumber Serial Number
_Equipment I_MaintenanceObjectListItem _Equipment
_DeliveryDocument I_MaintObjListDeliveryDocument _DeliveryDocument
_DeliveryDocumentItem I_MaintObjListDeliveryDocument _DeliveryDocumentItem
_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_SerialNumberDeliveryDocument.
-- 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_SerialNumberDeliveryDocument AS
SELECT
  _MaintenanceObjectListItem.Equipment AS Equipment,
  _MaintObjListDeliveryDocument.DeliveryDocument AS DeliveryDocument,
  _MaintObjListDeliveryDocument.DeliveryDocumentItem AS DeliveryDocumentItem,
  _MaintenanceObjectListItem.Material AS Material,
  _MaintenanceObjectListItem.SerialNumber AS SerialNumber,
  _MaintenanceObjectListItem._Equipment AS _Equipment,
  _MaintObjListDeliveryDocument._DeliveryDocument AS _DeliveryDocument,
  _MaintObjListDeliveryDocument._DeliveryDocumentItem AS _DeliveryDocumentItem,
  _MaintenanceObjectListItem._Product AS _Product
FROM I_MaintObjListDeliveryDocument AS _MaintObjListDeliveryDocument
INNER JOIN I_MaintenanceObjectListItem AS _MaintenanceObjectListItem ON /* join condition not captured in parsed metadata */
;