P_CAScrtyDepCalInterestAmt

DDL: P_CASCRTYDEPCALINTERESTAMT SQL: PCALDEPINTAMT Type: view COMPOSITE Package: ODATA_O2C_FICA_SCRTY_DEP_MNG

Calculate Interest Amount

P_CAScrtyDepCalInterestAmt is a Composite CDS View that provides data about "Calculate Interest Amount" in SAP S/4HANA. It reads from 2 data sources (P_CASecInterestDocument, I_CACashSecurityDepositRequest) and exposes 3 fields with key field CASecurityDeposit. Part of development package ODATA_O2C_FICA_SCRTY_DEP_MNG.

Data Sources (2)

SourceAliasJoin Type
P_CASecInterestDocument InterestDoc inner
I_CACashSecurityDepositRequest SecReq from

Annotations (7)

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

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CASecurityDeposit I_CACashSecurityDepositRequest CASecurityDeposit XSRF
CAInterestAmtInPaymentCurrency
PaymentCurrency P_CASecInterestDocument Currency Valuation Crcy

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_CAScrtyDepCalInterestAmt.
-- 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: PCALDEPINTAMT

CREATE VIEW P_CAScrtyDepCalInterestAmt AS
SELECT
  SecReq.CASecurityDeposit AS CASecurityDeposit,
  sum(InterestDoc.CAInterestAmountInTransCrcy) AS CAInterestAmtInPaymentCurrency,
  InterestDoc.Currency AS PaymentCurrency
FROM I_CACashSecurityDepositRequest AS SecReq
INNER JOIN P_CASecInterestDocument AS InterestDoc ON /* join condition not captured in parsed metadata */
;