I_CAInstallmentPlanHeader

DDL: I_CAINSTALLMENTPLANHEADER SQL: ICAINSTPLNHEADER Type: view BASIC

Installment Plan

Contract Accounting Installment Plan

I_CAInstallmentPlanHeader (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Contract Accounting Installment Plan · Contract Accounting

I_CAInstallmentPlanHeader is a Basic CDS View that provides data about "Installment Plan" in SAP S/4HANA. It reads from 1 data source (fkk_instpln_head) and exposes 41 fields with key field CAInstallmentPlan. It has 12 associations to related views.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Data CategoryDimension
Purpose
This CDS view represents the header data of an installment plan in Contract Accounting . The most important data in the header structure of the installment plan is comprised of the business partner, contract account, installment plan category, start date, and end date. This CDS view provides the prerequisites for answering the following business questions: Which installment plans were created with a special category? How many installment plans are active for a given business partner? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations The SAP_A4C_BC_DEV_TST_FICA_PC ( Development - API Test - Contract Accounting ) business catalog needs to be assigned to a user to be able to use this CDS view.

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture. Corresponding DataSource (Extractor) In SAP Business Warehouse (SAP BW) the 0FC_IPL_HEAD_01 (FI-CA Installment Plan Header Data) DataSource extract the header information.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Provider for Analytical Queries, Data Source for Data Extraction, Analytical Dimension
PackageContract Accounting for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
fkk_instpln_head fkk_instpln_head from

Associations (12)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] I_CAInstallmentPlanCategory _CAInstlmntPlanCat $projection.CAInstallmentPlanCategory = _CAInstlmntPlanCat.CAInstallmentPlanCategory
[0..1] I_CAInstallmentPlanHeader _CAPrdcssrInstlmntPln $projection.CAPredecessorInstallmentPlan = _CAPrdcssrInstlmntPln.CAInstallmentPlan
[0..1] I_CAInstlmntPlanDactvtnRsn _CAInstlmntPlanDactvtnRsn $projection.CAInstlmntPlanDactvtnRsn = _CAInstlmntPlanDactvtnRsn.CAInstlmntPlanDactvtnRsn
[0..1] I_CAProviderContractHeader _ProviderContract $projection.CASubApplication = 'P' and $projection.CAContract = _ProviderContract.CAProviderContract
[0..1] I_CASubApplication _SubApplication $projection.CASubApplication = _SubApplication.CASubApplication
[0..1] I_CAWorkflowCheckReason _WorkflowCheckReason $projection.CAWorkflowCheckReason = _WorkflowCheckReason.CAWorkflowCheckReason
[0..1] I_CAWorkflowCheckProcess _WorkflowCheckProcess $projection.CAWorkflowCheckProcess = _WorkflowCheckProcess.CAWorkflowCheckProcess
[1..1] I_ContractAccountHeader _CAHeader $projection.ContractAccount = _CAHeader.ContractAccount
[1..1] I_ContractAccountPartner _CAPartner $projection.BusinessPartner = _CAPartner.BusinessPartner and $projection.ContractAccount = _CAPartner.ContractAccount
[1..1] I_CompanyCode _CompCode $projection.CompanyCode = _CompCode.CompanyCode
[1..1] I_Currency _Currency $projection.TransactionCurrency = _Currency.Currency

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICAINSTPLNHEADER view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Installment Plan view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey CAInstallmentPlan view
ObjectModel.sapObjectNodeType.name ContrAcctgInstallmentPlan view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #BASIC view

Fields (41)

KeyFieldSource TableSource FieldDescription
KEY CAInstallmentPlan rpnum Installment plan number in Contract A/R & A/P
CAInstallmentPlanCategory rpcat Installment plan category
CAInstlmntPlanDeactivationDate deadt Deactivation Date of Installment Plan
CAInstlmntPlanDeactivationType deman Instalment plan was manually deactivated
CADeactivationOpenAmountInTC deoff Open amount at time of deactivation
TransactionCurrency waers Transaction Currency
CAInstlmntPlanDactvtnRsn deagd Deactivation Reason
CAInstallmentPlanStartDate sttdt Start date of installment plan
CAInstallmentPlanEndDate enddt Installment plan end date
CANumberOfInstallments ninst Number of Installments
ContractAccount vkont Contract Account Number
BusinessPartner gpart Business Partner Number
CAContract vtref Reference Specifications from Contract
CompanyCode bukrs Company Code
CAInstlmntPlanIntrstCalcType dzins Calculate Interest from Original Items
CAIntrstAndChargesAreDistrd gzver Distribute Interest/Charges to all Installments
CAInterestDueCategory faein Interest Document Due
CAInstlmntPlanDactvtnEntryDay dpudt Deact. entered
CAInstlmntPlanDactvtnEntryTime dputm Entry Time Of Installment Plan Deactivation
CAWorkflowCheckReason c4eye Check Reason for Workflows Acc. to Dual Control Principle
CAWorkflowCheckProcess c4eyp Editing Process To Be Confirmed
CASubApplication subap Subapplication in Contract Accounts Receivable and Payable
CANumberOfAddlIntrstInstlmnts anzintrt Number of Additional Interest Installments
CAInterestCalculationStartDate sttin Start date of interest calc. on installment plan (and loans)
CAInstlmntPlnIsChgdByInvoicing invip Installment Plan Status: Installment Plan from Invoicing
CAPredecessorInstallmentPlan orig_rpnum Previous Installment Plan
CAInstlmntPlanGoodwillValue gwval Goodwill Value Determined for the Installment Plan
CAInstallmentPlanIssueDate cpudt Document Entered On (CPU Date)
CAInstallmentPlanIssueTime cputm Time of Entry
_BusinessPartner _BusinessPartner
_CAHeader _CAHeader
_CAInstlmntPlanCat _CAInstlmntPlanCat
_CAInstlmntPlanDactvtnRsn _CAInstlmntPlanDactvtnRsn
_CAPartner _CAPartner
_CAPrdcssrInstlmntPln _CAPrdcssrInstlmntPln
_CompCode _CompCode
_Currency _Currency
_ProviderContract _ProviderContract
_SubApplication _SubApplication
_WorkflowCheckReason _WorkflowCheckReason
_WorkflowCheckProcess _WorkflowCheckProcess

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 I_CAInstallmentPlanHeader.
-- 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: ICAINSTPLNHEADER

