P_COUNTDOCPERONETIMESUPPL

DDL: P_COUNTDOCPERONETIMESUPPL SQL: PGRCCOUNT Type: view CONSUMPTION Package: FINS_FIS_GRC_APPS

Count Documents by OneTime Account Suppl

P_COUNTDOCPERONETIMESUPPL is a Consumption CDS View that provides data about "Count Documents by OneTime Account Suppl" in SAP S/4HANA. Part of development package FINS_FIS_GRC_APPS.

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName PGRCCOUNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Count Documents by OneTime Account Suppl view
VDM.viewType #CONSUMPTION view
VDM.private true view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Supplier Supplier Supplier
KEY CompanyCode CompanyCode Receiver Company Code
NumberOfPostedJournalEntries
LastPaymentDate
_CompanyCode _CompanyCode

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_COUNTDOCPERONETIMESUPPL.
-- 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: PGRCCOUNT

CREATE VIEW P_COUNTDOCPERONETIMESUPPL AS
SELECT
  Supplier,
  CompanyCode,
  count (distinct JournalEnrtyUniqueID) AS NumberOfPostedJournalEntries,
  max (JournalEntryCreationDate) AS LastPaymentDate
;