C_MntrPaytDocumentAggregation

DDL: C_MNTRPAYTDOCUMENTAGGREGATION Type: view_entity CONSUMPTION Package: ODATA_MONITOR_PAYMENT_BATCHES

Batch Item Payment Document Aggregation

C_MntrPaytDocumentAggregation is a Consumption CDS View that provides data about "Batch Item Payment Document Aggregation" in SAP S/4HANA. It reads from 1 data source (C_MonitorPaymentBatchItem) and exposes 16 fields with key field BatchUUID. 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 Document Aggregation view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY BatchUUID BatchUUID Target Grp GUID
NumberOfPaymentDocuments
PayingCompanyCode
HouseBank
HouseBankAccount
PaymentMethod
PaymentRunID
BankPaymentGroupingOrigin
SupplierAccountGroup
SupplierFinsAuthorizationGrp
CustomerAccountGroup
CustomerFinsAuthorizationGrp
Customer
Supplier
SwitchableAuthznCheckScenSts
PaymentBatchRule

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_MntrPaytDocumentAggregation.
-- 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_MntrPaytDocumentAggregation AS
SELECT
  BatchUUID,
  count(distinct PaymentDocument) AS NumberOfPaymentDocuments,
  max(PayingCompanyCode) AS PayingCompanyCode,
  max(HouseBank) AS HouseBank,
  max(HouseBankAccount) AS HouseBankAccount,
  max(PaymentMethod) AS PaymentMethod,
  max(PaymentRunID) AS PaymentRunID,
  max(BankPaymentGroupingOrigin) AS BankPaymentGroupingOrigin,
  max(SupplierAccountGroup) AS SupplierAccountGroup,
  max(SupplierFinsAuthorizationGrp) AS SupplierFinsAuthorizationGrp,
  max(CustomerAccountGroup) AS CustomerAccountGroup,
  max(CustomerFinsAuthorizationGrp) AS CustomerFinsAuthorizationGrp,
  max(Customer) AS Customer,
  max(Supplier) AS Supplier,
  max(SwitchableAuthznCheckScenSts) AS SwitchableAuthznCheckScenSts,
  max(PaymentBatchRule) AS PaymentBatchRule
FROM C_MonitorPaymentBatchItem
;