P_CAPaymentRunTotals

DDL: P_CAPAYMENTRUNTOTALS Type: view_entity COMPOSITE Package: FKK_PAYMENT_RUN

Payment Run Totals

P_CAPaymentRunTotals is a Composite CDS View that provides data about "Payment Run Totals" in SAP S/4HANA. It reads from 1 data source (I_CAPaymentRunHeader) and exposes 8 fields with key fields CAMassRunDate, CAMassRunID, CAIntPaymentIdentification, CAIntAddlPaymentIdentification. Part of development package FKK_PAYMENT_RUN.

Data Sources (1)

SourceAliasJoin Type
I_CAPaymentRunHeader I_CAPaymentRunHeader from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CAMassRunDate CAMassRunDate Date ID
KEY CAMassRunID CAMassRunID Run ID
KEY CAIntPaymentIdentification CAIntPaymentIdentification Seq. number
KEY CAIntAddlPaymentIdentification CAIntAddlPaymentIdentification Sequence Number
CAPaymentCompanyCode CAPaymentCompanyCode Paying Co. Code
CAInternalPaymentGroup CAInternalPaymentGroup Routine Number
TransactionCurrency TransactionCurrency Transaction Currency
BankAmount

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_CAPaymentRunTotals.
-- 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 P_CAPaymentRunTotals AS
SELECT
  CAMassRunDate,
  CAMassRunID,
  CAIntPaymentIdentification,
  CAIntAddlPaymentIdentification,
  CAPaymentCompanyCode,
  CAInternalPaymentGroup,
  TransactionCurrency,
  PaidAmountInPaytCurrency - CashDiscountAmtInTransacCrcy - CAWhldgTaxForCreditsInPaytCrcy + CADifferenceAmountInClrgProcg AS BankAmount
FROM I_CAPaymentRunHeader
;