I_LoanContrPayoffWthDflt
Payoff data for Loan Contract with defaulting
I_LoanContrPayoffWthDflt is a Composite CDS View that provides data about "Payoff data for Loan Contract with defaulting" in SAP S/4HANA. It reads from 2 data sources (I_CompanyCode, P_LoanContrPayoff) and exposes 6 fields with key fields CompanyCode, LoanContractID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | _CompanyCode | left_outer |
| P_LoanContrPayoff | _LoanContrPayoff | left_outer |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILCPAYOFFWTDEF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.serviceQuality | C | view | |
| ObjectModel.usageType.sizeCategory | XL | view | |
| ObjectModel.usageType.dataClass | MASTER | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | false | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Payoff data for Loan Contract with defaulting | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | _LoanContrBP | CompanyCode | |
| KEY | LoanContractID | _LoanContrBP | LoanContractID | |
| NumberOfPayoff1endasNumberOfPayoff | ||||
| dec196endasPayoffWeightedAverageRatio | ||||
| dec196endasPayoffWeightedRatio | ||||
| _CompanyCode | _CompanyCode |
@AbapCatalog:
{
sqlViewName: 'ILCPAYOFFWTDEF',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl:
{
authorizationCheck: #CHECK,
personalData.blocking: #BLOCKED_DATA_EXCLUDED
}
@ObjectModel.usageType:
{
serviceQuality: 'C',
sizeCategory: 'XL',
dataClass:'MASTER'
}
@VDM:
{
viewType: #COMPOSITE,
private: false
}
@ClientHandling.algorithm : #SESSION_VARIABLE
@EndUserText.label: 'Payoff data for Loan Contract with defaulting'
define view I_LoanContrPayoffWthDflt
as select distinct from I_LoanContrData as _LoanContrBP
left outer join P_LoanContrPayoff as _LoanContrPayoff on _LoanContrPayoff.CompanyCode = _LoanContrBP.CompanyCode
and _LoanContrPayoff.LoanArchivingCategory = _LoanContrBP.LoanArchivingCategory
and _LoanContrPayoff.LoanContractID = _LoanContrBP.LoanContractID
left outer join I_CompanyCode as _CompanyCode on _CompanyCode.CompanyCode = _LoanContrBP.CompanyCode
{
@ObjectModel.foreignKey.association: '_CompanyCode'
key _LoanContrBP.CompanyCode,
key _LoanContrBP.LoanContractID,
case
when _LoanContrPayoff.NumberOfPayoff is null then 1
else
_LoanContrPayoff.NumberOfPayoff + 1
end as NumberOfPayoff,
case
when _LoanContrPayoff.PayoffWeightedAverageRatio is null then fltp_to_dec(0.00001 as abap.dec(19,6))
else
_LoanContrPayoff.PayoffWeightedAverageRatio + fltp_to_dec(0.00001 as abap.dec(19,6))
end as PayoffWeightedAverageRatio,
case
when _LoanContrPayoff.PayoffWeightedRatio is null then fltp_to_dec(0.00001 as abap.dec(19,6))
else
_LoanContrPayoff.PayoffWeightedRatio + fltp_to_dec(0.00001 as abap.dec(19,6))
end as PayoffWeightedRatio,
_CompanyCode
}
where
_LoanContrBP.LoanArchivingCategory = ' '
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA