I_CAInstallmentPlanItem

DDL: I_CAINSTALLMENTPLANITEM SQL: ICAINSTPLNITEM Type: view BASIC

Installment Plan Item

I_CAInstallmentPlanItem (Basic)

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

ContrAcctgInstallmentPlanItem · Contract Accounting

I_CAInstallmentPlanItem is a Basic CDS View that provides data about "Installment Plan Item" in SAP S/4HANA. It reads from 1 data source (fkk_instpln_hist) and exposes 12 fields with key fields CADocumentNumber, CARepetitionItemNumber, CABPItemNumber, CASubItemNumber, CAInstallmentPlan. It has 3 associations to related views.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Data CategoryFact
Purpose
This CDS view represents the item data of an installment plan in Contract Accounting . The most important data in the item structure of the installment plan is comprised of the document business partner item and the amount with currency. This CDS view provides the prerequisites for answering the following business questions: Which document business partner items belong to a given installment plan? How many installment plan items were created with an amount greater than 100,-? 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 following DataSources extract the information: 0FC_IPL_ITEM_01 (FI-CA Installment Plan Items) 0FC_IPL_ORIG_01 (FI-CA Installment Plan Original Items)

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 Source for Data Extraction
PackageContract Accounting for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
fkk_instpln_hist fkk_instpln_hist from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Currency _Currency $projection.TransactionCurrency = _Currency.Currency
[1..1] I_CADocumentBPItemLogical _DocBPItem $projection.CADocumentNumber = _DocBPItem.CADocumentNumber and $projection.CARepetitionItemNumber = _DocBPItem.CARepetitionItemNumber and $projection.CABPItemNumber = _DocBPItem.CABPItemNumber and $projection.CASubItemNumber = _DocBPItem.CASubItemNumber
[1..1] I_CAInstallmentPlanHeader _CAInstallmentPlan $projection.CAInstallmentPlan = _CAInstallmentPlan.CAInstallmentPlan

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ICAINSTPLNITEM view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Installment Plan Item view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #BASIC view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber opbel Number of a FI-CA Document
KEY CARepetitionItemNumber opupw Repetition Item in FI-CA Document
KEY CABPItemNumber opupk Item Number in FI-CA Document
KEY CASubItemNumber opupz Subitem for a Partial Clearing in Document
KEY CAInstallmentPlan rpnum Installment plan number in Contract A/R & A/P
TransactionCurrency waers Transaction Currency
CACreationOpenAmountInTC betro Open Amount on Creation of Installment Plan
CATypeOfOriginDocument histyp Doc. Type of RPHIST
CAOriglDocItmClrgPriorityValue augnr Clearing Priority of Original Items of Installment Plan
_Currency _Currency
_DocBPItem _DocBPItem
_CAInstallmentPlan _CAInstallmentPlan

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_CAInstallmentPlanItem.
-- 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: ICAINSTPLNITEM

CREATE VIEW I_CAInstallmentPlanItem AS
SELECT
  opbel AS CADocumentNumber,
  opupw AS CARepetitionItemNumber,
  opupk AS CABPItemNumber,
  opupz AS CASubItemNumber,
  rpnum AS CAInstallmentPlan,
  waers AS TransactionCurrency,
  betro AS CACreationOpenAmountInTC,
  histyp AS CATypeOfOriginDocument,
  augnr AS CAOriglDocItmClrgPriorityValue
FROM fkk_instpln_hist
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency  -- association [1..1]
LEFT OUTER JOIN I_CADocumentBPItemLogical AS _DocBPItem ON CADocumentNumber = _DocBPItem.CADocumentNumber AND CARepetitionItemNumber = _DocBPItem.CARepetitionItemNumber AND CABPItemNumber = _DocBPItem.CABPItemNumber AND CASubItemNumber = _DocBPItem.CASubItemNumber  -- association [1..1]
LEFT OUTER JOIN I_CAInstallmentPlanHeader AS _CAInstallmentPlan ON CAInstallmentPlan = _CAInstallmentPlan.CAInstallmentPlan  -- association [1..1]
;