I_InstallmentPlanEvent

DDL: I_INSTALLMENTPLANEVENT SQL: IINSTPLNEVT Type: view COMPOSITE Package: BEI_BASE

Installment Plan event data

I_InstallmentPlanEvent is a Composite CDS View that provides data about "Installment Plan event data" in SAP S/4HANA. It reads from 3 data sources (I_BhvrlInsgtsEvtConfign, I_AccountMasterData, I_BhvrlInsgtsInstallmentPlan) and exposes 22 fields with key field CustomerEventRecordID. Part of development package BEI_BASE.

Data Sources (3)

SourceAliasJoin Type
I_BhvrlInsgtsEvtConfign BhvrlInsgtsEvtConfign inner
I_AccountMasterData I_AccountMasterData inner
I_BhvrlInsgtsInstallmentPlan I_BhvrlInsgtsInstallmentPlan from

Parameters (1)

NameTypeDefault
P_BhvrlInsgtsAccountCategory bei_vktyp

Annotations (11)

NameValueLevelField
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName IINSTPLNEVT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XXL view
EndUserText.label Installment Plan event data view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY CustomerEventRecordID
BusinessPartner I_BhvrlInsgtsInstallmentPlan BusinessPartner Issuing Authority
BhvrlInsgtsEventNumber
BhvrlInsgtsEventName I_BhvrlInsgtsEvtConfign BhvrlInsgtsEventName
BhvrlInsgtsEventCategoryTxt I_BhvrlInsgtsEvtConfign BhvrlInsgtsEventCategoryTxt
CustomerEventStartDate I_BhvrlInsgtsInstallmentPlan CustomerEventStartDate Time Stamp
CustomerEventEndDate I_BhvrlInsgtsInstallmentPlan CustomerEventEndDate IP end date
CustomerEventStartDateTime
CustomerEventEndDateTime
OpenAmountInLocalCurrency
ClearedAmountInLocalCurrency
LocalCurrency LocalCurrency Local Currency
BhvrlInsgtsPeriodCode
BhvrlInsgtsPeriodCodeTxt
CustomerEventValue CAInstallmentPlanCategory IP category
CustomerEventValueTxt
BhvrlInsgtsAccountNumber ContractAccount Contract Acct
BhvrlInsgtsAccountName I_AccountMasterData BhvrlInsgtsAccountName
BhvrlInsgtsAccountCategory I_AccountMasterData BhvrlInsgtsAccountCategory
BhvrlInsgtsAccountCategoryTxt I_AccountMasterData BhvrlInsgtsAccountCategoryTxt
BhvrlInsgtsSubAccountNumber CAContract Contract
BhvrlInsgtsSubAccountName

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_InstallmentPlanEvent.
-- 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: IINSTPLNEVT
-- Parameters: P_BhvrlInsgtsAccountCategory : bei_vktyp

CREATE VIEW I_InstallmentPlanEvent AS
SELECT
  cast(concat('31', I_BhvrlInsgtsInstallmentPlan.CustomerEventRecordID) as abap.char(70)) AS CustomerEventRecordID,
  I_BhvrlInsgtsInstallmentPlan.BusinessPartner AS BusinessPartner,
  cast(31 as abap.int2) AS BhvrlInsgtsEventNumber,
  BhvrlInsgtsEvtConfign.BhvrlInsgtsEventName AS BhvrlInsgtsEventName,
  BhvrlInsgtsEvtConfign.BhvrlInsgtsEventCategoryTxt AS BhvrlInsgtsEventCategoryTxt,
  I_BhvrlInsgtsInstallmentPlan.CustomerEventStartDate AS CustomerEventStartDate,
  I_BhvrlInsgtsInstallmentPlan.CustomerEventEndDate AS CustomerEventEndDate,
  dats_tims_to_tstmp( I_BhvrlInsgtsInstallmentPlan.CustomerEventStartDate,'000000',abap_system_timezone( $session.client,'NULL' ),$session.client,'NULL') AS CustomerEventStartDateTime,
  dats_tims_to_tstmp(I_BhvrlInsgtsInstallmentPlan.CustomerEventEndDate,'000000',abap_system_timezone( $session.client,'NULL' ),$session.client,'NULL') AS CustomerEventEndDateTime,
  cast(0 as abap.curr( 13, 2 )) AS OpenAmountInLocalCurrency,
  cast(0 as abap.curr( 13, 2 )) AS ClearedAmountInLocalCurrency,
  LocalCurrency,
  cast('' as persl_kk) AS BhvrlInsgtsPeriodCode,
  '' AS BhvrlInsgtsPeriodCodeTxt,
  CAInstallmentPlanCategory AS CustomerEventValue,
  cast('' as abap.char( 100 )) AS CustomerEventValueTxt,
  ContractAccount AS BhvrlInsgtsAccountNumber,
  I_AccountMasterData.BhvrlInsgtsAccountName AS BhvrlInsgtsAccountName,
  I_AccountMasterData.BhvrlInsgtsAccountCategory AS BhvrlInsgtsAccountCategory,
  I_AccountMasterData.BhvrlInsgtsAccountCategoryTxt AS BhvrlInsgtsAccountCategoryTxt,
  CAContract AS BhvrlInsgtsSubAccountNumber,
  '' AS BhvrlInsgtsSubAccountName
FROM I_BhvrlInsgtsInstallmentPlan
INNER JOIN I_AccountMasterData ON /* join condition not captured in parsed metadata */
INNER JOIN I_BhvrlInsgtsEvtConfign AS BhvrlInsgtsEvtConfign ON /* join condition not captured in parsed metadata */
;