R_CAInstallmentPlanTP

DDL: R_CAINSTALLMENTPLANTP Type: view_entity TRANSACTIONAL

Contract Accounting Installment Plan

R_CAInstallmentPlanTP is a Transactional CDS View that provides data about "Contract Accounting Installment Plan" in SAP S/4HANA. It reads from 1 data source (I_CAInstallmentPlanHeader) and exposes 47 fields with key field CAInstallmentPlan. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CAInstallmentPlanHeader I_CAInstallmentPlanHeader from

Associations (6)

CardinalityTargetAliasCondition
[1] I_CAContractType _CAContractType $projection.CASubApplication = _CAContractType.CASubApplication
[1] I_CAInstallmentPlanAmounts _CAInstallmentPlanAmounts $projection.CAInstallmentPlan = _CAInstallmentPlanAmounts.CAInstallmentPlan
[1] I_CAInstallmentPlanStatus _CAInstallmentPlanStatus $projection.CAInstallmentPlanStatus = _CAInstallmentPlanStatus.CAInstallmentPlanStatus
[1] I_CAInstlmntPlanIntrstCalc _CAInstlmntPlanIntrstCalc $projection.CAInstlmntPlanIntrstCalcType = _CAInstlmntPlanIntrstCalc.CAInstlmntPlanIntrstCalcType
[1] I_CAInterestDueCategory _CAInterestDueCategory $projection.CAInterestDueCategory = _CAInterestDueCategory.CAInterestDueCategory
[1] I_Indicator _CAInstlmntPlnDeactivationType $projection.CAInstlmntPlanDeactivationType = _CAInstlmntPlnDeactivationType.IndicatorValue

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Contract Accounting Installment Plan view
ObjectModel.representativeKey CAInstallmentPlan view
ObjectModel.sapObjectNodeType.name ContrAcctgInstallmentPlan view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (47)

KeyFieldSource TableSource FieldDescription
KEY CAInstallmentPlan CAInstallmentPlan Inst. plan no.
CAInstallmentPlanCategory CAInstallmentPlanCategory IP category
CAInstlmntPlanDeactivationDate CAInstlmntPlanDeactivationDate Deactiv.Date
CAInstlmntPlanDeactivationType CAInstlmntPlanDeactivationType Man.deactivated
CADeactivationOpenAmountInTC CADeactivationOpenAmountInTC DeactOpenAmount
TransactionCurrency TransactionCurrency Transaction Currency
CAInstlmntPlanDactvtnRsn CAInstlmntPlanDactvtnRsn Deactiv. Reason
CAInstallmentPlanStartDate CAInstallmentPlanStartDate Start Date
CAInstallmentPlanEndDate CAInstallmentPlanEndDate IP end date
CANumberOfInstallments CANumberOfInstallments No. of Instmnts
ContractAccount ContractAccount Contract Acct
BusinessPartner BusinessPartner Issuing Authority
CAContract CAContract Contract
CompanyCode CompanyCode Receiver Company Code
CAInstlmntPlanIntrstCalcType CAInstlmntPlanIntrstCalcType Int.fm Orig.Itm
CAIntrstAndChargesAreDistrd CAIntrstAndChargesAreDistrd Distr.interst/chrges
CAInterestDueCategory CAInterestDueCategory Interest Due
CAInstlmntPlanDactvtnEntryDate CAInstlmntPlanDactvtnEntryDate Deact. entered
CAInstlmntPlanDactvtnEntryTime CAInstlmntPlanDactvtnEntryTime Deact. entered
CAWorkflowCheckReason CAWorkflowCheckReason Check Reason
CAWorkflowCheckProcess CAWorkflowCheckProcess Process
CASubApplication CASubApplication Subapplication
CANumberOfAddlIntrstInstlmnts CANumberOfAddlIntrstInstlmnts No. Add. Instmt
CAInterestCalculationStartDate CAInterestCalculationStartDate Int.start date
CAInstlmntPlnIsChgdByInvoicing CAInstlmntPlnIsChgdByInvoicing From Invoicing
CAPredecessorInstallmentPlan CAPredecessorInstallmentPlan Previous Instmt Plan
CAInstlmntPlanGoodwillValue CAInstlmntPlanGoodwillValue Goodwill Value
CAInstallmentPlanIssueDate CAInstallmentPlanIssueDate Imported On
CAInstallmentPlanIssueTime CAInstallmentPlanIssueTime Time
_BusinessPartner _BusinessPartner
_CAInstallmentPlanCategory _CAInstallmentPlanCategory
_CAInstlmntPlanDactvtnRsn _CAInstlmntPlanDactvtnRsn
_CAPredecessorInstallmentPlan _CAPredecessorInstallmentPlan
_CAProviderContract _CAProviderContract
_CASubApplication _CASubApplication
_CAWorkflowCheckProcess _CAWorkflowCheckProcess
_CAWorkflowCheckReason _CAWorkflowCheckReason
_CompanyCode _CompanyCode
_ContractAccount _ContractAccount
_ContractAccountPartner _ContractAccountPartner
_TransactionCurrency _TransactionCurrency
_CAContractType _CAContractType
_CAInstallmentPlanAmounts _CAInstallmentPlanAmounts
_CAInstallmentPlanStatus _CAInstallmentPlanStatus
_CAInstlmntPlanIntrstCalc _CAInstlmntPlanIntrstCalc
_CAInstlmntPlnDeactivationType _CAInstlmntPlnDeactivationType
_CAInterestDueCategory _CAInterestDueCategory

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 R_CAInstallmentPlanTP.
-- 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 R_CAInstallmentPlanTP AS
SELECT
  CAInstallmentPlan,
  CAInstallmentPlanCategory,
  CAInstlmntPlanDeactivationDate,
  CAInstlmntPlanDeactivationType,
  CADeactivationOpenAmountInTC,
  TransactionCurrency,
  CAInstlmntPlanDactvtnRsn,
  CAInstallmentPlanStartDate,
  CAInstallmentPlanEndDate,
  CANumberOfInstallments,
  ContractAccount,
  BusinessPartner,
  CAContract,
  CompanyCode,
  CAInstlmntPlanIntrstCalcType,
  CAIntrstAndChargesAreDistrd,
  CAInterestDueCategory,
  CAInstlmntPlanDactvtnEntryDate,
  CAInstlmntPlanDactvtnEntryTime,
  CAWorkflowCheckReason,
  CAWorkflowCheckProcess,
  CASubApplication,
  CANumberOfAddlIntrstInstlmnts,
  CAInterestCalculationStartDate,
  CAInstlmntPlnIsChgdByInvoicing,
  CAPredecessorInstallmentPlan,
  CAInstlmntPlanGoodwillValue,
  CAInstallmentPlanIssueDate,
  CAInstallmentPlanIssueTime
FROM I_CAInstallmentPlanHeader
LEFT OUTER JOIN I_CAContractType AS _CAContractType ON CASubApplication = _CAContractType.CASubApplication  -- association [1]
LEFT OUTER JOIN I_CAInstallmentPlanAmounts AS _CAInstallmentPlanAmounts ON CAInstallmentPlan = _CAInstallmentPlanAmounts.CAInstallmentPlan  -- association [1]
LEFT OUTER JOIN I_CAInstallmentPlanStatus AS _CAInstallmentPlanStatus ON CAInstallmentPlanStatus = _CAInstallmentPlanStatus.CAInstallmentPlanStatus  -- association [1]
LEFT OUTER JOIN I_CAInstlmntPlanIntrstCalc AS _CAInstlmntPlanIntrstCalc ON CAInstlmntPlanIntrstCalcType = _CAInstlmntPlanIntrstCalc.CAInstlmntPlanIntrstCalcType  -- association [1]
LEFT OUTER JOIN I_CAInterestDueCategory AS _CAInterestDueCategory ON CAInterestDueCategory = _CAInterestDueCategory.CAInterestDueCategory  -- association [1]
LEFT OUTER JOIN I_Indicator AS _CAInstlmntPlnDeactivationType ON CAInstlmntPlanDeactivationType = _CAInstlmntPlnDeactivationType.IndicatorValue  -- association [1]
;