C_MonitorPaymentBatchItem

DDL: C_MONITORPAYMENTBATCHITEM Type: view_entity CONSUMPTION Package: ODATA_MONITOR_PAYMENT_BATCHES

Batch Item Help for Aggregates

C_MonitorPaymentBatchItem is a Consumption CDS View that provides data about "Batch Item Help for Aggregates" in SAP S/4HANA. It reads from 1 data source (I_BankPaymentBatchItem) and exposes 25 fields with key fields BatchUUID, PaymentBatchItem. It has 2 associations to related views. Part of development package ODATA_MONITOR_PAYMENT_BATCHES.

Data Sources (1)

SourceAliasJoin Type
I_BankPaymentBatchItem I_BankPaymentBatchItem from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_FiscalYearForCompanyCode _FiscalYear $projection.PayingCompanyCode = _FiscalYear.CompanyCode and $projection.PostingDate >= _FiscalYear.FiscalYearStartDate and $projection.PostingDate <= _FiscalYear.FiscalYearEndDate
[1..1] I_BankPaymentBatch _BankPaymentBatch $projection.BatchUUID = _BankPaymentBatch.BatchUUID

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 Help for Aggregates view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY BatchUUID BatchUUID Target Grp GUID
KEY PaymentBatchItem PaymentBatchItem
PaymentBatch PaymentBatch
PayingCompanyCode PayingCompanyCode Paying Company Code
PaymentRunDate PaymentRunDate
PaymentRunID PaymentRunID
PaymentDocument PaymentDocument Payment Document Number
BankPaymentOrigin BankPaymentOrigin Payment System
SwitchableAuthznCheckScenSts SwitchableAuthznCheckScenSts Scen. Status
HouseBank
PostingDate _PaymentProposalHeader PostingDate Posting Date for GR
HouseBankName
HouseBankAccount _PaymentProposalHeader HouseBankAccount House Bank Account
IsUrgentPayment
SWIFTTransactionReferenceUUID _PaymentProposalHeader SWIFTTransactionReferenceUUID Unique Reference
PaymentMethod _PaymentProposalHeader PaymentMethod Pymt Meth.
BankPaymentGroupingOrigin _PaymentProposalHeader BankPaymentGroupingOrigin
SupplierAccountGroup _Supplier SupplierAccountGroup Account group
SupplierFinsAuthorizationGrp _Supplier AuthorizationGroup AuthorizGroup
CustomerAccountGroup _Customer CustomerAccountGroup Account group
CustomerFinsAuthorizationGrp _Customer AuthorizationGroup AuthorizGroup
Customer _Customer Customer Sold-to Party
Supplier _Supplier Supplier Supplier
PaymentBatchRule _BankPaymentBatch PaymentBatchRule
_FiscalYear _FiscalYear

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_MonitorPaymentBatchItem.
-- 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_MonitorPaymentBatchItem AS
SELECT
  BatchUUID,
  PaymentBatchItem,
  PaymentBatch,
  PayingCompanyCode,
  PaymentRunDate,
  PaymentRunID,
  PaymentDocument,
  BankPaymentOrigin,
  SwitchableAuthznCheckScenSts,
  cast(_PaymentProposalHeader.HouseBank as farp_hbkid) AS HouseBank,
  _PaymentProposalHeader.PostingDate AS PostingDate,
  _PaymentProposalHeader._Bank.BankName AS HouseBankName,
  _PaymentProposalHeader.HouseBankAccount AS HouseBankAccount,
  _PaymentProposalHeader._DataExchangeInstructionKeys.IsUrgentPayment AS IsUrgentPayment,
  _PaymentProposalHeader.SWIFTTransactionReferenceUUID AS SWIFTTransactionReferenceUUID,
  _PaymentProposalHeader.PaymentMethod AS PaymentMethod,
  _PaymentProposalHeader.BankPaymentGroupingOrigin AS BankPaymentGroupingOrigin,
  _Supplier.SupplierAccountGroup AS SupplierAccountGroup,
  _Supplier.AuthorizationGroup AS SupplierFinsAuthorizationGrp,
  _Customer.CustomerAccountGroup AS CustomerAccountGroup,
  _Customer.AuthorizationGroup AS CustomerFinsAuthorizationGrp,
  _Customer.Customer AS Customer,
  _Supplier.Supplier AS Supplier,
  _BankPaymentBatch.PaymentBatchRule AS PaymentBatchRule
FROM I_BankPaymentBatchItem
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON PayingCompanyCode = _FiscalYear.CompanyCode AND PostingDate >= _FiscalYear.FiscalYearStartDate AND PostingDate <= _FiscalYear.FiscalYearEndDate  -- association [1..1]
LEFT OUTER JOIN I_BankPaymentBatch AS _BankPaymentBatch ON BatchUUID = _BankPaymentBatch.BatchUUID  -- association [1..1]
;