C_MonitorPaymentRunAggregation

DDL: C_MONITORPAYMENTRUNAGGREGATION Type: view_entity CONSUMPTION Package: ODATA_MONITOR_PAYMENT_BATCHES

Batch Item Payment Run Aggregation

C_MonitorPaymentRunAggregation is a Consumption CDS View that provides data about "Batch Item Payment Run Aggregation" in SAP S/4HANA. It reads from 1 data source (C_MonitorPaymentBatchItem) and exposes 6 fields with key field BatchUUID. It is exposed through 2 OData services (ASQL_F0770, ASQL_F2388). Part of development package ODATA_MONITOR_PAYMENT_BATCHES.

Data Sources (1)

SourceAliasJoin Type
C_MonitorPaymentBatchItem C_MonitorPaymentBatchItem from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
EndUserText.label Batch Item Payment Run Aggregation view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F0770 ASQL_F0770 C2 NOT_RELEASED
ASQL_F2388 ASQL_F2388 C2 NOT_RELEASED

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BatchUUID BatchUUID Target Grp GUID
NumberOfPaymentRuns
PaymentRunID
PayingCompanyCode
HouseBank
HouseBankAccount

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 C_MonitorPaymentRunAggregation.
-- 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 C_MonitorPaymentRunAggregation AS
SELECT
  BatchUUID,
  count(distinct PaymentRunID) AS NumberOfPaymentRuns,
  max(PaymentRunID) AS PaymentRunID,
  max(PayingCompanyCode) AS PayingCompanyCode,
  max(HouseBank) AS HouseBank,
  max(HouseBankAccount) AS HouseBankAccount
FROM C_MonitorPaymentBatchItem
;