P_LoanRDMPerContr

DDL: P_LOANRDMPERCONTR Type: view COMPOSITE

P_LoanRDMPerContr is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_LoanContrReturnDebitMemo) and exposes 4 fields with key fields CompanyCode, LoanArchivingCategory, LoanContractID.

Data Sources (1)

SourceAliasJoin Type
I_LoanContrReturnDebitMemo _LoanContrReturnDebitMemo from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PLOANRDMPERCONTR 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 CompanyCode I_LoanContrReturnDebitMemo CompanyCode Receiver Company Code
KEY LoanArchivingCategory I_LoanContrReturnDebitMemo LoanArchivingCategory Archiving Cat.
KEY LoanContractID I_LoanContrReturnDebitMemo LoanContractID Treasury ID No.
NumberOfReturnDebitMemo

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_LoanRDMPerContr.
-- 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_LoanRDMPerContr AS
SELECT
  _LoanContrReturnDebitMemo.CompanyCode AS CompanyCode,
  _LoanContrReturnDebitMemo.LoanArchivingCategory AS LoanArchivingCategory,
  _LoanContrReturnDebitMemo.LoanContractID AS LoanContractID,
  count(*) AS NumberOfReturnDebitMemo
FROM I_LoanContrReturnDebitMemo AS _LoanContrReturnDebitMemo
;