P_CADocumentBPItemCount

DDL: P_CADOCUMENTBPITEMCOUNT Type: view_entity COMPOSITE

Count of Document BP Items

P_CADocumentBPItemCount is a Composite CDS View that provides data about "Count of Document BP Items" in SAP S/4HANA. It reads from 1 data source (P_CADocumentBPItemPhysEnhcd) and exposes 2 fields with key field CADocumentNumber.

Data Sources (1)

SourceAliasJoin Type
P_CADocumentBPItemPhysEnhcd _BPItemPhysEnhcd from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Count of Document BP Items view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber P_CADocumentBPItemPhysEnhcd CADocumentNumber Document Number
NumberOfCADocumentBPItems

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_CADocumentBPItemCount.
-- 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_CADocumentBPItemCount AS
SELECT
  _BPItemPhysEnhcd.CADocumentNumber AS CADocumentNumber,
  count(*) AS NumberOfCADocumentBPItems
FROM P_CADocumentBPItemPhysEnhcd AS _BPItemPhysEnhcd
;