P_PT_DeliverySeriesCount

DDL: P_PT_DELIVERYSERIESCOUNT Type: view_entity COMPOSITE

Document count of Number Range Series

P_PT_DeliverySeriesCount is a Composite CDS View that provides data about "Document count of Number Range Series" in SAP S/4HANA. It reads from 1 data source (I_PT_DeliveryNumberRange) and exposes 2 fields with key field PortugueseDgtlSignatureSeries. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PT_DeliveryNumberRange I_PT_DeliveryNumberRange from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PT_DeliveryDgtlSgntr _DigitalSignature _DigitalSignature.PortugueseDgtlSignatureSeries = $projection.PortugueseDgtlSignatureSeries

Annotations (6)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
EndUserText.label Document count of Number Range Series view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PortugueseDgtlSignatureSeries PortugueseDgtlSignatureSeries Series ID
DocumentCount

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_PT_DeliverySeriesCount.
-- 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_PT_DeliverySeriesCount AS
SELECT
  PortugueseDgtlSignatureSeries,
  count( distinct _DigitalSignature.ReferenceDocumentNumber) AS DocumentCount
FROM I_PT_DeliveryNumberRange
LEFT OUTER JOIN I_PT_DeliveryDgtlSgntr AS _DigitalSignature ON _DigitalSignature.PortugueseDgtlSignatureSeries = PortugueseDgtlSignatureSeries  -- association [0..*]
;