I_PubSecIntrstAccts

DDL: I_PUBSECINTRSTACCTS SQL: IPSMINTRSTACCT Type: view BASIC

Interest Apportionment Interest Accounts

I_PubSecIntrstAccts is a Basic CDS View that provides data about "Interest Apportionment Interest Accounts" in SAP S/4HANA. It reads from 2 data sources (psm_inta_header, psm_inta_acc_src) and exposes 8 fields with key fields InvestmentInterestAccountUUID, InvestmentPoolUUID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
psm_inta_header _IntrstApprtmt inner
psm_inta_acc_src IntrstAccts from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.InvestmentInterestAccount = _GLAccountInChartOfAccounts.GLAccount

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPSMINTRSTACCT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Interest Apportionment Interest Accounts view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY InvestmentInterestAccountUUID src_gl_uuid UUID
KEY InvestmentPoolUUID psm_inta_acc_src pool_uuid UUID
InvestmentPoolID psm_inta_header pool_id Pool ID
ChartOfAccounts chart_of_account Chart of Accts
InvestmentInterestAccount source_gl_account G/L Account
LocalLastChangeDateTime psm_inta_acc_src modified_on Last Modified on
GLAccountName
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts

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_PubSecIntrstAccts.
-- 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: IPSMINTRSTACCT

CREATE VIEW I_PubSecIntrstAccts AS
SELECT
  src_gl_uuid AS InvestmentInterestAccountUUID,
  IntrstAccts.pool_uuid AS InvestmentPoolUUID,
  _IntrstApprtmt.pool_id AS InvestmentPoolID,
  chart_of_account AS ChartOfAccounts,
  source_gl_account AS InvestmentInterestAccount,
  IntrstAccts.modified_on AS LocalLastChangeDateTime,
  _GLAccountInChartOfAccounts._Text[1:Language = $session.system_language].GLAccountName AS GLAccountName
FROM psm_inta_acc_src AS IntrstAccts
INNER JOIN psm_inta_header AS _IntrstApprtmt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND InvestmentInterestAccount = _GLAccountInChartOfAccounts.GLAccount  -- association [0..1]
;