P_CADocumentGLItemCount

DDL: P_CADOCUMENTGLITEMCOUNT Type: view_entity COMPOSITE

Count of Document GL Items

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

Data Sources (1)

SourceAliasJoin Type
I_CADocumentGLItem I_CADocumentGLItem from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Count of Document GL 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 CADocumentNumber Document Number
NumberOfCADocumentGLItems

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_CADocumentGLItemCount.
-- 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_CADocumentGLItemCount AS
SELECT
  CADocumentNumber,
  count(*) AS NumberOfCADocumentGLItems
FROM I_CADocumentGLItem
;