P_CN_GTDocumentMappingAgg3

DDL: P_CN_GTDOCUMENTMAPPINGAGG3 Type: view COMPOSITE

P_CN_GTDocumentMappingAgg3 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_CN_GTDocumentMappingAgg, P_CN_GTDocumentMappingAgg2) and exposes 3 fields.

Data Sources (2)

SourceAliasJoin Type
P_CN_GTDocumentMappingAgg _mapping from
P_CN_GTDocumentMappingAgg2 _Splite inner

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 PCNGTDMAPAGG3 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (3)

KeyFieldSource TableSource FieldDescription
CN_GoldenTaxDocument P_CN_GTDocumentMappingAgg CN_GoldenTaxDocument
CN_GoldenTaxCombinationID P_CN_GTDocumentMappingAgg 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_GTDocumentMappingAgg3.
-- 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_GTDocumentMappingAgg3 AS
SELECT
  _mapping.CN_GoldenTaxDocument AS CN_GoldenTaxDocument,
  _mapping.CN_GoldenTaxCombinationID AS CN_GoldenTaxCombinationID,
  max( _Splite.LinesOfDoc ) AS LinesOfDoc
FROM P_CN_GTDocumentMappingAgg AS _mapping
INNER JOIN P_CN_GTDocumentMappingAgg2 AS _Splite ON /* join condition not captured in parsed metadata */
;