CREATE VIEW I_CAInstallmentPlanHeader AS
SELECT
  rpnum AS CAInstallmentPlan,
  rpcat AS CAInstallmentPlanCategory,
  deadt AS CAInstlmntPlanDeactivationDate,
  deman AS CAInstlmntPlanDeactivationType,
  deoff AS CADeactivationOpenAmountInTC,
  waers AS TransactionCurrency,
  deagd AS CAInstlmntPlanDactvtnRsn,
  sttdt AS CAInstallmentPlanStartDate,
  enddt AS CAInstallmentPlanEndDate,
  ninst AS CANumberOfInstallments,
  vkont AS ContractAccount,
  gpart AS BusinessPartner,
  vtref AS CAContract,
  bukrs AS CompanyCode,
  dzins AS CAInstlmntPlanIntrstCalcType,
  gzver AS CAIntrstAndChargesAreDistrd,
  faein AS CAInterestDueCategory,
  dpudt AS CAInstlmntPlanDactvtnEntryDay,
  dputm AS CAInstlmntPlanDactvtnEntryTime,
  c4eye AS CAWorkflowCheckReason,
  c4eyp AS CAWorkflowCheckProcess,
  subap AS CASubApplication,
  anzintrt AS CANumberOfAddlIntrstInstlmnts,
  sttin AS CAInterestCalculationStartDate,
  invip AS CAInstlmntPlnIsChgdByInvoicing,
  orig_rpnum AS CAPredecessorInstallmentPlan,
  gwval AS CAInstlmntPlanGoodwillValue,
  cpudt AS CAInstallmentPlanIssueDate,
  cputm AS CAInstallmentPlanIssueTime
FROM fkk_instpln_head
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_CAInstallmentPlanCategory AS _CAInstlmntPlanCat ON CAInstallmentPlanCategory = _CAInstlmntPlanCat.CAInstallmentPlanCategory  -- association [1..1]
LEFT OUTER JOIN I_CAInstallmentPlanHeader AS _CAPrdcssrInstlmntPln ON CAPredecessorInstallmentPlan = _CAPrdcssrInstlmntPln.CAInstallmentPlan  -- association [0..1]
LEFT OUTER JOIN I_CAInstlmntPlanDactvtnRsn AS _CAInstlmntPlanDactvtnRsn ON CAInstlmntPlanDactvtnRsn = _CAInstlmntPlanDactvtnRsn.CAInstlmntPlanDactvtnRsn  -- association [0..1]
LEFT OUTER JOIN I_CAProviderContractHeader AS _ProviderContract ON CASubApplication = 'P' AND CAContract = _ProviderContract.CAProviderContract  -- association [0..1]
LEFT OUTER JOIN I_CASubApplication AS _SubApplication ON CASubApplication = _SubApplication.CASubApplication  -- association [0..1]
LEFT OUTER JOIN I_CAWorkflowCheckReason AS _WorkflowCheckReason ON CAWorkflowCheckReason = _WorkflowCheckReason.CAWorkflowCheckReason  -- association [0..1]
LEFT OUTER JOIN I_CAWorkflowCheckProcess AS _WorkflowCheckProcess ON CAWorkflowCheckProcess = _WorkflowCheckProcess.CAWorkflowCheckProcess  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _CAHeader ON ContractAccount = _CAHeader.ContractAccount  -- association [1..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _CAPartner ON BusinessPartner = _CAPartner.BusinessPartner AND ContractAccount = _CAPartner.ContractAccount  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON CompanyCode = _CompCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency  -- association [1..1]
;