P_CN_GTDocumentMappingAgg1

DDL: P_CN_GTDOCUMENTMAPPINGAGG1 Type: view COMPOSITE

P_CN_GTDocumentMappingAgg1 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_CN_GTDocumentMappingAgg) and exposes 3 fields.

Data Sources (1)

SourceAliasJoin Type
P_CN_GTDocumentMappingAgg P_CN_GTDocumentMappingAgg from

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view
AbapCatalog.sqlViewName PCNGTDMAPAGG1 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (3)

KeyFieldSource TableSource FieldDescription
CN_GoldenTaxDocument CN_GoldenTaxDocument
CN_GoldenTaxCombinationID CN_GoldenTaxCombinationID
LinesOfDoc

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_CN_GTDocumentMappingAgg1.
-- 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_CN_GTDocumentMappingAgg1 AS
SELECT
  CN_GoldenTaxDocument,
  CN_GoldenTaxCombinationID,
  sum(LinesOfDoc) AS LinesOfDoc
FROM P_CN_GTDocumentMappingAgg
;