I_DebtInvestmentNominal

DDL: I_DEBTINVESTMENTNOMINAL SQL: IDBTINVESTNMNL Type: view COMPOSITE

Debt and Investment Nominal

I_DebtInvestmentNominal is a Composite CDS View that provides data about "Debt and Investment Nominal" in SAP S/4HANA. It reads from 1 data source (P_DebtInvestmentNominal) and exposes 31 fields with key fields CompanyCode, FinancialTransaction, SecurityAccount, SecurityClass. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_DebtInvestmentNominal P_DebtInvestmentNominal from

Parameters (3)

NameTypeDefault
P_KeyDate vdm_v_key_date
P_DisplayCurrency vdm_v_display_currency
P_ExchangeRateType kurst

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_FinancialTransaction _FinancialTransaction $projection.FinancialTransaction = _FinancialTransaction.FinancialTransaction and $projection.CompanyCode = _FinancialTransaction.CompanyCode
[1..1] I_FinancialinstrProductType _FinancialInstrProductType $projection.FinancialInstrumentProductType = _FinancialInstrProductType.FinancialInstrumentProductType
[1..1] I_FinancialInstrTransType _FinancialInstrTransType $projection.FinancialInstrumentProductType = _FinancialInstrTransType.FinancialInstrumentProductType and $projection.financialinstrtransactiontype = _FinancialInstrTransType.FinancialInstrTransactionType
[1..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[1..1] I_Currency _DisplayCurrency $projection.DisplayCurrency = _DisplayCurrency.Currency
[1..1] I_TrsyCshFlowDebtInvmtCode _TrsyCshFlowDebtInvmtCode $projection.TrsyCshFlowDebtInvmtCode = _TrsyCshFlowDebtInvmtCode.TrsyCshFlowDebtInvmtCode

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IDBTINVESTNMNL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AbapCatalog.preserveKey true view
EndUserText.label Debt and Investment Nominal view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FinancialTransaction FinancialTransaction Transaction
KEY SecurityAccount SecurityAccount
KEY SecurityClass SecurityClass
SecurityAccountGroup SecurityAccountGroup
FinancialInstrumentProductType FinancialInstrumentProductType
FinancialInstrTransactionType _FinancialTransaction FinancialInstrTransactionType
TreasuryFinancialObject _FinancialTransaction TreasuryFinancialObject
Counterparty _FinancialTransaction Counterparty Supplier
TreasuryContractType _FinancialInstrProductType TreasuryContractType Treasury Contract Type
Portfolio _FinancialTransaction Portfolio Portfolio
FinancialInstrProductCategory FinancialInstrProductCategory
TrsyCshFlowDebtInvmtCode TrsyCshFlowDebtInvmtCode
TransactionCurrency TransactionCurrency Transaction Currency
DisplayCurrency
NominalCurrency NominalCurrency
PositionCurrency PositionCurrency
NominalAmountInNominalCurrency NominalAmountInNominalCurrency
BookValueAmtInPositionCurrency BookValueAmtInPositionCurrency
_CompanyCode _CompanyCode
_FinancialTransaction _FinancialTransaction
_SecurityAccount _SecurityAccount
_SecurityClass _SecurityClass
_SecurityAccountGroup _SecurityAccountGroup
_FinancialInstrProductType _FinancialInstrProductType
_FinancialInstrTransType _FinancialInstrTransType
_TrsyCshFlowDebtInvmtCode _TrsyCshFlowDebtInvmtCode
_TransactionCurrency _TransactionCurrency
_DisplayCurrency _DisplayCurrency
_PositionCurrency _PositionCurrency
_NominalCurrency _NominalCurrency

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_DebtInvestmentNominal.
-- 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: IDBTINVESTNMNL
-- Parameters: P_KeyDate : vdm_v_key_date, P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst

CREATE VIEW I_DebtInvestmentNominal AS
SELECT
  CompanyCode,
  FinancialTransaction,
  SecurityAccount,
  SecurityClass,
  SecurityAccountGroup,
  FinancialInstrumentProductType,
  _FinancialTransaction.FinancialInstrTransactionType AS FinancialInstrTransactionType,
  _FinancialTransaction.TreasuryFinancialObject AS TreasuryFinancialObject,
  _FinancialTransaction.Counterparty AS Counterparty,
  _FinancialInstrProductType.TreasuryContractType AS TreasuryContractType,
  _FinancialTransaction.Portfolio AS Portfolio,
  FinancialInstrProductCategory,
  TrsyCshFlowDebtInvmtCode,
  TransactionCurrency,
  $parameters.P_DisplayCurrency AS DisplayCurrency,
  NominalCurrency,
  PositionCurrency,
  NominalAmountInNominalCurrency,
  BookValueAmtInPositionCurrency
FROM P_DebtInvestmentNominal
LEFT OUTER JOIN I_FinancialTransaction AS _FinancialTransaction ON FinancialTransaction = _FinancialTransaction.FinancialTransaction AND CompanyCode = _FinancialTransaction.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_FinancialinstrProductType AS _FinancialInstrProductType ON FinancialInstrumentProductType = _FinancialInstrProductType.FinancialInstrumentProductType  -- association [1..1]
LEFT OUTER JOIN I_FinancialInstrTransType AS _FinancialInstrTransType ON FinancialInstrumentProductType = _FinancialInstrTransType.FinancialInstrumentProductType AND financialinstrtransactiontype = _FinancialInstrTransType.FinancialInstrTransactionType  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _DisplayCurrency ON DisplayCurrency = _DisplayCurrency.Currency  -- association [1..1]
LEFT OUTER JOIN I_TrsyCshFlowDebtInvmtCode AS _TrsyCshFlowDebtInvmtCode ON TrsyCshFlowDebtInvmtCode = _TrsyCshFlowDebtInvmtCode.TrsyCshFlowDebtInvmtCode  -- association [1..1]
;