P_SrvDocItemSerialNumberCount

DDL: P_SRVDOCITEMSERIALNUMBERCOUNT Type: view_entity COMPOSITE Package: ODATA_LO_SN_HISTORY

Service Doc Item Serial Number Count

P_SrvDocItemSerialNumberCount is a Composite CDS View that provides data about "Service Doc Item Serial Number Count" in SAP S/4HANA. It reads from 1 data source (P_SerialNumberServiceDocument) and exposes 4 fields with key fields ServiceObjectType, ServiceDocument, ServiceDocumentItem. Part of development package ODATA_LO_SN_HISTORY.

Data Sources (1)

SourceAliasJoin Type
P_SerialNumberServiceDocument P_SerialNumberServiceDocument from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType ServiceObjectType Object Type
KEY ServiceDocument ServiceDocument Transaction ID
KEY ServiceDocumentItem ServiceDocumentItem Service Document
NumberOfSerialNumbers

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 P_SrvDocItemSerialNumberCount.
-- 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 P_SrvDocItemSerialNumberCount AS
SELECT
  ServiceObjectType,
  ServiceDocument,
  ServiceDocumentItem,
  count( * ) AS NumberOfSerialNumbers
FROM P_SerialNumberServiceDocument
;