P_AU_StRpTPARAggrgSupplierAmt

DDL: P_AU_STRPTPARAGGRGSUPPLIERAMT SQL: PAUSRTPARASUPLRA Type: view COMPOSITE

P_AU_StRpTPARAggrgSupplierAmt is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_AU_StRpTPARSupplierAmountLog) and exposes 10 fields with key fields StatryRptgEntity, StatryRptCategory, StatryRptRunID, Supplier, AU_TPARServiceType.

Data Sources (1)

SourceAliasJoin Type
P_AU_StRpTPARSupplierAmountLog P_AU_StRpTPARSupplierAmountLog from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PAUSRTPARASUPLRA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptRunID StatryRptRunID Report Run ID
KEY Supplier Supplier Supplier
KEY AU_TPARServiceType AU_TPARServiceType Service Type
KEY AU_TPARGrantName AU_TPARGrantName
TotalGrossAmountInCoCodeCrcy
TotalVATAmtInCoCodeCrcy
AU_TPARGrantDate
ReportingCurrency ReportingCurrency Currency

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_AU_StRpTPARAggrgSupplierAmt.
-- 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.
-- SQL view name: PAUSRTPARASUPLRA

CREATE VIEW P_AU_StRpTPARAggrgSupplierAmt AS
SELECT
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  Supplier,
  AU_TPARServiceType,
  AU_TPARGrantName,
  sum(TotalGrossAmountInCoCodeCrcy) AS TotalGrossAmountInCoCodeCrcy,
  sum(TotalVATAmtInCoCodeCrcy) AS TotalVATAmtInCoCodeCrcy,
  max(AU_TPARGrantDate) AS AU_TPARGrantDate,
  ReportingCurrency
FROM P_AU_StRpTPARSupplierAmountLog
;