C_CAInstallmentPlanAnalysis

DDL: C_CAINSTALLMENTPLANANALYSIS Type: view_entity CONSUMPTION Package: ODATA_O2C_FICA_INSTPLAN_ANA

Analyze Installment Plans Version 2

C_CAInstallmentPlanAnalysis is a Consumption CDS View that provides data about "Analyze Installment Plans Version 2" in SAP S/4HANA. It reads from 2 data sources (P_CAInstallmentPlanDocBPItem, I_CAInstallmentPlanAnalysis) and exposes 5 fields. It has 18 associations to related views. It is exposed through 2 OData services (ASQL_F2363A, UI_CAINSTLMNTPLN_ANALYSIS). It is used in 1 Fiori application: Analyze Installment Plans (Version 2). Part of development package ODATA_O2C_FICA_INSTPLAN_ANA.

Data Sources (2)

SourceAliasJoin Type
P_CAInstallmentPlanDocBPItem _DocBPItem inner
I_CAInstallmentPlanAnalysis I_CAInstallmentPlanAnalysis from

Parameters (1)

NameTypeDefault
P_DisplayCurrency waers_kk

Associations (18)

CardinalityTargetAliasCondition
[1..1] I_CAContractPartner _CAContractPartner $projection.BusinessPartner = _CAContractPartner.BusinessPartner
[0..1] I_Address_2 _AddressDefaultRepresentation $projection.AddressID = _AddressDefaultRepresentation.AddressID and _AddressDefaultRepresentation.AddressRepresentationCode = ''
[0..1] I_ContractAccountPartner _ContractAccountPartner $projection.BusinessPartner = _ContractAccountPartner.BusinessPartner and $projection.ContractAccount = _ContractAccountPartner.ContractAccount
[1..1] I_CALastWorklistItem _LastWorkItem $projection.BusinessPartner = _LastWorkItem.BusinessPartner
[0..1] I_CalendarDate _CalendarStartDate $projection.CAInstallmentPlanStartDate = _CalendarStartDate.CalendarDate
[0..1] I_CalendarDate _CalendarEndDate $projection.CAInstallmentPlanEndDate = _CalendarEndDate.CalendarDate
[0..1] I_CalendarDate _CalendarNetDueDate $projection.CANetDueDate = _CalendarNetDueDate.CalendarDate
[0..1] I_CalendarDate _CalendarIssueDate $projection.CAInstallmentPlanIssueDate = _CalendarIssueDate.CalendarDate
[1..1] I_CompanyCode _CompCode $projection.CompanyCode = _CompCode.CompanyCode
[0..1] I_ContractAccountCategoryText _ContractAccountCategoryText $projection.ContractAccountCategory = _ContractAccountCategoryText.ContractAccountCategory
[0..1] I_CAInstallmentPlanCategoryT _CategoryText $projection.CAInstallmentPlanCategory = _CategoryText.CAInstallmentPlanCategory
[0..1] I_CAInstallmentPlanStatusText _StatusText $projection.CAInstallmentPlanStatus = _StatusText.CAInstallmentPlanStatus
[0..1] I_CAInstlmntPlanDactvtnRsnT _DeactivationReasonText $projection.CAInstlmntPlanDactvtnRsn = _DeactivationReasonText.CAInstlmntPlanDactvtnRsn
[0..1] I_CAClearingStatusText _CAClearingStatusText $projection.CAClearingStatus = _CAClearingStatusText.CAClearingStatus
[0..1] I_CASubApplicationText _CASubApplicationText $projection.CASubApplication = _CASubApplicationText.CASubApplication
[1..1] I_ContractAccountHeader _ContractAccountHeader $projection.ContractAccount = _ContractAccountHeader.ContractAccount
[0..1] I_CAProviderContractHeader _ProviderContract $projection.CASubApplication = 'P' and $projection.CAContract = _ProviderContract.CAProviderContract
[0..1] I_CASubApplication _CASubApplication $projection.CASubApplication = _CASubApplication.CASubApplication

Annotations (10)

NameValueLevelField
EndUserText.label Analyze Installment Plans Version 2 view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
Metadata.ignorePropagatedAnnotations true view
OData.entitySet.name C_CAInstallmentPlanAnalysis view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F2363A ASQL_F2363A C2 NOT_RELEASED
UI_CAINSTLMNTPLN_ANALYSIS UI_CAINSTLMNTPLN_ANALYSIS V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F2363A Analyze Installment Plans (Version 2) Transactional, Analytical With this SAP Fiori app, you can display the amount and number of installment plans created in Contract Accounts Receivable and Payable (FI-CA). You can total or filter the amount and number by various criteria.

Analyze Installment Plans (Version 2)

Business Role: Accounts Payable and Receivable Manager (FI-CA)

The Analyze Installment Plans (F2363) app is replaced with a new improved app version (F2363A) that offers extended analytical capabilities. For example, you can now combine all dimensions for the analysis. With the app, you can display the number of installment plans that have been created and the total amount that has been paid into the original receivables in the installment plans.

