C_CAPaymentListGroup

DDL: C_CAPAYMENTLISTGROUP SQL: CCAPAYLISTGROUP Type: view CONSUMPTION

Payment Group

C_CAPaymentListGroup is a Consumption CDS View that provides data about "Payment Group" in SAP S/4HANA. It reads from 1 data source (P_CAPaymentListGroup) and exposes 24 fields with key fields CAMassRunDate, CAMassRunID, CAInternalPaymentGroup, TransactionCurrency. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_CAPaymentListGroup P_CAPaymentListGroup from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_CAPaymentMethod _CAPaymentMethod $projection.CAPaymentMethod = _CAPaymentMethod.CAPaymentMethod and $projection.CompanyCodeCountry = _CAPaymentMethod.Country
[0..*] C_CAPaytListGrpPayment _CAPaytListGrpPayment $projection.CAMassRunDate = _CAPaytListGrpPayment.CAMassRunDate and $projection.CAMassRunID = _CAPaytListGrpPayment.CAMassRunID and $projection.CAInternalPaymentGroup = _CAPaytListGrpPayment.CAInternalPaymentGroup and $projection.TransactionCurrency = _CAPaytListGrpPayment.TransactionCurrency
[0..*] C_CAPaytListGrpRepaymentReq _CAPaytListGrpRepaymentReq $projection.CAMassRunDate = _CAPaytListGrpRepaymentReq.CAMassRunDate and $projection.CAMassRunID = _CAPaytListGrpRepaymentReq.CAMassRunID and $projection.CAInternalPaymentGroup = _CAPaytListGrpRepaymentReq.CAInternalPaymentGroup and $projection.TransactionCurrency = _CAPaytListGrpRepaymentReq.TransactionCurrency
[0..*] C_CAPaytListGrpPaymentOrder _CAPaytListGrpPaymentOrder $projection.CAMassRunDate = _CAPaytListGrpPaymentOrder.CAMassRunDate and $projection.CAMassRunID = _CAPaytListGrpPaymentOrder.CAMassRunID and $projection.CAInternalPaymentGroup = _CAPaytListGrpPaymentOrder.CAInternalPaymentGroup and $projection.TransactionCurrency = _CAPaytListGrpPaymentOrder.TransactionCurrency

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CCAPAYLISTGROUP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Payment Group view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
UI.headerInfo.typeName Payment Group view
UI.headerInfo.typeNamePlural Payment Groups view
UI.headerInfo.title.value CAInternalPaymentGroup view
UI.presentationVariant.sortOrder.by CAInternalPaymentGroup view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY CAMassRunDate CAMassRunDate Date ID
KEY CAMassRunID CAMassRunID Run ID
KEY CAInternalPaymentGroup CAInternalPaymentGroup Group
KEY TransactionCurrency TransactionCurrency Transaction Currency
CAPaymentMediumFormat CAPaymentMediumFormat Payment Medium Format
CAPaymentMediumFormatName CAPaymentMediumFormatName
CAPaymentCompanyCode CAPaymentCompanyCode Paying Company Code
CAPaymentCompanyCodeName CAPaymentCompanyCodeName Company Name
HouseBank HouseBank House Bank
HouseBankName HouseBankName
HouseBankAccount HouseBankAccount House Bank Account
HouseBankAccountDescription HouseBankAccountDescription
CompanyCodeCountry CompanyCodeCountry Reporting Ctry/Reg.
CAPaymentMethod CAPaymentMethod Payment Method
CAPaymentMethodName
NumberOfCreatedPayments NumberOfPayments Payments Created
NumberOfPaymentsInFile NumberOfPaymentsInFile Payments in File
BankAmountInTransactionCrcy BankAmountByGroup Amount
NumberOfPayments NumberOfPaymentsByGroup Payments
NumberOfRepaymentRequests NumberOfRepaymentReqByGroup Repayment Requests
NumberOfPaymentOrders NumberOfPaymentOrdersByGroup Payment Orders
_CAPaytListGrpPayment _CAPaytListGrpPayment
_CAPaytListGrpRepaymentReq _CAPaytListGrpRepaymentReq
_CAPaytListGrpPaymentOrder _CAPaytListGrpPaymentOrder

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_CAPaymentListGroup.
-- 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.
-- SQL view name: CCAPAYLISTGROUP

CREATE VIEW C_CAPaymentListGroup AS
SELECT
  CAMassRunDate,
  CAMassRunID,
  CAInternalPaymentGroup,
  TransactionCurrency,
  CAPaymentMediumFormat,
  CAPaymentMediumFormatName,
  CAPaymentCompanyCode,
  CAPaymentCompanyCodeName,
  HouseBank,
  HouseBankName,
  HouseBankAccount,
  HouseBankAccountDescription,
  CompanyCodeCountry,
  CAPaymentMethod,
  _CAPaymentMethod._Text[1: Language=$session.system_language].CAPaymentMethodName AS CAPaymentMethodName,
  NumberOfPayments AS NumberOfCreatedPayments,
  NumberOfPaymentsInFile,
  BankAmountByGroup AS BankAmountInTransactionCrcy,
  NumberOfPaymentsByGroup AS NumberOfPayments,
  NumberOfRepaymentReqByGroup AS NumberOfRepaymentRequests,
  NumberOfPaymentOrdersByGroup AS NumberOfPaymentOrders
FROM P_CAPaymentListGroup
LEFT OUTER JOIN I_CAPaymentMethod AS _CAPaymentMethod ON CAPaymentMethod = _CAPaymentMethod.CAPaymentMethod AND CompanyCodeCountry = _CAPaymentMethod.Country  -- association [0..1]
LEFT OUTER JOIN C_CAPaytListGrpPayment AS _CAPaytListGrpPayment ON CAMassRunDate = _CAPaytListGrpPayment.CAMassRunDate AND CAMassRunID = _CAPaytListGrpPayment.CAMassRunID AND CAInternalPaymentGroup = _CAPaytListGrpPayment.CAInternalPaymentGroup AND TransactionCurrency = _CAPaytListGrpPayment.TransactionCurrency  -- association [0..*]
LEFT OUTER JOIN C_CAPaytListGrpRepaymentReq AS _CAPaytListGrpRepaymentReq ON CAMassRunDate = _CAPaytListGrpRepaymentReq.CAMassRunDate AND CAMassRunID = _CAPaytListGrpRepaymentReq.CAMassRunID AND CAInternalPaymentGroup = _CAPaytListGrpRepaymentReq.CAInternalPaymentGroup AND TransactionCurrency = _CAPaytListGrpRepaymentReq.TransactionCurrency  -- association [0..*]
LEFT OUTER JOIN C_CAPaytListGrpPaymentOrder AS _CAPaytListGrpPaymentOrder ON CAMassRunDate = _CAPaytListGrpPaymentOrder.CAMassRunDate AND CAMassRunID = _CAPaytListGrpPaymentOrder.CAMassRunID AND CAInternalPaymentGroup = _CAPaytListGrpPaymentOrder.CAInternalPaymentGroup AND TransactionCurrency = _CAPaytListGrpPaymentOrder.TransactionCurrency  -- association [0..*]
;