C_MntrPaytSWIFTTransRefAggrgn

DDL: C_MNTRPAYTSWIFTTRANSREFAGGRGN Type: view_entity CONSUMPTION Package: ODATA_MONITOR_PAYMENT_BATCHES

Batch Item SWIFT Trans Ref Aggregation

C_MntrPaytSWIFTTransRefAggrgn is a Consumption CDS View that provides data about "Batch Item SWIFT Trans Ref Aggregation" in SAP S/4HANA. It reads from 1 data source (C_MonitorPaymentBatchItem) and exposes 17 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 SWIFT Trans Ref Aggregation view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY BatchUUID BatchUUID Target Grp GUID
NmbrOfSWIFTTransReference
SWIFTTransactionReferenceUUID
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_MntrPaytSWIFTTransRefAggrgn.
-- 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_MntrPaytSWIFTTransRefAggrgn AS
SELECT
  BatchUUID,
  count(distinct SWIFTTransactionReferenceUUID) AS NmbrOfSWIFTTransReference,
  max(SWIFTTransactionReferenceUUID) AS SWIFTTransactionReferenceUUID,
  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
;