Fields (5)

KeyFieldSource TableSource FieldDescription
CANetDueDate
CAInstallmentDaysInArrears1 Days In Arrears (5 Days Grid)
CAInstallmentDaysInArrears1 Days In Arrears (10 Days Grid)
CAInstallmentDaysInArrears1 Days In Arrears (30 Days Grid)
CAInstallmentDaysInArrears1 Days In Arrears (60 Days Grid)

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 C_CAInstallmentPlanAnalysis.
-- 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.
-- Parameters: P_DisplayCurrency : waers_kk

CREATE VIEW C_CAInstallmentPlanAnalysis AS
SELECT
  360)*12 as CAInstlmntPlnTerm12MonthGrid, _Header.CAInstallmentPlanIssueDate, _CalendarIssueDate.CalendarWeek as CAInstlmntPlnIssDateWeek, _CalendarIssueDate.CalendarMonth as CAInstlmntPlnIssDateMonth, _CalendarIssueDate._CalendarMonth._Text[ 1:Language=$session.system_language ].CalendarMonthName as CAInstlmntPlnIssDateMonthName, _CalendarIssueDate.CalendarQuarter as CAInstlmntPlnIssDateQuarter, _CalendarIssueDate.CalendarYear as CAInstlmntPlnIssDateYear, _DocBPItem.CANetDueDate, _CalendarNetDueDate.CalendarWeek as CANetDueDateWeek, _CalendarNetDueDate.CalendarMonth as CANetDueDateMonth, _CalendarNetDueDate._CalendarMonth._Text[ 1:Language=$session.system_language ].CalendarMonthName as CANetDueDateMonthName, _CalendarNetDueDate.CalendarQuarter as CANetDueDateQuarter, _CalendarNetDueDate.CalendarYear as CANetDueDateYear, _DocBPItem.CAClearingStatus, case when _DocBPItem.CANetDueDate < $session.system_date then dats_days_between(_DocBPItem.CANetDueDate AS CANetDueDate,
  $session.system_date) else 0 end as CAInstallmentDaysInArrears, div(CAInstallmentDaysInArrears-1 AS CAInstallmentDaysInArrears1
FROM I_CAInstallmentPlanAnalysis
INNER JOIN P_CAInstallmentPlanDocBPItem AS _DocBPItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CAContractPartner AS _CAContractPartner ON BusinessPartner = _CAContractPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_Address_2 AS _AddressDefaultRepresentation ON AddressID = _AddressDefaultRepresentation.AddressID AND _AddressDefaultRepresentation.AddressRepresentationCode = ''  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccountPartner ON BusinessPartner = _ContractAccountPartner.BusinessPartner AND ContractAccount = _ContractAccountPartner.ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_CALastWorklistItem AS _LastWorkItem ON BusinessPartner = _LastWorkItem.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _CalendarStartDate ON CAInstallmentPlanStartDate = _CalendarStartDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _CalendarEndDate ON CAInstallmentPlanEndDate = _CalendarEndDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _CalendarNetDueDate ON CANetDueDate = _CalendarNetDueDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _CalendarIssueDate ON CAInstallmentPlanIssueDate = _CalendarIssueDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON CompanyCode = _CompCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_ContractAccountCategoryText AS _ContractAccountCategoryText ON ContractAccountCategory = _ContractAccountCategoryText.ContractAccountCategory  -- association [0..1]
LEFT OUTER JOIN I_CAInstallmentPlanCategoryT AS _CategoryText ON CAInstallmentPlanCategory = _CategoryText.CAInstallmentPlanCategory  -- association [0..1]
LEFT OUTER JOIN I_CAInstallmentPlanStatusText AS _StatusText ON CAInstallmentPlanStatus = _StatusText.CAInstallmentPlanStatus  -- association [0..1]
LEFT OUTER JOIN I_CAInstlmntPlanDactvtnRsnT AS _DeactivationReasonText ON CAInstlmntPlanDactvtnRsn = _DeactivationReasonText.CAInstlmntPlanDactvtnRsn  -- association [0..1]
LEFT OUTER JOIN I_CAClearingStatusText AS _CAClearingStatusText ON CAClearingStatus = _CAClearingStatusText.CAClearingStatus  -- association [0..1]
LEFT OUTER JOIN I_CASubApplicationText AS _CASubApplicationText ON CASubApplication = _CASubApplicationText.CASubApplication  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccountHeader ON ContractAccount = _ContractAccountHeader.ContractAccount  -- association [1..1]
LEFT OUTER JOIN I_CAProviderContractHeader AS _ProviderContract ON CASubApplication = 'P' AND CAContract = _ProviderContract.CAProviderContract  -- association [0..1]
LEFT OUTER JOIN I_CASubApplication AS _CASubApplication ON CASubApplication = _CASubApplication.CASubApplication  -- association [0..1]
;