P_CAPaymentListGroupPre2

DDL: P_CAPAYMENTLISTGROUPPRE2 SQL: PCAPAYLISTGRPCC Type: view CONSUMPTION

P_CAPaymentListGroupPre2 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_CAPaymentListGroupPre) and exposes 17 fields with key fields CAMassRunDate, CAMassRunID, CAInternalPaymentGroup. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_CAPaymentListGroupPre P_CAPaymentListGroupPre from

Associations (1)

CardinalityTargetAliasCondition
[0..*] P_CAPaymentGroupPre _CAPaymentGroupPre $projection.CAMassRunDate = _CAPaymentGroupPre.CAMassRunDate and $projection.CAMassRunID = _CAPaymentGroupPre.CAMassRunID and $projection.CAInternalPaymentGroup = _CAPaymentGroupPre.CAInternalPaymentGroup and $projection.TransactionCurrency = _CAPaymentGroupPre.TransactionCurrency

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PCAPAYLISTGRPCC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY CAMassRunDate CAMassRunDate Date ID
KEY CAMassRunID CAMassRunID Run ID
KEY CAInternalPaymentGroup CAInternalPaymentGroup
CAInternalPaymentGroupName CAInternalPaymentGroupName
CAPaymentMediumFormat CAPaymentMediumFormat
CAPaymentMediumFormatName CAPaymentMediumFormatName
CAPaymentCompanyCode _CAPaymentGroupPre CAPaymentCompanyCode Paying Co. Code
HouseBank HouseBank House Bank
HouseBankAccount HouseBankAccount House Bank Account
CAPaymentMethod CAPaymentMethod Payment Method
NumberOfPayments NumberOfPayments
NumberOfPaymentsInFile NumberOfPaymentsInFile
TransactionCurrency TransactionCurrency Transaction Currency
BankAmountByGroup BankAmountByGroup
NumberOfPaymentsByGroup NumberOfPaymentsByGroup
NumberOfRepaymentReqByGroup NumberOfRepaymentReqByGroup
NumberOfPaymentOrdersByGroup NumberOfPaymentOrdersByGroup

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_CAPaymentListGroupPre2.
-- 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: PCAPAYLISTGRPCC

CREATE VIEW P_CAPaymentListGroupPre2 AS
SELECT
  CAMassRunDate,
  CAMassRunID,
  CAInternalPaymentGroup,
  CAInternalPaymentGroupName,
  CAPaymentMediumFormat,
  CAPaymentMediumFormatName,
  _CAPaymentGroupPre.CAPaymentCompanyCode AS CAPaymentCompanyCode,
  HouseBank,
  HouseBankAccount,
  CAPaymentMethod,
  NumberOfPayments,
  NumberOfPaymentsInFile,
  TransactionCurrency,
  BankAmountByGroup,
  NumberOfPaymentsByGroup,
  NumberOfRepaymentReqByGroup,
  NumberOfPaymentOrdersByGroup
FROM P_CAPaymentListGroupPre
LEFT OUTER JOIN P_CAPaymentGroupPre AS _CAPaymentGroupPre ON CAMassRunDate = _CAPaymentGroupPre.CAMassRunDate AND CAMassRunID = _CAPaymentGroupPre.CAMassRunID AND CAInternalPaymentGroup = _CAPaymentGroupPre.CAInternalPaymentGroup AND TransactionCurrency = _CAPaymentGroupPre.TransactionCurrency  -- association [0..*]
;