I_CAInstallmentPlanItem

DDL: I_CAINSTALLMENTPLANITEM Type: view_entity BASIC Package: FKK_INST_PLAN

Installment Plan Item

I_CAInstallmentPlanItem (Basic)

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

ContrAcctgInstallmentPlanItem · Contract Accounting

I_CAInstallmentPlanItem is a Basic CDS View (Fact) 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 CAInstallmentPlan, CADocumentNumber, CARepetitionItemNumber, CABPItemNumber, CASubItemNumber. It has 4 associations to related views. Part of development package FKK_INST_PLAN.

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

CategoryBasic
StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-2CL
CapabilitiesData Source for Data Extraction,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities,Data Source in SQL Select
Extensible (Key User)Yes
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageContract Accounting for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view represents the item data of an installment plan in Contract Accounting.</p> <p>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.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which document business partner items belong to a given installment plan?</p></li> <li><p>How many installment plan items were created with an amount greater than 100,-?</p></li> </ul> <p>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.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
fkk_instpln_hist fkk_instpln_hist from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_CADocumentBPItem _CADocumentBPItem $projection.CADocumentNumber = _CADocumentBPItem.CADocumentNumber and $projection.CARepetitionItemNumber = _CADocumentBPItem.CARepetitionItemNumber and $projection.CABPItemNumber = _CADocumentBPItem.CABPItemNumber and $projection.CASubItemNumber = _CADocumentBPItem.CASubItemNumber
[1..1] I_CAInstallmentPlanHeader _CAInstallmentPlan $projection.CAInstallmentPlan = _CAInstallmentPlan.CAInstallmentPlan
[1..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[1..1] E_CAInstallmentPlanItem _Extension $projection.CAInstallmentPlan = _Extension.CAInstallmentPlan and $projection.CADocumentNumber = _Extension.CADocumentNumber and $projection.CARepetitionItemNumber = _Extension.CARepetitionItemNumber and $projection.CABPItemNumber = _Extension.CABPItemNumber and $projection.CASubItemNumber = _Extension.CASubItemNumber

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Installment Plan Item view
Analytics.dataCategory #FACT view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.sapObjectNodeType.name ContrAcctgInstallmentPlanItem 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 CAInstallmentPlan rpnum Installment Plan Number in Contract A/R & A/P
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
TransactionCurrency waers Transaction Currency
CACreationOpenAmountInTC betro Open Amount on Creation of Installment Plan
CAInstlmntPlnItmDocOriginType histyp Document Type Included in Installment Plan History
CAOriglDocItmClrgPriorityValue augnr Clearing Priority of Original Items of Installment Plan
_CADocumentBPItem _CADocumentBPItem
_CAInstallmentPlan _CAInstallmentPlan
_TransactionCurrency _TransactionCurrency

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.

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