P_BPIntrstOnArrears

DDL: P_BPINTRSTONARREARS Type: view COMPOSITE Package: FVVD_VDM

Interest on Arrears data for Business Partner

P_BPIntrstOnArrears is a Composite CDS View that provides data about "Interest on Arrears data for Business Partner" in SAP S/4HANA. It reads from 1 data source (P_LoanContrBusOpCalc) and exposes 4 fields with key field BusinessPartner. Part of development package FVVD_VDM.

Data Sources (1)

SourceAliasJoin Type
P_LoanContrBusOpCalc _LoanContrBusOpCalc from

Annotations (7)

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

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner P_LoanContrBusOpCalc BusinessPartner Issuing Authority
NumberOfInterestOnArrears
IntrstOnArrearsWgtdAvgRatio
IntrstOnArrearsWgtdRatio

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_BPIntrstOnArrears.
-- 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_BPIntrstOnArrears AS
SELECT
  _LoanContrBusOpCalc.BusinessPartner AS BusinessPartner,
  count(*) AS NumberOfInterestOnArrears,
  avg(_LoanContrBusOpCalc.BusOpWgtdRatio as abap.dec(19 , 6)) AS IntrstOnArrearsWgtdAvgRatio,
  sum(_LoanContrBusOpCalc.BusOpWgtdRatio) AS IntrstOnArrearsWgtdRatio
FROM P_LoanContrBusOpCalc AS _LoanContrBusOpCalc
;